lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidworks.com>
Subject Re: Nested queries with proximity/slop
Date Wed, 20 Mar 2013 03:12:54 GMT
On Tue, Mar 19, 2013 at 8:52 PM, Michael Ryan <mryan@moreover.com> wrote:
> I was wondering if anyone is aware of an existing Jira for this bug...
>
> _query_:"\"a b\"~2"
> ...is parsed as...
> PhraseQuery(someField:"a b")
> ...instead of the expected...
> PhraseQuery(someField:"a b"~2)
>
> _query_:"\"a b\""~2
> ...is parsed as...
> PhraseQuery(someField:"a b"~2)
>
> _query_:"\"a b\"~2"~3
> ...is parsed as...
> PhraseQuery(someField:"a b"~3)
>
> Basically, if a nested query produces a PhraseQuery with slop, the slop is overridden
(or set to 0) by the slop on the magic _query_ field (of course, having slop on the _query_
field would make no sense).
>
> Looked around in Jira, but couldn't find this having been reported. I guess it is just
a bit esoteric...

Definitely looks like a bug that I haven't seen before.   Could you
open a JIRA issue for this?

-Yonik
http://lucidworks.com

Mime
View raw message