OpenSearch/docs/reference/query-dsl
markharwood 7d5ab17bb2
Search enhancement: pinned queries (#44345) (#45657)
* Search enhancement: pinned queries (#44345)

Search enhancement: - new query type allows selected documents to be promoted above any "organic” search results.
This is the first feature in a new module `search-business-rules` which will house licensed (non OSS) logic for rewriting queries according to business rules.
The PinnedQueryBuilder class offers a new `pinned` query in the DSL that takes an array of promoted IDs and an “organic” query and ensures the documents with the promoted IDs rank higher than the organic matches.

Closes #44074
2019-08-20 11:38:22 +01:00
..
bool-query.asciidoc [DOCS] Update anchors and links for Elasticsearch API relocation (#44500) 2019-07-19 09:18:23 -04:00
boosting-query.asciidoc [DOCS] Update relevance score cross-references (#45092) 2019-08-02 14:15:34 -04:00
common-terms-query.asciidoc Deprecate CommonTermsQuery and cutoff_frequency (#42619) (#42691) 2019-05-30 18:04:47 +02:00
compound-queries.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
constant-score-query.asciidoc [DOCS] Update relevance score cross-references (#45092) 2019-08-02 14:15:34 -04:00
dis-max-query.asciidoc [DOCS] Update relevance score cross-references (#45092) 2019-08-02 14:15:34 -04:00
distance-feature-query.asciidoc [DOCS] Update relevance score cross-references (#45092) 2019-08-02 14:15:34 -04:00
exists-query.asciidoc [DOCS] Update parameter format (#44703) 2019-07-31 14:18:55 -04:00
full-text-queries.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
function-score-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
fuzzy-query.asciidoc [DOCS] Rewrite `fuzzy` query docs (#42078) 2019-08-14 13:07:29 -04:00
geo-bounding-box-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
geo-distance-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
geo-polygon-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
geo-queries.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
geo-shape-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
has-child-query.asciidoc [DOCS] Update relevance score cross-references (#45092) 2019-08-02 14:15:34 -04:00
has-parent-query.asciidoc [DOCS] Reformat `has_parent` query docs (#44443) 2019-07-19 10:51:11 -04:00
ids-query.asciidoc [DOCS] Update parameter format (#44703) 2019-07-31 14:18:55 -04:00
intervals-query.asciidoc [DOCS] Reformats interval query (#45350) 2019-08-09 08:53:47 -04:00
joining-queries.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
match-all-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
match-bool-prefix-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
match-phrase-prefix-query.asciidoc [DOCS] Reformat match phrase prefix query (#45209) 2019-08-06 14:02:07 -04:00
match-phrase-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
match-query.asciidoc [DOCS] Reformat query string query (#45296) 2019-08-12 11:18:00 -04:00
minimum-should-match.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
mlt-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
multi-match-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
multi-term-rewrite.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
nested-query.asciidoc [DOCS] Update relevance score cross-references (#45092) 2019-08-02 14:15:34 -04:00
parent-id-query.asciidoc [DOCS] Reformat `parent_id` query docs (#44449) 2019-07-19 11:03:45 -04:00
percolate-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
pinned-query.asciidoc Search enhancement: pinned queries (#44345) (#45657) 2019-08-20 11:38:22 +01:00
prefix-query.asciidoc [DOCS] Rewrite `prefix` query docs (#41955) 2019-07-29 08:37:14 -04:00
query-string-query.asciidoc [DOCS] Reformat query string query (#45296) 2019-08-12 11:18:00 -04:00
query-string-syntax.asciidoc [DOCS] Reformat query string query (#45296) 2019-08-12 11:18:00 -04:00
query_filter_context.asciidoc [DOCS] Reformat rank feature query. Add relevance score section. (#44975) 2019-07-31 14:31:50 -04:00
range-query.asciidoc [DOCS] Update relevance score cross-references (#45092) 2019-08-02 14:15:34 -04:00
rank-feature-query.asciidoc [DOCS] Reformat rank feature query. Add relevance score section. (#44975) 2019-07-31 14:31:50 -04:00
regexp-query.asciidoc [DOCS] Rewrite `regexp` query (#42711) 2019-07-24 08:38:41 -04:00
regexp-syntax.asciidoc [DOCS] Rewrite `regexp` query (#42711) 2019-07-24 08:38:41 -04:00
script-query.asciidoc [DOCS] Reformat script query (#44882) 2019-07-29 09:59:36 -04:00
script-score-query.asciidoc [DOCS] Reformat script score query (#45087) 2019-08-01 12:23:35 -04:00
shape-queries.asciidoc [SPATIAL] Backport new ShapeFieldMapper and ShapeQueryBuilder to 7x (#45363) 2019-08-14 16:35:10 -05:00
shape-query.asciidoc [SPATIAL] Backport new ShapeFieldMapper and ShapeQueryBuilder to 7x (#45363) 2019-08-14 16:35:10 -05:00
simple-query-string-query.asciidoc [DOCS] Reformats simple query string query (#45343) 2019-08-09 08:33:05 -04:00
span-containing-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
span-field-masking-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
span-first-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
span-multi-term-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
span-near-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
span-not-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
span-or-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
span-queries.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
span-term-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
span-within-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
special-queries.asciidoc Search enhancement: pinned queries (#44345) (#45657) 2019-08-20 11:38:22 +01:00
term-level-queries.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00
term-query.asciidoc [DOCS] Update relevance score cross-references (#45092) 2019-08-02 14:15:34 -04:00
terms-query.asciidoc [DOCS] Update relevance score cross-references (#45092) 2019-08-02 14:15:34 -04:00
terms-set-query.asciidoc [DOCS] Update parameter format (#44703) 2019-07-31 14:18:55 -04:00
type-query.asciidoc [DOCS] Reword `type` query deprecation note for Asciidoctor migration (#41595) 2019-05-01 09:29:05 -04:00
wildcard-query.asciidoc [DOCS] Update relevance score cross-references (#45092) 2019-08-02 14:15:34 -04:00
wrapper-query.asciidoc [DOCS] Make Query DSL titles consistent (#43935) 2019-07-18 10:33:10 -04:00