Skip to content

Search enhancement: pinned queries (#44345)#45657

Merged
markharwood merged 3 commits intoelastic:7.xfrom
markharwood:fix/44074v7x
Aug 20, 2019
Merged

Search enhancement: pinned queries (#44345)#45657
markharwood merged 3 commits intoelastic:7.xfrom
markharwood:fix/44074v7x

Conversation

@markharwood
Copy link
Copy Markdown
Contributor

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

@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search

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 elastic#44074
@markharwood markharwood merged commit 7d5ab17 into elastic:7.x Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants