Re: Filtering a SpanQuery

2008-05-12 Thread Paul Elschot
Op Monday 12 May 2008 09:06:36 schreef Eran Sevi: > Thanks Paul, > > I'll give your code sample a try. > I still think that calling getSpans (the first line of code) that > returns millions of results is going to be much slower than calling > getSpans that's going to return only a few thousands of

Re: Filtering a SpanQuery

2008-05-12 Thread Eran Sevi
Thanks Paul, I'll give your code sample a try. I still think that calling getSpans (the first line of code) that returns millions of results is going to be much slower than calling getSpans that's going to return only a few thousands of results. Since the filtering is only performed after calling

Re: Filtering a SpanQuery

2008-05-07 Thread Paul Elschot
Op Wednesday 07 May 2008 10:18:38 schreef Eran Sevi: > Thanks Paul for your reply, > > Since my index contains a couple of millions documents and the filter > is supposed to limit the search space to a few thousands I was hoping > I won't have to do the filtering myself after running the query on >

Re: Filtering a SpanQuery

2008-05-07 Thread Eran Sevi
Thanks Paul for your reply, Since my index contains a couple of millions documents and the filter is supposed to limit the search space to a few thousands I was hoping I won't have to do the filtering myself after running the query on all the index. Maybe this is the case anyway and behind the sc

Re: Filtering a SpanQuery

2008-05-07 Thread Paul Elschot
Op Tuesday 06 May 2008 17:39:38 schreef Paul Elschot: > Eran, > > Op Tuesday 06 May 2008 10:15:10 schreef Eran Sevi: > > Hi, > > > > I am looking for a way to filter a SpanQuery according to some > > other query (on another field from the one used for the SpanQuery). > > I need to get access to the

Re: Filtering a SpanQuery

2008-05-06 Thread Paul Elschot
Eran, Op Tuesday 06 May 2008 10:15:10 schreef Eran Sevi: > Hi, > > I am looking for a way to filter a SpanQuery according to some other > query (on another field from the one used for the SpanQuery). I need > to get access to the spans themselves of course. > I don't care about the scoring of the

Filtering a SpanQuery

2008-05-06 Thread Eran Sevi
Hi, I am looking for a way to filter a SpanQuery according to some other query (on another field from the one used for the SpanQuery). I need to get access to the spans themselves of course. I don't care about the scoring of the filter results and just need the positions of hits found in the docu