railo.runtime.search.lucene2
Class LuceneSearchEngine
java.lang.Object
railo.runtime.search.SearchEngineSupport
railo.runtime.search.lucene2.LuceneSearchEngine
- All Implemented Interfaces:
- SearchEngine
public final class LuceneSearchEngine
- extends SearchEngineSupport
LuceneSearchEngine
public LuceneSearchEngine()
_createCollection
public SearchCollection _createCollection(String name,
Resource path,
String language)
throws SearchException
- Description copied from class:
SearchEngineSupport
- Creates a new Collection, will be invoked by createCollection
- Parameters:
name
- The Name of the Collectionpath
- the path to storelanguage
- The language of the collection
- Returns:
- New SearchCollection
- Throws:
SearchException
_removeCollection
public void _removeCollection(SearchCollection collection)
throws SearchException
- Description copied from class:
SearchEngineSupport
- removes a Collection from the storage
- Parameters:
collection
- Collection to remove
- Throws:
SearchException
_readCollection
public SearchCollection _readCollection(String name,
Resource path,
String language,
DateTime lastUpdate,
DateTime created)
throws SearchException
- Description copied from class:
SearchEngineSupport
- read in a existing collection
- Returns:
- SearchCollection
- Throws:
SearchException
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interface SearchEngine
- Specified by:
getDisplayName
in class SearchEngineSupport
- Returns:
- returns the Name of the search engine to display in admin
Copyright © 2012 Railo