org.jboss.dna.search.lucene
Class LuceneSearchWorkspace

java.lang.Object
  extended by org.jboss.dna.search.lucene.LuceneSearchWorkspace
All Implemented Interfaces:
SearchEngineWorkspace

@Immutable
public class LuceneSearchWorkspace
extends Object
implements SearchEngineWorkspace

The SearchEngineWorkspace implementation for the LuceneSearchEngine.


Method Summary
 void destroy(ExecutionContext context)
          Destroy the indexes for the workspace with the supplied name.
 IndexRules getRules()
           
 String getWorkspaceName()
          Get the name of the workspace.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWorkspaceName

public String getWorkspaceName()
Get the name of the workspace.

Specified by:
getWorkspaceName in interface SearchEngineWorkspace
Returns:
the workspace name; never null
See Also:
SearchEngineWorkspace.getWorkspaceName()

destroy

public void destroy(ExecutionContext context)
Destroy the indexes for the workspace with the supplied name.

Specified by:
destroy in interface SearchEngineWorkspace
Parameters:
context - the execution context in which the destruction should be performed; may not be null
See Also:
SearchEngineWorkspace.destroy(org.jboss.dna.graph.ExecutionContext)

getRules

public IndexRules getRules()
Returns:
rules


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