You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Leandro Saad <le...@gmail.com> on 2006/06/13 22:25:49 UTC

Lucene usage

Hi all.

I'm writting a wrapper component around Lucene (using Avalon) and I'd like
to know the common api usage.

How should I bootstrap the index? Should I create the IndexSearcher when I
initialize the component?
For how long should I let the IndexWriter open? For one document: should I
create the writer, add the document and close it?

-- 
Leandro Rodrigo Saad Cruz
CTO - InterBusiness Technologies
db.apache.org/ojb
guara-framework.sf.net
xingu.sf.net