org.jboss.dna.graph.search
Interface SearchEngineWorkspace

All Known Implementing Classes:
LuceneSearchWorkspace

public interface SearchEngineWorkspace

The representation of the persisted state of the indexes needed for searching.


Method Summary
 void destroy(ExecutionContext context)
          Destroy the indexes for the workspace with the supplied name.
 String getWorkspaceName()
          Get the name of the workspace.
 

Method Detail

getWorkspaceName

String getWorkspaceName()
Get the name of the workspace.

Returns:
the workspace name; never null

destroy

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

Parameters:
context - the execution context in which the destruction should be performed; may not be null
Throws:
IOException - if there is a problem destroying the indexes


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