org.hibernate.search.backend.impl.lucene.works
Interface LuceneWorkDelegate

All Known Implementing Classes:
DeleteExtWorkDelegate, UpdateExtWorkDelegate, UpdateWorkDelegate

public interface LuceneWorkDelegate

Author:
Sanne Grinovero

Method Summary
 void performWork(LuceneWork work, org.apache.lucene.index.IndexWriter writer, IndexingMonitor monitor)
          Will perform work on an IndexWriter.
 

Method Detail

performWork

void performWork(LuceneWork work,
                 org.apache.lucene.index.IndexWriter writer,
                 IndexingMonitor monitor)
Will perform work on an IndexWriter.

Parameters:
work - the LuceneWork to apply to the IndexWriter.
writer - the IndexWriter to use.
monitor - will be notified of performed operations
Throws:
UnsupportedOperationException - when the work is not compatible with an IndexWriter.


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved