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

match_phrase_prefix broken #5551

Closed
bly2k opened this issue Mar 26, 2014 · 0 comments · Fixed by #5553
Closed

match_phrase_prefix broken #5551

bly2k opened this issue Mar 26, 2014 · 0 comments · Fixed by #5553

Comments

@bly2k
Copy link
Contributor

bly2k commented Mar 26, 2014

This breaks in 1.1:

Creation of an index and one document in it

curl -XPOST 'localhost:9200/twitter/tweet/1' -d '
{
"user" : "kimchy",
"post_date" : "2009-11-15T14:12:12",
"message" : "trying out Elasticsearch"
}'

Following will work on 1.0.2 but fail on 1.1.0

curl -XPOST 'localhost:9200/twitter/tweet/_search' -d '
{
"query": {
"match_phrase_prefix": {
"message": "try"
}
}
}'
@bly2k bly2k added bug labels Mar 26, 2014
@s1monw s1monw self-assigned this Mar 26, 2014
@s1monw s1monw closed this as completed in a12a36e Mar 26, 2014
s1monw added a commit that referenced this issue Mar 26, 2014
We miss to add a single term to a prefix query if the query in only a
single term.

Closes #5551
s1monw added a commit that referenced this issue Mar 26, 2014
We miss to add a single term to a prefix query if the query in only a
single term.

Closes #5551
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
We miss to add a single term to a prefix query if the query in only a
single term.

Closes elastic#5551
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants