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: Monday, August 13, 2012 11:32 PM
To: solr-user@lucene.apache.org
Subject: Indexing thousands file on solr

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
upload them one by one ?

i've tried using curl command like bellow :

java -Durl=http://localhost:8906/solr/update/extract?literal.id=PPN
-Dtype=text/html -jar post.jar *.htm

But when i search it, only one file appear.Not all of them.


Help me to solve this

Thanks



--
View this message in context: http://lucene.472066.n3.nabble.com/Indexing-thousands-file-on-solr-tp4001050.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to