On 14 August 2012 09:02, troya <adromeda.tr...@gmail.com> 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
> 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

You have to change the value of literal.id in between posts. Otherwise,
Solr is just updating the last document created with that ID.

Regards,
Gora

Reply via email to