On Sat, Sep 12, 2009 at 8:40 AM, Mark Miller <markrmil...@gmail.com> wrote:
>>> They start at the left and march right - each Span always starting >>> after the last started, >> >> That's not quite always true -- eg I got span 1-8, twice, once I >> added "b" as a clause to the SNQ. > > Mmm - right - depends on how you look at it I think - it is less > simple with terms at multiple positions, in that now each Span > doesn't start in the *position* after the last - but if you line up > the terms like you did, its still the same - the first 1 - 8 starts > at the first term at pos 1, and the next 1 to 8 starts at the > seconds term at pos 1. One starts after the other (though if you > think Lucene positions, I realize they virtually start at the same > spot). Ahh ok got it -- each underying "start" of the span always advances after that span is returned. Thanks for all the explanations Mark! I understand how it works now. Mike --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org