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 think Span query deserves to be slower than Phrase query. This said, Span query is way more powerful than Phrase query. Jian On 25 Jun 2005 00:00:18 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 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 optimizing > something that can't get much faster. > > Thanks. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]