com.mysema.query.lucene.session.impl
Class LuceneWriterImpl

java.lang.Object
  extended by com.mysema.query.lucene.session.impl.LuceneWriterImpl
All Implemented Interfaces:
LuceneWriter

public class LuceneWriterImpl
extends Object
implements LuceneWriter


Constructor Summary
LuceneWriterImpl(org.apache.lucene.store.Directory directory, boolean createNew, ReleaseListener releaseListener)
           
 
Method Summary
 LuceneWriter addDocument(org.apache.lucene.document.Document doc)
           
 void close()
           
 void commit()
           
 LuceneWriter deleteDocuments(org.apache.lucene.index.Term term)
           
 org.apache.lucene.index.IndexWriter getIndexWriter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneWriterImpl

public LuceneWriterImpl(org.apache.lucene.store.Directory directory,
                        boolean createNew,
                        ReleaseListener releaseListener)
Method Detail

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.