lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: My first question
Date Thu, 18 May 2006 10:53:40 GMT

On May 18, 2006, at 6:48 AM, Dan Wiggin wrote:

> Hi luceners I'm looking "Lucene in Action" and proving the examples.
> I have some questions:
> If I have to index and I'm using MultiSearcher to search in my  
> index, what I
> have to do for every search?

I don't understand the question.  Using a MultiSearcher is the same  
as using IndexSearcher except in how its constructed.  Searching is  
identical - call a search() method and work with Hits (or TopDocs).

> Do I have a new Multisearcher for every search petition or Can I  
> conserve my
> Multisearcher object for every search petition (until I use  
> IndexWriter to
> add or del some documents in my index)?
> What's the better option to do?

What's a "petition" in this context?


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

View raw message