On Thursday 05 January 2006 19:33, Marc Hadfield wrote:
>
> Thanks Erik, Hoss -
>
> I will try MultiPhraseQuery and report back.
>
> Back in an email thread with Doug be mentioned SpanQuery would work, and
> in a fashion it does, but I can't differentiate between terms at the
> same position a
Thanks Erik, Hoss -
I will try MultiPhraseQuery and report back.
Back in an email thread with Doug be mentioned SpanQuery would work, and
in a fashion it does, but I can't differentiate between terms at the
same position and contiguous positions. The problem gets worse if I
want to test fo
Marc,
SpanNearQuery isn't capable of performing the proximity to within
only a single position in the manner you've described. A slop of 0
means the terms must be contiguous with no gaps, which also allows
for matches in the same position as in your first example.
I think MultiPhraseQuer
: i have a problem with a SpanNearQuery returning incorrect (false
: positive) results.
I'm not familiar with how Span queries are implimented, but there doesn't
appear to be any test cases dealing with an index where term position
increments are ever 0, so i can neither confirm nor deny the bug
hello all -
i have a problem with a SpanNearQuery returning incorrect (false
positive) results.
I am creating the context of a field using tokens which have position
increment set to either 1 or 0. The position increment is set to 0 for
special tokens, in this case part-of-speech markers.