org.apache.servicemix.jbi.audit.lucene
Class DefaultLuceneCallback
java.lang.Object
org.apache.servicemix.jbi.audit.lucene.DefaultLuceneCallback
- All Implemented Interfaces:
- LuceneCallback
public class DefaultLuceneCallback
- extends Object
- implements LuceneCallback
Default Lucene Callback implementation. Used on LuceneAuditor
- Since:
- 2.1
- Version:
- $Revision: 11366 $
- Author:
- George Gastaldi (gastaldi)
|
Method Summary |
Object |
doCallback(org.apache.lucene.search.IndexSearcher is)
Called by the LuceneIndexer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLuceneCallback
public DefaultLuceneCallback(String field,
String query)
doCallback
public Object doCallback(org.apache.lucene.search.IndexSearcher is)
throws IOException
- Description copied from interface:
LuceneCallback
- Called by the LuceneIndexer
- Specified by:
doCallback in interface LuceneCallback
- 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-2007. All Rights Reserved.