Solr document update
updating csv document in solr
[user@localhost exampledocs]$ curl http://localhost:8983/solr/update/csv --data-
binary @books.csv -H 'Content-type:text/plain; charset=utf-8'
after above command you will see like this:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">60</int></lst>
</response>
[user@localhost exampledocs]$ curl http://localhost:8983/solr/update/csv --data-binary @books.csv -H 'Content-type:text/plain; charset=utf-8'
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">61</int></lst>
</response>
[user@localhost exampledocs]$
means data is updating..
i am also working on this so i'll change/update it after a while.
==@==@==@==@==@==@==@==@==
[user@localhost exampledocs]$ curl http://localhost:8983/solr/update/csv --data-
binary @books.csv -H 'Content-type:text/plain; charset=utf-8'
after above command you will see like this:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">60</int></lst>
</response>
[user@localhost exampledocs]$ curl http://localhost:8983/solr/update/csv --data-binary @books.csv -H 'Content-type:text/plain; charset=utf-8'
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">61</int></lst>
</response>
[user@localhost exampledocs]$
means data is updating..
i am also working on this so i'll change/update it after a while.
==@==@==@==@==@==@==@==@==
Comments
Post a Comment