Reputation: 8678
I want to add a documents information in solr so that I can search it for a case. How I can do it?
Upvotes: 1
Views: 1512
Reputation: 8678
There is a file post.sh (or post.jar) in example/exampledoc
in solr. Your document should be in xml, csv,json formats that you want to index.then run the following command to index data in solr.
./post.sh myfile.xml
you can also use post.jar. For further help, consult here
Upvotes: 0
Reputation: 2111
The easiest way to add documents to a Solr core is using the administration console:
http://solr-host:port/solr/
Upvotes: 1