com.mysema.query.lucene.session.impl
Class LuceneWriterImpl
java.lang.Object
com.mysema.query.lucene.session.impl.LuceneWriterImpl
- All Implemented Interfaces:
- LuceneWriter
public class LuceneWriterImpl
- extends Object
- implements LuceneWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneWriterImpl
public LuceneWriterImpl(org.apache.lucene.store.Directory directory,
boolean createNew,
ReleaseListener releaseListener)
addDocument
public LuceneWriter addDocument(org.apache.lucene.document.Document doc)
- Specified by:
addDocument
in interface LuceneWriter
deleteDocuments
public LuceneWriter deleteDocuments(org.apache.lucene.index.Term term)
- Specified by:
deleteDocuments
in interface LuceneWriter
commit
public void commit()
close
public void close()
getIndexWriter
public org.apache.lucene.index.IndexWriter getIndexWriter()
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.