The Twitter connector allows you to perform 'anonymous' (no Twitter user account required) searches using the public Twitter search service. Twitter searches may be limited in volume and weighted according to whatever Twitter deems important - for example, tweets that are both recent and popular. Twitter does not generally allow exhaustive searches of all historic tweets.
Most special symbols that are used in Twitter searches, such as the hash and at symbols, are passed through to the Twitter connector so that queries that typically work on Twitter's own public search site will work the same from within Perceptive Enterprise Search. Refer to Twitter's own instructions for more information about performing searches on Twitter.
The Twitter connector also performs some modifications to queries so that common Perceptive Enterprise Search idioms are translated to corresponding Twitter idioms. The table below explains the changes that are made.
Perceptive Enterprise Search | Query Sent to Twitter |
---|---|
John IN author | author:John |
dogs NOT cats | dogs -cats |
To create a Twitter connector, open the Perceptive Enterprise Search Administration Console:
You can edit the Twitter.xml configuration file to create mappings from the usual Perceptive Enterprise Search keywords to Twitter-specific keywords.
<!-- Map --> <property name="Map.author" value="from"/>
In the above excerpt from Twitter.xml, a mapping has been created from the Perceptive Enterprise Search "from" keyword to the Twitter "author" keyword. This allows users to perform a search for John IN from and effectively perform a Twitter search where John is the author of the tweet. You may add additional mappings to this file, ensuring that the name item always starts with "Map.".