-
-
Save crutch/04cd5acbd84eee04d683 to your computer and use it in GitHub Desktop.
match_phrase_prefix broken in 1.1.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" | |
} | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment