public class LuceneSearchEntry extends BasicSearchEntry
SearchEntry
interface using lucene as underlying search-engine.Modifier and Type | Field and Description |
---|---|
private org.apache.lucene.document.Document |
document
the lucene document that represents the actual entry
|
FIELD_CREATOR, FIELD_CUSTOM_ID, FIELD_ID, FIELD_KEYWORDS, FIELD_LANGUAGE, FIELD_SIZE, FIELD_SOURCE, FIELD_TEXT, FIELD_TITLE, FIELD_TYPE, FIELD_URI
Constructor and Description |
---|
LuceneSearchEntry(org.apache.lucene.document.Document document,
SearchFields searchFields,
SearchDependencies searchDependencies)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<String> |
getFieldNames()
This method gets the names of all
fields that are defined (NOT
null ). |
protected Object |
getFieldRaw(String name) |
getField, getField, getSearchDependencies, getSearchFields
equals, getCreator, getCustomId, getFieldAsString, getId, getSize, getSource, getText, getTitle, getType, getUri, hashCode, toString
getLogger
private final org.apache.lucene.document.Document document
public LuceneSearchEntry(org.apache.lucene.document.Document document, SearchFields searchFields, SearchDependencies searchDependencies)
document
- is the lucene document that represents the actual entry.searchFields
- are the SearchFields
.searchDependencies
- are the SearchDependencies
.protected Object getFieldRaw(String name)
getFieldRaw
in class BasicSearchEntry
name
- is the name
of the
requested field.BasicSearchEntry.getField(String)
Copyright © 2001–2016 mmm-Team. All rights reserved.