|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| 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 SearchEnginerepoConfig - The configuration for the repositoryRepositoryException
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 queryRepositoryException
int importData(String filename)
throws RepositoryException
filename - The name of the file to importRepositoryException
boolean isAllIndexingComplete()
throws RepositoryException
RepositoryException
int deleteDocuments(String key)
throws RepositoryException
key - The key to use in selecting documents for deletionRepositoryException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.