crutch
March 26, 2014, 12:39pm
1
Hello everyone,
I am using match_phrase_prefix query and was surprised that after updating
to 1.1.0 my tests got broken.
Here is a small test case which works on 1.0.2 (returns a hit) and fails (0
hits) on 1.1.0.
es_match_phrase_prefix.sh
# 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
This file has been truncated. show original
I did not find any mention about breaking changes concerning
match_phrase_prefix on a web page...
Is there something I have missed or is it a bug?
--
Michal Barla
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0bfc9aaa-4df9-45d6-988a-b7e8a2b17fed%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
Binh_Ly_2
(Binh Ly-2)
March 26, 2014, 1:49pm
2
Yes, it's a bug and will be fixed shortly. Related to this:
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/03a290c6-4835-4bf7-968e-b81f7361e639%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
crutch
March 26, 2014, 2:00pm
3
OK, thanks. I've found that #5437 (it is linked from release notes) but
since it is discussing slopes I did not consider it relevant for my case.
On Wednesday, March 26, 2014 2:49:35 PM UTC+1, Binh Ly wrote:
Yes, it's a bug and will be fixed shortly. Related to this:
match_phrase_prefix no longer supports slop · Issue #5437 · elastic/elasticsearch · GitHub
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/45b1cd17-8c90-4146-b221-3e255a5b37cf%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
Binh_Ly_2
(Binh Ly-2)
March 26, 2014, 2:09pm
4
I will open another issue for this shortly.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f928611e-47af-4e3a-98b0-0b0baa29b628%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
simonw_2
(simonw-2)
March 26, 2014, 2:17pm
5
It's actually unrelated to this issue mentioned above. It got broken due
to Added `cross_fields` type to multi_match query by s1monw · Pull Request #5005 · elastic/elasticsearch · GitHub
and there is an issue open
here: match_phrase_prefix broken · Issue #5551 · elastic/elasticsearch · GitHub a fix is
right here: Convert TermQuery to PrefixQuery if PHRASE_PREFIX is set by s1monw · Pull Request #5553 · elastic/elasticsearch · GitHub
simon
On Wednesday, March 26, 2014 3:00:28 PM UTC+1, Michal Barla wrote:
OK, thanks. I've found that #5437 (it is linked from release notes) but
since it is discussing slopes I did not consider it relevant for my case.
On Wednesday, March 26, 2014 2:49:35 PM UTC+1, Binh Ly wrote:
Yes, it's a bug and will be fixed shortly. Related to this:
match_phrase_prefix no longer supports slop · Issue #5437 · elastic/elasticsearch · GitHub
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/dbcdb2ae-d030-4b25-b6d1-a47e7f15986b%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .