public final class LuceneSearchEngine extends SearchEngineSupport
ALLOW_OVERWRITE, DENY_OVERWRITE
Constructor and Description |
---|
LuceneSearchEngine() |
Modifier and Type | Method and Description |
---|---|
SearchCollection |
_createCollection(String name,
Resource path,
String language)
Creates a new Collection, will be invoked by createCollection
|
SearchCollection |
_readCollection(String name,
Resource path,
String language,
DateTime lastUpdate,
DateTime created)
read in a existing collection
|
void |
_removeCollection(SearchCollection collection)
removes a Collection from the storage
|
String |
getDisplayName() |
createCollection, getCollectionByName, getCollectionsAsQuery, getConfig, getDirectory, getIndexElement, getLogger, init
public LuceneSearchEngine()
public SearchCollection _createCollection(String name, Resource path, String language) throws SearchException
SearchEngineSupport
name
- The Name of the Collectionpath
- the path to storelanguage
- The language of the collectionSearchException
public void _removeCollection(SearchCollection collection) throws SearchException
SearchEngineSupport
collection
- Collection to removeSearchException
public SearchCollection _readCollection(String name, Resource path, String language, DateTime lastUpdate, DateTime created) throws SearchException
SearchEngineSupport
SearchException
public String getDisplayName()
getDisplayName
in interface SearchEngine
getDisplayName
in class SearchEngineSupport
Copyright © 2015 Lucee