"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "solr/solr-ref-guide/src/the-extended-dismax-query-parser.adoc" between
solr-8.4.0-src.tgz and solr-8.4.1-src.tgz

About: Solr is the search platform from the Apache Lucene project. Its major features include full-text search, hit highlighting, faceted search, caching, replication, and a web admin interface.

the-extended-dismax-query-parser.adoc  (solr-8.4.0-src.tgz):the-extended-dismax-query-parser.adoc  (solr-8.4.1-src.tgz)
skipping to change at line 57 skipping to change at line 57
* The default `mm` value is 100% if `q.op` is "AND" and the query does not conta in any explicit operators other than "AND". * The default `mm` value is 100% if `q.op` is "AND" and the query does not conta in any explicit operators other than "AND".
`mm.autoRelax`:: `mm.autoRelax`::
If `true`, the number of clauses required (<<the-dismax-query-parser.adoc#mm-min imum-should-match-parameter,minimum should match>>) will automatically be relaxe d if a clause is removed (by e.g., stopwords filter) from some but not all <<the -dismax-query-parser.adoc#qf-query-fields-parameter,`qf`>> fields. Use this para meter as a workaround if you experience that queries return zero hits due to une ven stopword removal between the `qf` fields. If `true`, the number of clauses required (<<the-dismax-query-parser.adoc#mm-min imum-should-match-parameter,minimum should match>>) will automatically be relaxe d if a clause is removed (by e.g., stopwords filter) from some but not all <<the -dismax-query-parser.adoc#qf-query-fields-parameter,`qf`>> fields. Use this para meter as a workaround if you experience that queries return zero hits due to une ven stopword removal between the `qf` fields.
+ +
Note that relaxing `mm` may cause undesired side effects, such as hurting the pr ecision of the search, depending on the nature of your index content. Note that relaxing `mm` may cause undesired side effects, such as hurting the pr ecision of the search, depending on the nature of your index content.
`boost`:: `boost`::
A multivalued list of strings parsed as <<function-queries.adoc#available-functi ons,functions>> whose results will be multiplied into the score from the main qu ery for all matching documents. This parameter is shorthand for wrapping the que ry produced by eDisMax using the <<other-parsers.adoc#boost-query-parser,`BoostQ ParserPlugin`>>. A multivalued list of strings parsed as <<function-queries.adoc#available-functi ons,functions>> whose results will be multiplied into the score from the main qu ery for all matching documents. This parameter is shorthand for wrapping the que ry produced by eDisMax using the <<other-parsers.adoc#boost-query-parser,`BoostQ ParserPlugin`>>.
These two examples are equivilent: These two examples are equivalent:
[source,text] [source,text]
---- ----
q={!edismax qf=name}ipod q={!edismax qf=name}ipod
boost=div(1,sum(1,price)) boost=div(1,sum(1,price))
---- ----
[source,text] [source,text]
---- ----
q={!boost b=div(1,sum(1,price)) v=$qq} q={!boost b=div(1,sum(1,price)) v=$qq}
qq={!edismax qf=name}ipod qq={!edismax qf=name}ipod
---- ----
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)