org.modeshape.search.lucene
Class AbstractLuceneSearchEngine<WorkspaceType extends SearchEngineWorkspace,ProcessorType extends SearchEngineProcessor>

java.lang.Object
  extended by org.modeshape.graph.search.AbstractSearchEngine<WorkspaceType,ProcessorType>
      extended by org.modeshape.search.lucene.AbstractLuceneSearchEngine<WorkspaceType,ProcessorType>
Type Parameters:
WorkspaceType - the type of workspace
ProcessorType - type type of processor
All Implemented Interfaces:
SearchEngine
Direct Known Subclasses:
LuceneSearchEngine

public abstract class AbstractLuceneSearchEngine<WorkspaceType extends SearchEngineWorkspace,ProcessorType extends SearchEngineProcessor>
extends AbstractSearchEngine<WorkspaceType,ProcessorType>

An abstract SearchEngine implementation that is set up to use the Lucene library. This provides an abstract Processor base class that has some commonly-needed methods, simplifying the implementation. However, this class does not presume any number or layout of the Lucene indexes, and requires a subclass to do that.


Nested Class Summary
static class AbstractLuceneSearchEngine.TupleCollector
           
 
Nested classes/interfaces inherited from class org.modeshape.graph.search.AbstractSearchEngine
AbstractSearchEngine.Workspaces<WorkspaceType extends SearchEngineWorkspace>
 
Field Summary
 
Fields inherited from class org.modeshape.graph.search.AbstractSearchEngine
DEFAULT_VERIFY_WORKSPACE_IN_SOURCE
 
Method Summary
 
Methods inherited from class org.modeshape.graph.search.AbstractSearchEngine
createProcessor, getSourceName, isVerifyWorkspaceInSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.modeshape.graph.search.SearchEngine
index
 



Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.