11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

emoved (by e.g. stopwords filter) from some but not all qf fields. Use this parameter as a workaround if you<br />

experience that queries return zero hits due to uneven stopword removal between the qf fields.<br />

Note that relaxing mm may cause undesired side effects, hurting the precision of the search, depending on the<br />

nature of your index content.<br />

The boost Parameter<br />

A multivalued list of strings parsed as queries with scores multiplied by the score from the main query for all<br />

matching documents. This parameter is shorthand for wrapping the query produced by eDisMax using the Boos<br />

tQParserPlugin<br />

The lowercaseOperators Parameter<br />

A Boolean parameter indicating if lowercase "and" and "or" should be treated the same as operators "AND" and<br />

"OR".<br />

The ps Parameter<br />

Default amount of slop on phrase queries built with pf, pf2 and/or pf3 fields (affects boosting).<br />

The pf2 Parameter<br />

A multivalued list of fields with optional weights, based on pairs of word shingles.<br />

The ps2 Parameter<br />

This is similar to ps but overrides the slop factor used for pf2. If not specified, ps is used.<br />

The pf3 Parameter<br />

A multivalued list of fields with optional weights, based on triplets of word shingles. Similar to pf, except that<br />

instead of building a phrase per field out of all the words in the input, it builds a set of phrases for each field out<br />

of each triplet of word shingles.<br />

The ps3 Parameter<br />

This is similar to ps but overrides the slop factor used for pf3. If not specified, ps is used.<br />

The stopwords Parameter<br />

A Boolean parameter indicating if the StopFilterFactory configured in the query analyzer should be<br />

respected when parsing the query: if it is false, then the StopFilterFactory in the query analyzer is ignored.<br />

The uf Parameter<br />

Specifies which schema fields the end user is allowed to explicitly query. This parameter supports wildcards. The<br />

default is to allow all fields, equivalent to uf=* . To allow only title field, use uf=title. To allow title and all<br />

fields ending with _s, use uf=title,*_s. To allow all fields except title, use uf=*-title. To disallow all<br />

fielded searches, use uf=-* .<br />

Field aliasing using per-field qf overrides<br />

Per-field overrides of the qf parameter may be specified to provide 1-to-many aliasing from field names specified<br />

in the query string, to field names used in the underlying query. By default, no aliasing is used and field names<br />

specified in the query string are treated as literal field names in the index.<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

266

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!