curl -XGET 'http://localhost:9200/document/_search?pretty=true' -d '{
"query" : { "query_string" : { "query": "assistance in voting" }},
"highlight" : {
"fields" : {
"text" : {}
}
}
}'
curl http://localhost:8983/solr/update --data '<delete><query>*:*</query></delete>' -H 'Content-type:text/xml; charset=utf-8' curl http://localhost:8983/solr/update --data '<commit/>' -H 'Content-type:text/xml; charset=utf-8'
http://localhost:8983/solr/update?stream.body=<delete><query>*:*</query></delete> http://localhost:8983/solr/update?stream.body=<commit/>