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

-Michael

Reply via email to