lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <jan....@cominvent.com>
Subject Re: indexing Text file in solr
Date Tue, 29 Jan 2013 22:07:38 GMT
If you're lucky, the file has a format suitable for the CSV update handler http://wiki.apache.org/solr/UpdateCSV
Note that if your file does not containt unique ID, you can generate those http://wiki.apache.org/solr/UniqueKey
You can then use CURL or http://wiki.apache.org/solr/post.jar to index it

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com

27. jan. 2013 kl. 11:23 skrev hadyelsahar <hadyelsahar@gmail.com>:

> i have a large Arabic Text File that contains Tweets each line contains one
> tweet , that i want to index in solr such that each line of this document
> should be indexed in a separate solr document
> 
> what i tried so far :
> 
> i know how to SQL databse records in solr
> i know how to change solr schema to fit the data and working with Data
> import handler
> i know how the queries used to index data in solr
> what i want is :
> 
> know how to index text file in solr in order that each line is considered a
> solr document
> 
> 
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/indexing-Text-file-in-solr-tp4036496.html
> Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message