-
Notifications
You must be signed in to change notification settings - Fork 25.2k
v5 Completion suggester error #20160
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
Comments
Hi @shavo007 Thanks for reporting. The reason for this exception was that the completion suggester was returning doc values as the Since alpha5 we have changed it to return the original document instead (#19536) and removed the payload option (#19877) |
Additionally, we'll need to mark the blog as deprecated so others don't trip up on this. I'll take care of that. Thanks @shavo007 |
hi guys, Thanks for the quick response. Is the doc wrong and I cannot use payload in the query? #19536 example shows the src returned in the response. if i take out payload i get this response:
|
BTW, do I get a gift package as part of the pioneer program..... 😛 |
The doc is wrong, thanks for pointing that out :) @shavo007, will fix this |
I tested the example here: The response I get is different:
|
no worries. looks like the docs are out of sync in a few places... |
Elasticsearch version:
5.0.0-alpha5
Plugins installed: []
JVM version:
1.8
OS version:
Mac OS X El Capitan
Description of the problem including expected versus actual behavior:
https://www.elastic.co/guide/en/elasticsearch/reference/master/search-suggesters-completion.html
I was trying to uplift the below blog entry:
https://www.elastic.co/blog/you-complete-me
Steps to reproduce:
Simple hotels index with type hotels
Index creation
Hotel doc
Suggest query is
Error is:
Thanks,
Shane.
The text was updated successfully, but these errors were encountered: