Scaling Big Data with Hadoop and Solr Second Edition by Karambelkar Hrishikesh Vijay

Scaling Big Data with Hadoop and Solr Second Edition by Karambelkar Hrishikesh Vijay

Author:Karambelkar, Hrishikesh Vijay
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2015-04-27T04:00:00+00:00


Tip

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Adding a document to SolrCloud

To add a document in Solr, you can simply choose any node part of your cluster and run the following command:

curl http://node1:8983/solr/update/json -H 'Content-type:application/json' -d ' [ {"id" : "1", "text" : "This is a test document"}]'



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.