Re: Filtering on a SpanQuery without losing spans

2005-11-16 Thread Paul Elschot
On Thursday 17 November 2005 00:33, Greg K wrote: > Yow! - that's very helpful. Thanks much! > > Question about an apparent assumption in your example - is it true that > spans always stream in increasing document order? Is that a guarantee or > just a fact about the currently implementation? Spa

Re: Filtering on a SpanQuery without losing spans

2005-11-16 Thread Greg K
Yow! - that's very helpful. Thanks much! Question about an apparent assumption in your example - is it true that spans always stream in increasing document order? Is that a guarantee or just a fact about the currently implementation? Greg On 11/16/05, Doug Cutting <[EMAIL PROTECTED]> wrote: > >

Re: Filtering on a SpanQuery without losing spans

2005-11-16 Thread Doug Cutting
Greg K wrote: Now, however, I'd like to be able restrict the search to certain documents in the index, so I don't have to stream through a couple of thousand spans to produce the 10 excerpts on a subset of the documents. I've tried added a term to the SpanNearQueries that targets a keyword field

Re: Filtering on a SpanQuery without losing spans

2005-11-16 Thread Paul Elschot
Greg, On Wednesday 16 November 2005 21:19, Greg K wrote: > Hi All, > > I'm using a bunch of SpanNearQueries combined in a SpanOrQuery to do a set > of searches matches a phrase with a prefix search at the end. I.e. > > "phrase with prefix s*" kind of thing that matches "phrase with prefix > sear

Filtering on a SpanQuery without losing spans

2005-11-16 Thread Greg K
Hi All, I'm using a bunch of SpanNearQueries combined in a SpanOrQuery to do a set of searches matches a phrase with a prefix search at the end. I.e. "phrase with prefix s*" kind of thing that matches "phrase with prefix search" and "phrase with prefix string". It works great and lets me quickly