Re: Span query performance issue

2005-06-25 Thread Paul Elschot
On Saturday 25 June 2005 04:26, jian chen wrote: > Hi, > > I think Span query in general should do more work than simple Phrase > query. Phrase query, in its simplest form, should just try to find all > terms that are adjacent to each other. Meanwhile, Span query does not > necessary be adjacent t

Re: Span query performance issue

2005-06-24 Thread jian chen
Hi, I think Span query in general should do more work than simple Phrase query. Phrase query, in its simplest form, should just try to find all terms that are adjacent to each other. Meanwhile, Span query does not necessary be adjacent to each other, but, with other words in between. Therefore, I

Span query performance issue

2005-06-24 Thread yahootintin . 11533894
Hi, I'm comparing SpanNearQuery to PhraseQuery results and noticing about an 8x difference on Linux. Is a SpanNearQuery doing 8x as much work? I'm considering diving into the code if the results sounds unusual to people. But if its really doing that much more work, I won't spend time optimiz