Re: SpanFirstQuery and SpanNotQuery

2006-05-01 Thread Chris Hostetter
After consulting LIA, I find the following sentence at the end of 5.4.2 "Finding spans at the beinning of a field" ... The resulting span matches are the same as the orriginal SpanQuery spans, ... ...which indicates that it is working as documented -- but it remains to be seen if

SpanFirstQuery and SpanNotQuery

2006-04-28 Thread Chris Hostetter
I'm looking at SpanQueries as I work on new test cases for LUCENE-557, and I'm confused by the implimentation of SpanFirstQuery.getSpans(). In the Anonymous Spans instance returned, start() and end() are allways the start() and end() of the inner SpanQuery for the current doc -- shouldn't the sta