|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.search.fields.CmsSearchFieldConfiguration
org.opencms.search.fields.CmsLuceneFieldConfiguration
public class CmsLuceneFieldConfiguration
Describes a configuration of fields that are used in building a search index.
| Field Summary | |
|---|---|
static CmsLuceneFieldConfiguration |
DEFAULT_STANDARD
The default for the standard search configuration. |
static java.lang.String |
STR_STANDARD_DESCRIPTION
The description for the standard field configuration. |
| Fields inherited from class org.opencms.search.fields.CmsSearchFieldConfiguration |
|---|
STR_STANDARD |
| Constructor Summary | |
|---|---|
CmsLuceneFieldConfiguration()
|
|
| Method Summary | |
|---|---|
org.apache.lucene.analysis.Analyzer |
getAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
Returns an analyzer that wraps the given base analyzer with the analyzers of this individual field configuration. |
java.util.List<java.lang.String> |
getExcerptFieldNames()
Returns a list of all field names (Strings) that are used in generating the search excerpt. |
java.util.List<CmsLuceneField> |
getLuceneFields()
Returns a list of the concrete Lucene search fields. |
| Methods inherited from class org.opencms.search.fields.CmsSearchFieldConfiguration |
|---|
addField, addFields, appendCategories, appendContentBlob, appendDates, appendFieldMapping, appendFieldMappings, appendFileSize, appendLocales, appendPath, appendProperties, appendType, compareTo, createDocument, equals, getDescription, getField, getFieldNames, getFields, getIndex, getLocaleExtendedName, getLocaleExtendedName, getName, getParentFolderTokens, hashCode, init, setBoost, setDescription, setIndex, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final CmsLuceneFieldConfiguration DEFAULT_STANDARD
This defines the default that is used in case no "standard" field configuration
is defined in opencms-search.xml.
public static final java.lang.String STR_STANDARD_DESCRIPTION
| Constructor Detail |
|---|
public CmsLuceneFieldConfiguration()
| Method Detail |
|---|
public org.apache.lucene.analysis.Analyzer getAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
analyzer - the base analyzer to wrap
public java.util.List<java.lang.String> getExcerptFieldNames()
public java.util.List<CmsLuceneField> getLuceneFields()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||