[BUG?] match_phrase_prefix failing on v1.1.0, working on 1.0.2

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.

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.

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.

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.

I will open another issue for this shortly. :slight_smile:

--
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.

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.