com.bea.content.repo.server
Interface ISearchEngineManager


public interface ISearchEngineManager

The interface to the specific implementation of the search engine used by the CM.


Method Summary
 int clearDatabase(IRepositoryConfig repositoryConfig)
          Remove all documents from the named database in the Search Engine.
 SearchEngine connect(IRepositoryConfig repositoryConfig)
          Connect to the specified repository database
 

Method Detail

connect

SearchEngine connect(IRepositoryConfig repositoryConfig)
                     throws RepositoryException
Connect to the specified repository database

Parameters
repositoryConfig - The configuration for the repository
Returns
the SearchEngine type
Throws
RepositoryException

clearDatabase

int clearDatabase(IRepositoryConfig repositoryConfig)
                  throws RepositoryException
Remove all documents from the named database in the Search Engine.

Parameters
repositoryConfig - The configuration for the repository
Returns
an int representing the status
Throws
RepositoryException


Copyright © 2011, Oracle. All rights reserved.