lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jian chen <>
Subject Re: Span query performance issue
Date Sat, 25 Jun 2005 02:26:01 GMT

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.


On 25 Jun 2005 00:00:18 -0000,
<> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message