"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "solr/solr-ref-guide/src/other-parsers.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.

other-parsers.adoc  (solr-8.4.0-src.tgz):other-parsers.adoc  (solr-8.4.1-src.tgz)
skipping to change at line 207 skipping to change at line 207
{!bool must=foo must=bar} {!bool must=foo must=bar}
---- ----
[source,text] [source,text]
---- ----
{!bool filter=foo should=bar} {!bool filter=foo should=bar}
---- ----
== Boost Query Parser == Boost Query Parser
`BoostQParser` extends the `QParserPlugin` and creates a boosted query from the `BoostQParser` extends the `QParserPlugin` and creates a boosted query from the
input value. The main value is any query to be "wrapped" and "boosted" -- only d input value. The main value is any query to be "wrapped" and "boosted" -- only d
ocuments which match that query will match the final query produced by this part ocuments which match that query will match the final query produced by this pars
er. Parameter `b` is a <<function-queries.adoc#available-functions,function>> t er.
o be evaluted against each document that matches the original query, and the res Parameter `b` is a <<function-queries.adoc#available-functions,function>> to be
ult of the function will be multiplied into into the final score for that docume evaluated against each document that matches the original query, and the result
nt. of the function will be multiplied into into the final score for that document.
=== Boost Query Parser Examples === Boost Query Parser Examples
Creates a query `name:foo` which is boosted (scores are multiplied) by the funct ion query `log(popularity)`: Creates a query `name:foo` which is boosted (scores are multiplied) by the funct ion query `log(popularity)`:
[source,text] [source,text]
---- ----
q={!boost b=log(popularity)}name:foo q={!boost b=log(popularity)}name:foo
---- ----
 End of changes. 1 change blocks. 
7 lines changed or deleted 7 lines changed or added

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