Hi All,
I ma using HTTP/JSON to search my documents in Solr. Now the client provides 
the query on which the search is based.
What is a good way to validate the query string provided by the user.

On the other hand, if I want the user to build this query using some Solr api 
instead of preparing a lucene query string which API can I use for this?
I looked into
SolrQuery in SolrJ but it does not appear to have a way to specify the more 
complex queries with the boolean operators and operators such as ~,+,- etc.

Basically, I am trying to avoid running into bad query strings built by the 
caller.

Thanks!
Dipti

________________________________
This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

Reply via email to