org.apache.servicemix.jbi.audit.lucene
Interface LuceneCallback

All Known Implementing Classes:
DefaultLuceneCallback

public interface LuceneCallback

Lucene Callback Interface. Used on searching to be executed on synchronized blocks.

Since:
2.1
Version:
$Revision$
Author:
George Gastaldi

Method Summary
 java.lang.Object doCallback(org.apache.lucene.search.IndexSearcher is)
          Called by the LuceneIndexer
 

Method Detail

doCallback

java.lang.Object doCallback(org.apache.lucene.search.IndexSearcher is)
                            throws java.io.IOException
Called by the LuceneIndexer

Parameters:
is - IndexSearcher provided by the indexer
Returns:
an object from the query
Throws:
java.io.IOException - if an error occurs during opening/searching of the index


Copyright © 2005-2011 FuseSource. All Rights Reserved.