O'Reilly logo

Apache Solr 3 Enterprise Search Server by Eric Pugh, David Smiley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Query parameters

There are a great number of request parameters for configuring Solr searches, especially when considering all of the components like faceting and highlighting. Only the core search parameters not specific to any query parser are listed here. Furthermore, in-depth explanations for some lie further in the chapter.

Note

For the boolean parameters , a true value can be any one of true, on, or yes. False values can be any of false, off, and no.

Search criteria related parameters

The parameters affecting the query are as follows:

  • q: The user query or just "query" for short. This typically originates directly from user input. The query syntax is determined by the defType parameter.
  • defType: A reference to the query parser for the user query ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required