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: 34165 $
Author:
George Gastaldi

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

Method Detail

doCallback

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

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


Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.