Skip to main content
This cheat sheet is a quick reference to the Solr query language. Use this syntax when querying Fusion via the Query API There are two ways to query a Fusion collection using the parameters below: Wildcards and regular expressions are supported.

Wildcards

Wildcards and regular expressions are supported.
  • ? Single-character wildcard
  • * Multi-character wildcard

Escape characters

Some characters in query fields must be escaped using a backslash \. Adding \ before the following includes them in the query as literal values:
  • ?
  • *
  • \
  • /
  • "
Queries against facets are case sensitive.

Common query parameters

Query examples

  1. Search only the title field in the “docs” collection for the term “solr”, and format the results as JSON:
  1. Use the following query with wildcards and character escaping in the Query Workbench to search for both BLU RAY MOVIES and CAMERA classes in the VIDEO/CD and PHOTO/CAMERA departments:
    • class_s:*RA* AND department_s:*O\/C*
  2. Use a movie collection to select the movie ID and rating where the rating is equal to 4.
  1. Search for movies with “black” in the title, starting at the 20th result for pagination, then return the results as XML: