You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When executing match_pharse_prefix query on a text field with multiple values and with setting index_prefixed, the documents which should be hit are not returned, but if the search keyword hits the first element in the text field, the document will be returned.
To Reproduce
Steps to reproduce the behavior:
Create a index with a text field which set index_prefixes using default properties.
Add another doc, change the order of elements in the field applications.name, execute the query in step 3, this document will be returned.
POST test11/_doc/3?refresh
{
"platform_name": "Red Hat",
"applications.name": ["bind-libs","python-libs"]
}
Expected behavior
Return the document not matter the order of the elements in the text field when executing match_phrase_prefix query.
In addition, match_phrase query works well in this case.
Host/Environment (please complete the following information):
OS: [macOS]
Version [2.9]
The text was updated successfully, but these errors were encountered:
Describe the bug
When executing match_pharse_prefix query on a text field with multiple values and with setting index_prefixed, the documents which should be hit are not returned, but if the search keyword hits the first element in the text field, the document will be returned.
To Reproduce
Steps to reproduce the behavior:
index_prefixes
using default properties.Expected behavior
Return the document not matter the order of the elements in the text field when executing match_phrase_prefix query.
In addition, match_phrase query works well in this case.
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: