|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of SearchEngineException in org.compass.core |
|---|
| Methods in org.compass.core that throw SearchEngineException | |
|---|---|
Resource |
Resource.addProperty(String name,
Object value)
Adds a property to the resource based on resource mapping definitions. |
Resource |
Resource.addProperty(String name,
Reader value)
Adds a property to the resource based on resource mapping definitions. |
| Uses of SearchEngineException in org.compass.core.converter.mapping |
|---|
| Methods in org.compass.core.converter.mapping that throw SearchEngineException | |
|---|---|
Resource |
CollectionResourceWrapper.addProperty(String name,
Object value)
|
Resource |
CollectionResourceWrapper.addProperty(String name,
Reader value)
|
| Uses of SearchEngineException in org.compass.core.engine |
|---|
| Methods in org.compass.core.engine that throw SearchEngineException | |
|---|---|
CompassToken[] |
SearchEngineAnalyzerHelper.analyze(Reader textReader)
|
CompassToken[] |
SearchEngineAnalyzerHelper.analyze(String text)
|
CompassToken[] |
SearchEngineAnalyzerHelper.analyze(String propertyName,
Reader textReader)
|
CompassToken[] |
SearchEngineAnalyzerHelper.analyze(String propertyName,
String text)
|
CompassToken |
SearchEngineAnalyzerHelper.analyzeSingle(String text)
|
void |
SearchEngine.begin()
Begins the search engine transaction, using the configured transaction isolation. |
void |
SearchEngine.begin(CompassTransaction.TransactionIsolation transactionIsolation)
Begins the search engine transaction using the given transaction isolation. |
void |
SearchEngineIndexManager.ReplaceIndexCallback.buildIndexIfNeeded()
Provides the ability to be notified when the index can be built during the replace operation. |
void |
SearchEngineIndexManager.checkAndClearIfNotifiedAllToClearCache()
Manual check if the notified to clear the cache globally. |
void |
SearchEngineIndexManager.clearCache()
Clears any internal caching done by the index. |
void |
SearchEngineIndexManager.clearCache(String subIndex)
Clears any internal caching done by the index for the specified sub-index. |
void |
SearchEngineHits.close()
Closes the hits object. |
void |
SearchEngineHighlighter.close()
|
void |
SearchEngineFactory.close()
Closes the factory. |
void |
SearchEngine.close()
Closes and disposes of the search engine. |
void |
SearchEngine.commit(boolean onePhase)
Commits the transaction. |
void |
SearchEngine.create(Resource resource)
Creates the resource in the index file under the given alias. |
void |
SearchEngineIndexManager.createIndex()
Creates an index data. |
Property |
SearchEngine.createProperty(String name,
byte[] value,
Property.Store store)
Creates a binary property. |
Property |
SearchEngine.createProperty(String name,
Reader value)
Creates a property (TEXT type) for the specified reader. |
Property |
SearchEngine.createProperty(String name,
Reader value,
Property.TermVector termVector)
Creates a property (indexed, and not stored) for the specified reader. |
Property |
SearchEngine.createProperty(String value,
ResourcePropertyMapping mapping)
Creates a Property that is used with the actual Search Engine |
Property |
SearchEngine.createProperty(String value,
ResourcePropertyMapping mapping,
Property.Store store,
Property.Index index)
|
Property |
SearchEngine.createProperty(String name,
String value,
Property.Store store,
Property.Index index)
Creates a Property that is used with the actual Search Engine |
Property |
SearchEngine.createProperty(String name,
String value,
Property.Store store,
Property.Index index,
Property.TermVector termVector)
Creates a Property that is used with the actual Search Engine. |
Property |
SearchEngine.createProperty(String name,
String value,
ResourcePropertyMapping mapping)
Creates a Property that is used with the actual Search Engine |
Resource |
SearchEngine.createResource(String alias)
Creates a resource, that is used with the actual Search Engine implementation. |
void |
SearchEngine.delete(Resource resource)
Deletes the resource, which has the property ids. |
void |
SearchEngineIndexManager.deleteIndex()
Deletes the index data. |
boolean |
SearchEngineIndexManager.IndexOperationCallback.firstStep()
First step is called just after the index is locked for any dirty operations. |
void |
SearchEngine.flush()
Flushed the current transaction. |
String |
SearchEngineHighlighter.fragment(Resource resource,
String propertyName)
|
String |
SearchEngineHighlighter.fragment(Resource resource,
String propertyName,
String text)
|
String[] |
SearchEngineHighlighter.fragments(Resource resource,
String propertyName)
|
String[] |
SearchEngineHighlighter.fragments(Resource resource,
String propertyName,
String text)
|
String |
SearchEngineHighlighter.fragmentsWithSeparator(Resource resource,
String propertyName)
|
String |
SearchEngineHighlighter.fragmentsWithSeparator(Resource resource,
String propertyName,
String text)
|
Resource |
SearchEngine.get(Resource idResource)
Returns a resource for the given resource that holds the properties AND the alias, under the specified alias. |
SearchEngineHighlighter |
SearchEngineHits.getHighlighter()
Returns an highlighter for the hits. |
Resource |
SearchEngineHits.getResource(int n)
Returns that maps to the n'th hit. |
SearchEngineHits |
SearchEngineQuery.hits()
|
boolean |
SearchEngineIndexManager.indexExists()
Returns true if the index exists. |
SearchEngineInternalSearch |
SearchEngine.internalSearch(String[] subIndexes,
String[] aliases)
Returns a search engine internal implementation. |
boolean |
SearchEngineIndexManager.isCached()
Returns true if one of the sub indexes is cached. |
boolean |
SearchEngineIndexManager.isCached(String subIndex)
Returns true if the sub index is cached. |
boolean |
SearchEngineIndexManager.isLocked()
Returns true if any sub index is locked. |
boolean |
SearchEngineIndexManager.isLocked(String subIndex)
Returns true if the sub index is locked (both Lucene write and commit locks). |
boolean |
SearchEngine.isWithinTransaction()
Returns true if Compass is within a running transaction. |
Resource |
SearchEngine.load(Resource idResource)
Loads a resource for the given resource that holds the properties AND the alias, under the specified alias. |
String[] |
SearchEngineHighlighter.multiResourceFragment(Resource resource,
String propertyName)
|
String[] |
SearchEngineHighlighter.multiResourceFragment(Resource resource,
String propertyName,
String[] texts)
|
String |
SearchEngineHighlighter.multiResourceFragmentWithSeparator(Resource resource,
String propertyName)
|
String |
SearchEngineHighlighter.multiResourceFragmentWithSeparator(Resource resource,
String propertyName,
String[] texts)
|
boolean |
SearchEngineOptimizer.needOptimization()
Returns true if the search engine index requires
optimization (depends on the optimizer configured). |
boolean |
SearchEngineOptimizer.needOptimization(String subIndex)
Returns true of the sub index requires optimization
(depends on the optimizer configured). |
void |
SearchEngineIndexManager.notifyAllToClearCache()
Notifies all the compass instances that are working with the same index to clear cache. |
void |
SearchEngineIndexManager.operate(SearchEngineIndexManager.IndexOperationCallback callback)
A general api for index operations. |
void |
SearchEngineOptimizer.optimize()
Optimizes the search engine index if it requires optimization. |
void |
SearchEngineOptimizer.optimize(String subIndex)
Optimizes the sub index if it requires optimization. |
void |
SearchEngine.prepare()
Prepares the transaction for a commit. |
SearchEngineQueryBuilder |
SearchEngine.queryBuilder()
Creates a new query builder. |
SearchEngineQueryFilterBuilder |
SearchEngine.queryFilterBuilder()
Creates a new query filter builder. |
void |
SearchEngineIndexManager.releaseLock(String subIndex)
Releases the lock for the given sub index. |
void |
SearchEngineIndexManager.releaseLocks()
Releases all the locks on all the sub indexes. |
void |
SearchEngineIndexManager.replaceIndex(SearchEngineIndexManager indexManager,
SearchEngineIndexManager.ReplaceIndexCallback callback)
Replaces the index data that is used by the current instance, with the one that is pointed by the given indexManager. |
void |
SearchEngine.rollback()
Rolls back the current transaction. |
void |
SearchEngine.save(Resource resource)
Saves the given resource under the given resource. |
float |
SearchEngineHits.score(int i)
Returns the score of the n'th hit. |
void |
SearchEngineIndexManager.IndexOperationCallback.secondStep()
Second step is called just after the index is locked for read operations (on top of the dirty operations). |
SearchEngineHighlighter |
SearchEngineHighlighter.setAnalyzer(Resource resource)
|
SearchEngineAnalyzerHelper |
SearchEngineAnalyzerHelper.setAnalyzer(Resource resource)
|
SearchEngineHighlighter |
SearchEngineHighlighter.setAnalyzer(String analyzerName)
|
SearchEngineAnalyzerHelper |
SearchEngineAnalyzerHelper.setAnalyzer(String analyzerName)
|
SearchEngineAnalyzerHelper |
SearchEngineAnalyzerHelper.setAnalyzerByAlias(String alias)
|
SearchEngineHighlighter |
SearchEngineHighlighter.setHighlighter(String highlighterName)
|
SearchEngineHighlighter |
SearchEngineHighlighter.setMaxBytesToAnalyze(int maxBytesToAnalyze)
|
SearchEngineHighlighter |
SearchEngineHighlighter.setMaxNumFragments(int maxNumFragments)
|
SearchEngineHighlighter |
SearchEngineHighlighter.setSeparator(String separator)
|
SearchEngineHighlighter |
SearchEngineHighlighter.setTextTokenizer(CompassHighlighter.TextTokenizer textTokenizer)
|
void |
SearchEngineOptimizer.start()
Starts the given optimizer. |
void |
SearchEngineOptimizer.stop()
Stops the given optimizer. |
boolean |
SearchEngineIndexManager.verifyIndex()
Verify the index data. |
boolean |
SearchEngine.wasCommitted()
Check if this transaction was successfully committed. |
boolean |
SearchEngine.wasRolledBack()
Was this transaction rolled back |
| Uses of SearchEngineException in org.compass.core.engine.event |
|---|
| Methods in org.compass.core.engine.event that throw SearchEngineException | |
|---|---|
void |
SearchEngineLifecycleEventListener.afterBeginTransaction()
|
void |
SearchEngineEventManager.afterBeginTransaction()
|
void |
SearchEngineLifecycleEventListener.afterCommit(boolean onePhase)
|
void |
SearchEngineEventManager.afterCommit(boolean onePhase)
|
void |
SearchEngineLifecycleEventListener.afterPrepare()
|
void |
SearchEngineEventManager.afterPrepare()
|
void |
SearchEngineLifecycleEventListener.afterRollback()
|
void |
SearchEngineEventManager.afterRollback()
|
void |
SearchEngineLifecycleEventListener.beforeBeginTransaction()
|
void |
SearchEngineEventManager.beforeBeginTransaction()
|
void |
SearchEngineLifecycleEventListener.close()
|
void |
SearchEngineEventManager.close()
|
| Uses of SearchEngineException in org.compass.core.engine.subindex |
|---|
| Methods in org.compass.core.engine.subindex that throw SearchEngineException | |
|---|---|
String |
SubIndexHash.mapSubIndex(String alias,
Property[] ids)
Copmutes a sub index based on the given alias and ids. |
String |
ModuloSubIndexHash.mapSubIndex(String alias,
Property[] ids)
Computes the hash code of alias and all the ids, and then modulo it by size. |
String |
ConstantSubIndexHash.mapSubIndex(String alias,
Property[] ids)
Returns the single constant sub index. |
| Uses of SearchEngineException in org.compass.core.engine.utils |
|---|
| Methods in org.compass.core.engine.utils that throw SearchEngineException | |
|---|---|
static String |
ResourceHelper.computeSubIndex(ResourceKey resourceKey)
|
static Property[] |
ResourceHelper.toIds(Resource resource,
CompassMapping mapping)
|
static Property[] |
ResourceHelper.toIds(Resource resource,
ResourceMapping resourceMapping)
Same as ResourceHelper.toIds(org.compass.core.Resource, org.compass.core.mapping.ResourceMapping, boolean)
with idsMustExist set the true. |
static Property[] |
ResourceHelper.toIds(Resource resource,
ResourceMapping resourceMapping,
boolean idsMustExist)
Gets the id properties based on the resource mapping from the give resource. |
static Property[] |
ResourceHelper.toIds(SearchEngine searchEngine,
String[] values,
ResourceMapping mapping)
|
| Uses of SearchEngineException in org.compass.core.impl |
|---|
| Methods in org.compass.core.impl that throw SearchEngineException | |
|---|---|
boolean |
DefaultCompass.TransactionalSearchEngineOptimizer.needOptimization()
|
boolean |
DefaultCompass.TransactionalSearchEngineOptimizer.needOptimization(String subIndex)
|
void |
DefaultCompass.TransactionalSearchEngineOptimizer.optimize()
|
void |
DefaultCompass.TransactionalSearchEngineOptimizer.optimize(String subIndex)
|
void |
DefaultCompass.TransactionalSearchEngineOptimizer.start()
|
void |
DefaultCompass.TransactionalSearchEngineOptimizer.stop()
|
| Uses of SearchEngineException in org.compass.core.lucene |
|---|
| Methods in org.compass.core.lucene that throw SearchEngineException | |
|---|---|
Resource |
LuceneResource.addProperty(String name,
Object value)
|
Resource |
LuceneMultiResource.addProperty(String name,
Object value)
|
Resource |
LuceneResource.addProperty(String name,
Reader value)
|
Resource |
LuceneMultiResource.addProperty(String name,
Reader value)
|
| Uses of SearchEngineException in org.compass.core.lucene.engine |
|---|
| Methods in org.compass.core.lucene.engine that throw SearchEngineException | |
|---|---|
CompassToken[] |
LuceneSearchEngineAnalyzerHelper.analyze(Reader textReader)
|
CompassToken[] |
LuceneSearchEngineAnalyzerHelper.analyze(String propertyName,
Reader textReader)
|
CompassToken[] |
LuceneSearchEngineAnalyzerHelper.analyze(String propertyName,
String text)
|
CompassToken |
LuceneSearchEngineAnalyzerHelper.analyzeSingle(String text)
|
void |
LuceneSearchEngine.begin()
|
void |
LuceneSearchEngine.begin(CompassTransaction.TransactionIsolation transactionIsolation)
|
void |
LuceneSearchEngineInternalSearch.close()
Closes this instance of Lucene search "internals". |
void |
LuceneSearchEngineHighlighter.close()
|
void |
LuceneSearchEngineFactory.close()
|
void |
LuceneSearchEngine.close()
|
void |
LuceneDelegatedClose.close()
|
void |
EmptyLuceneSearchEngineHits.close()
|
void |
DefaultLuceneSearchEngineHits.close()
|
void |
LuceneSearchEngine.commit(boolean onePhase)
|
void |
LuceneSettings.configure(CompassSettings settings)
|
void |
LuceneSearchEngine.create(Resource resource)
|
protected Highlighter |
LuceneSearchEngineHighlighter.createHighlighter(String propertyName)
|
Property |
LuceneSearchEngine.createProperty(String name,
byte[] value,
Property.Store store)
|
Property |
LuceneSearchEngine.createProperty(String value,
ResourcePropertyMapping mapping)
|
Property |
LuceneSearchEngine.createProperty(String value,
ResourcePropertyMapping mapping,
Property.Store store,
Property.Index index)
|
Property |
LuceneSearchEngine.createProperty(String name,
String value,
Property.Store store,
Property.Index index)
|
Property |
LuceneSearchEngine.createProperty(String name,
String value,
Property.Store store,
Property.Index index,
Property.TermVector termVector)
|
Property |
LuceneSearchEngine.createProperty(String name,
String value,
ResourcePropertyMapping mapping)
|
Property |
LuceneSearchEngine.createProperty(String name,
String value,
ResourcePropertyMapping mapping,
Property.Store store,
Property.Index index)
|
Resource |
LuceneSearchEngine.createResource(String alias)
|
protected Scorer |
LuceneSearchEngineHighlighter.createScorer(String propertyName)
|
protected TokenStream |
LuceneSearchEngineHighlighter.createTokenStream(Resource resource,
String propertyName,
String text)
|
protected TokenStream |
LuceneSearchEngineHighlighter.createTokenStreamFromTermPositions(Resource resource,
String propertyName)
|
void |
LuceneSearchEngine.delete(Resource resource)
|
Explanation |
LuceneSearchEngineHits.explain(int i)
Returns Lucene Explanation for hit number i. |
Explanation |
EmptyLuceneSearchEngineHits.explain(int i)
|
Explanation |
DefaultLuceneSearchEngineHits.explain(int i)
|
SearchEngineHits |
LuceneSearchEngine.find(SearchEngineQuery query)
|
void |
LuceneSearchEngine.flush()
|
String |
LuceneSearchEngineHighlighter.fragment(Resource resource,
String propertyName)
|
String |
LuceneSearchEngineHighlighter.fragment(Resource resource,
String propertyName,
String text)
|
String[] |
LuceneSearchEngineHighlighter.fragments(Resource resource,
String propertyName)
|
String[] |
LuceneSearchEngineHighlighter.fragments(Resource resource,
String propertyName,
String text)
|
String |
LuceneSearchEngineHighlighter.fragmentsWithSeparator(Resource resource,
String propertyName)
|
String |
LuceneSearchEngineHighlighter.fragmentsWithSeparator(Resource resource,
String propertyName,
String text)
|
Resource |
LuceneSearchEngine.get(Resource idResource)
|
SearchEngineHighlighter |
EmptyLuceneSearchEngineHits.getHighlighter()
|
SearchEngineHighlighter |
DefaultLuceneSearchEngineHits.getHighlighter()
|
LuceneHighlighterManager |
LuceneSearchEngineFactory.getHighlighterManager()
|
IndexReader |
LuceneSearchEngineInternalSearch.getReader()
Returns a Lucene IndexReader. |
Resource |
EmptyLuceneSearchEngineHits.getResource(int n)
|
Resource |
DefaultLuceneSearchEngineHits.getResource(int i)
|
SearchEngineInternalSearch |
LuceneSearchEngine.internalSearch(String[] subIndexes,
String[] aliases)
|
boolean |
LuceneSearchEngine.isWithinTransaction()
|
Resource |
LuceneSearchEngine.load(Resource idResource)
|
String[] |
LuceneSearchEngineHighlighter.multiResourceFragment(Resource resource,
String propertyName)
|
String[] |
LuceneSearchEngineHighlighter.multiResourceFragment(Resource resource,
String propertyName,
String[] texts)
|
String |
LuceneSearchEngineHighlighter.multiResourceFragmentWithSeparator(Resource resource,
String propertyName)
|
String |
LuceneSearchEngineHighlighter.multiResourceFragmentWithSeparator(Resource resource,
String propertyName,
String[] texts)
|
void |
|