public class CmsSearchFieldConfigurationOldCategories extends CmsLuceneFieldConfiguration
Configure this class for a search index field configuration in case you want the old behavior.
DEFAULT_STANDARD, STR_STANDARD_DESCRIPTIONLAZY_FIELDS, STR_STANDARD| 构造器和说明 |
|---|
CmsSearchFieldConfigurationOldCategories()
Default constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected I_CmsSearchDocument |
appendCategories(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by resource category information based on properties.
|
addField, getAnalyzer, getExcerptFieldNames, getExcerptFields, getLuceneFields, getReturnFieldsaddAdditionalFields, addFields, appendContentBlob, appendDates, appendFieldMapping, appendFieldMappings, appendFields, appendFileSize, appendLocales, appendPath, appendProperties, appendType, compareTo, createDocument, equals, getDescription, getField, getFieldNames, getFields, getIndex, getLocaleExtendedName, getLocaleExtendedName, getName, getParentFolderTokens, hashCode, init, setBoost, setDescription, setIndex, setNamepublic CmsSearchFieldConfigurationOldCategories()
protected I_CmsSearchDocument appendCategories(I_CmsSearchDocument document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, java.util.List<CmsProperty> properties, java.util.List<CmsProperty> propertiesSearched)
appendCategories 在类中 CmsSearchFieldConfigurationdocument - the document to extendcms - the OpenCms context used for building the search indexresource - the resource that is indexedextractionResult - the plain text extraction result from the resourceproperties - the list of all properties directly attached to the resource (not searched)propertiesSearched - the list of all searched properties of the resourceCmsSearchFieldConfiguration.appendCategories(org.opencms.search.I_CmsSearchDocument, org.opencms.file.CmsObject, org.opencms.file.CmsResource, org.opencms.search.extractors.I_CmsExtractionResult, java.util.List, java.util.List)