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?

        Erik



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to