|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SearchEngine
The interface to the specific implementation of the search engine used by the CM.
| Field Summary | |
|---|---|
static String |
DATABASE_PREFIX
|
| Method Summary | |
|---|---|
int |
deleteDocuments(String key)
Instructs the search engine to delete the specified documents from its database(s). |
ID[] |
executeQuery(com.bea.content.expression.FullTextSearch expression,
RepositoryId repositoryId,
int maxResults)
Submits a Query to the search engine |
int |
importData(String filename)
Instructs the search engine's connector to import the specified file. |
void |
initialize(IRepositoryConfig repoConfig)
This method is called by the SearchEngineFactory and is therefore not required
to be used by a client of the SearchEngine |
boolean |
isAllIndexingComplete()
Checks whether all currently received index commands have completed, waiting until they have. |
| Field Detail |
|---|
static final String DATABASE_PREFIX
| Method Detail |
|---|
void initialize(IRepositoryConfig repoConfig)
throws RepositoryException
SearchEngineFactory and is therefore not required
to be used by a client of the SearchEngine
repoConfig - The configuration for the repository
RepositoryException
ID[] executeQuery(com.bea.content.expression.FullTextSearch expression,
RepositoryId repositoryId,
int maxResults)
throws RepositoryException
expression - The FullTextSearch value object containing query parametersrepositoryId - maxResults - The maximum number of results to return from the query
RepositoryException
int importData(String filename)
throws RepositoryException
filename - The name of the file to import
RepositoryException
boolean isAllIndexingComplete()
throws RepositoryException
RepositoryException
int deleteDocuments(String key)
throws RepositoryException
key - The key to use in selecting documents for deletion
RepositoryException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||