Ask a Question
Advertise on boostr.in
boostr.in questions - Question:hwo to make query in solr for search the data from solr database?
Searches are done via HTTP GET on the select URL with the query string in the q parameter. You can pass a number of optional request parameters to the request handler to control what information is returned. For example, you can use the "fl" parameter to control what stored fields are returned, and if the relevancy score is returned:
Â Â Â Â q=video&fl=name,id (return only name and id fields)
Â Â Â Â q=video&fl=name,id,score (return relevancy score as well)
Â Â Â Â q=video&fl=*,score (return all stored fields, as well as relevancy score)
Â Â Â Â q=video&sort=price desc&fl=name,id,price (add sort specification: sort by price descending)
Â Â Â Â q=video&wt=json (return response in JSON format)
The query form provided in the web admin interface allows setting various request parameters and is useful when testing or debugging queries.
Sep 13, 2013
Sep 12, 2013
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please