I understand how that recommendation could potentially cover fields with undesired terms mixed in with the desired terms. I fail to see that it covers the case where the undesired term(s) are last, i.e. "desired desired undesired." Could you please elaborate? Thanks!
-Kyle On 10/3/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > > A typical solution to problems in this "space" is to index marker terms to > denote boundaries in the term sequence ... in combination with things > like SpanNear and SpanNot, this can be used to make queries like "these > 5 words must be in the same sentence" > > in your specific example however, where you want to match the entire > sequence of terms for a doc in a specific field, i don't think you need > any special indexing tricks ... you could probably just use a > SpanFirst query containing a SpanNear query right? ... > the key being that the end value of the SpanFirstQuery should be the same > as the number of lcauses in the SpanNearQuery. > > > > -Hoss > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >