lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <>
Subject Query Term Collector (was: Re: New highlighter package available)
Date Thu, 02 Oct 2003 21:15:05 GMT
Korfut, Tatu (if you're watching),

I'm trying to understand what this term collector idea is all about, so
I looked online for some of your previous discussions on this topic
from March 2003.  So this patches that both of you sent to lucene-dev
at some point both implement a term collector.
What terms do your term collectors collect, could you explain that in
simple terms, and with an example, please? (I almost broke one of the
walls in my apartment, when I accidentally smacked it with my head 10
minutes ago)

If I make a BooleanQuery: Laurel AND Hardy
What is I make a WildcardQuery: Comed*
What terms would your collector collect and return in each case?

I only saw Tatu's diff to the existing classes, and noticed that his
solution includes 5-6 new classes.


--- none none <> wrote:
> Hi Otis,
> as Tatu' explained (sorry i am pretty busy at work,  thank you
> Tatu'!)
> we only ask for "Support of Term Collector" and this needs some
> changes in the core, changes are in a previous email i sent to the
> list (can do it again), it is like a patch, doing that it will be
> easier *for us* to provide highlight when a new version of Lucene
> comes out.
> As for Mark works of the highlighter, it is not working with release
> 1.3, due to big changes in the core, query rewrite, termenum, etc.
> As tatu said, there can be a waste of resource for users that do not
> need term collector, so a boolean value will avoid that, by default
> we can set it to TERM_COLLECTOR_OFF. 
> I had to go through all the lucene code (almost) to make it work in
> 1.3.
> that's all.
> thanks.
> Korfut.

Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

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

View raw message