Method Summary |
|
SearchEngineAnalyzerHelper | analyzerHelper() Returns an analyzer helper for the search engine. |
void | begin() Begins the search engine transaction, using the configured transaction
isolation. |
void | begin(TransactionIsolation transactionIsolation) Begins the search engine transaction using the given transaction
isolation. |
void | close() Closes and disposes of the search engine. |
void | commit(boolean onePhase) Commits the transaction. |
void | create(Resource resource) Creates the resource in the index file under the given alias. |
void | delete(Resource resource) Deletes the resource, which has the property ids. |
void | flush() Flushed the current transaction. |
Resource | get(Resource idResource) Returns a resource for the given resource that holds the properties AND
the alias, under the specified alias. |
SearchEngineFactory | getSearchEngineFactory() |
SearchEngineInternalSearch | internalSearch(String[] subIndexes, String[] aliases) Returns a search engine internal implementation. |
boolean | isReadOnly() Returns true if the search engine was used (up until now)
for read only operations. |
boolean | isWithinTransaction() Returns true if Compass is within a running transaction. |
Resource | load(Resource idResource) Loads a resource for the given resource that holds the properties AND the
alias, under the specified alias. |
void | prepare() Prepares the transaction for a commit. |
SearchEngineQueryBuilder | queryBuilder() Creates a new query builder. |
SearchEngineQueryFilterBuilder | queryFilterBuilder() Creates a new query filter builder. |
void | rollback() Rolls back the current transaction. |
void | save(Resource resource) Saves the given resource under the given resource. |
SearchEngineTermFrequencies | termFreq(String[] propertyNames, int size, SearchEngineInternalSearch internalSearch) Returns term frequencies. |
boolean | wasCommitted() Check if this transaction was successfully committed. |
boolean | wasRolledBack() |