mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
Lucene has a new `FeatureField` which gives the ability to record numeric features as term frequencies. Its main benefit is that it allows to boost queries with the values of these features and efficiently skip non-competitive documents at the same time using block-max WAND and indexed impacts.
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
[[specialized-queries]]
|
|
|
|
== Specialized queries
|
|
|
|
This group contains queries which do not fit into the other groups:
|
|
|
|
<<query-dsl-mlt-query,`more_like_this` query>>::
|
|
|
|
This query finds documents which are similar to the specified text, document,
|
|
or collection of documents.
|
|
|
|
<<query-dsl-script-query,`script` query>>::
|
|
|
|
This query allows a script to act as a filter. Also see the
|
|
<<query-dsl-function-score-query,`function_score` query>>.
|
|
|
|
<<query-dsl-percolate-query,`percolate` query>>::
|
|
|
|
This query finds queries that are stored as documents that match with
|
|
the specified document.
|
|
|
|
<<query-dsl-feature-query,`feature` query>>::
|
|
|
|
A query that computes scores based on the values of numeric features and is
|
|
able to efficiently skip non-competitive hits.
|
|
|
|
<<query-dsl-wrapper-query,`wrapper` query>>::
|
|
|
|
A query that accepts other queries as json or yaml string.
|
|
|
|
include::mlt-query.asciidoc[]
|
|
|
|
include::script-query.asciidoc[]
|
|
|
|
include::percolate-query.asciidoc[]
|
|
|
|
include::feature-query.asciidoc[]
|
|
|
|
include::wrapper-query.asciidoc[]
|