lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: Searcher.search():Hits
Date Sun, 28 May 2006 01:21:48 GMT
On 5/27/06, karl wettin <kalle@snigel.net> wrote:
> Is there a one method all searches are routed though that I can
> interface with a decorator or so to catch all Hits created?

Search results, or only actual Hits objects?
For Hits, perhaps the 4 methods on Searcher that return Hits.

But IMO, callbacks and decorators shouldn't be spread all over
Lucene... it's easy cache Hits at a higher layer... create a
CachingSearcher or something.  You need to write code to use lucene
for your specific application anyway.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message