Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhraseSuggester: Collate option should allow returning phrases with no matching docs #6927

Closed
areek opened this issue Jul 18, 2014 · 0 comments · Fixed by #6929
Closed

PhraseSuggester: Collate option should allow returning phrases with no matching docs #6927

areek opened this issue Jul 18, 2014 · 0 comments · Fixed by #6929

Comments

@areek
Copy link
Contributor

areek commented Jul 18, 2014

Currently collate option in PhraseSuggester only filters out phrases that did not match any documents. It would be useful if it also allowed returning all the generated phrases with some indicator to whether there were any doc matches for the entries.

Related #3482

@areek areek self-assigned this Jul 18, 2014
areek added a commit to areek/elasticsearch that referenced this issue Jul 22, 2014
…o matching docs

A new option `prune` has been added to allow users to control phrase suggestion pruning when `collate`
is set. If the new option is set, the phrase suggestion option will contain a boolean `collate_match`
indicating whether the respective result had hits in collation.

CLoses elastic#6927
areek added a commit that referenced this issue Jul 22, 2014
…o matching docs

A new option `prune` has been added to allow users to control phrase suggestion pruning when `collate`
is set. If the new option is set, the phrase suggestion option will contain a boolean `collate_match`
indicating whether the respective result had hits in collation.

CLoses #6927
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant