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.
                           ==@==@==@==@==@==@==@==@==

Comments

Popular posts from this blog

Setup Nginx as a Reverse Proxy for Thingsboard running on different port/server

How to auto re-launch a YARN Application Master on a failure.

Read JSON File in Cassandra