- Enter query parameters in the Query Workbench or the Quickstart.
- Append query parameters to the
/query/{id}endpoint.
Wildcards
?Single-character wildcard*Multi-character wildcard
Common query parameters
See also the Solr facet parameters documentation.
Query examples
- Search only the
titlefield in the “docs” collection for the term “solr”, and format the results as JSON:
-
Use the following query with wildcards and character escaping in the Query Workbench to search for both
BLU RAY MOVIESandCAMERAclasses in theVIDEO/CDandPHOTO/CAMERAdepartments:class_s:*RA* AND department_s:*O\/C*
- Use a movie collection to select the movie ID and rating where the rating is equal to 4.
- Search for movies with “black” in the title, starting at the 20th result for pagination, then return the results as XML: