Re: Indexing thousands file on solr

2012-08-14 Thread Bing Hua
You may write a client using solrj and loop through all files in that folder. Something like, ContentStreamUpdateRequest up = new ContentStreamUpdateRequest("/update/extract"); up.addFile(new File(fileLocation), null); ModifiableSolrParams p = new ModifiableSolrParams(); p.add("literal.id", str);

Re: Indexing thousands file on solr

2012-08-14 Thread Jack Krupansky
The new 4.0 branch has a greatly improved post tool that handles directories for SolrCell. And it will generate the default IDs for you. See: http://wiki.apache.org/solr/ExtractingRequestHandler#SimplePostTool_.28post.jar.29 -- Jack Krupansky -Original Message- From: troya Sent: Mond

Re: Indexing thousands file on solr

2012-08-14 Thread Gora Mohanty
On 14 August 2012 09:02, troya wrote: > HI All, > > I have thousands file on some folder which i want to index using solr. > Firstly my file only 9 until 20 file, so i upload them manually into solr > using curl. > > But Now, my file is thousands file, how i can index it using solr ? should i > up