You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hasan Emre ERKEK (JIRA)" <ji...@apache.org> on 2014/02/05 16:56:09 UTC

[jira] [Comment Edited] (SOLR-5248) Data Import Handler support for Twitter

    [ https://issues.apache.org/jira/browse/SOLR-5248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847556#comment-13847556 ] 

Hasan Emre ERKEK edited comment on SOLR-5248 at 2/5/14 3:55 PM:
----------------------------------------------------------------

example of data-config.xml

{code:xml}
    <dataConfig>
  <document>
    <entity processor="edu.anadolu.solr.handler.dataimport.TwitterEntityProcessor" name="t" 
			oAuthAccessTokenSecret="{twitter.oAuthAccessTokenSecret}" 
			oAuthAccessToken="{twitter.oAuthAccessTokenSecret}" 
			oAuthConsumerKey="{twitter.oAuthAccessTokenSecret}" 
			oAuthConsumerSecret="{twitter.oAuthAccessTokenSecret}" 
			type="filter"
			tracks="anadolu üniversitesi,eskişehir"
			dataSource="null">
			
		<field column="html"            name="html" 			stripHTML="true"										/>
		<field column="lastEditDate" 			template="'${dataimporter.last_index_time}'" 								/>
			
		
		
	</entity>
  </document>
</dataConfig>
{code}


was (Author: heerkek):
example of data-config.xml

> Data Import Handler support for Twitter
> ---------------------------------------
>
>                 Key: SOLR-5248
>                 URL: https://issues.apache.org/jira/browse/SOLR-5248
>             Project: Solr
>          Issue Type: New Feature
>          Components: contrib - DataImportHandler
>    Affects Versions: 4.4
>            Reporter: Hasan Emre ERKEK
>            Priority: Minor
>              Labels: DIH, Twitter
>         Attachments: SOLR-5248.patch, data-config.xml
>
>
> The Twitter Entity Processor allows index twitter stream using Solr



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org