|
||||||||
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.galleries.CmsGallerySearchFieldConfiguration
public class CmsGallerySearchFieldConfiguration
Describes the search field configuration that is used by the gallery index.
Field Summary |
---|
Fields inherited from class org.opencms.search.fields.CmsSearchFieldConfiguration |
---|
DEFAULT_STANDARD, SEARCH_PRIORITY_HIGH_VALUE, SEARCH_PRIORITY_LOW_VALUE, SEARCH_PRIORITY_MAX_VALUE, SEARCH_PRIORITY_NORMAL_VALUE, STR_STANDARD, STR_STANDARD_DESCRIPTION, VFS_DOCUMENT_KEY_PREFIX |
Constructor Summary | |
---|---|
CmsGallerySearchFieldConfiguration()
Default constructor. |
Method Summary | |
---|---|
protected org.apache.lucene.document.Document |
appendFieldMappings(org.apache.lucene.document.Document document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
List<CmsProperty> properties,
List<CmsProperty> propertiesSearched)
Extends the given document by the configured field mappings. |
protected org.apache.lucene.document.Document |
appendMultipleFieldMapping(org.apache.lucene.document.Document document,
CmsSearchField fieldConfig,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
List<CmsProperty> properties,
List<CmsProperty> propertiesSearched)
Extends the given document by the gallery index special multiple language filed mappings for the given field. |
static String |
getLocaleExtendedName(String lookup,
Locale locale)
Returns the locale extended name for the given lookup String. |
static String |
getLocaleExtendedName(String lookup,
String locale)
Returns the locale extended name for the given lookup String. |
Methods inherited from class org.opencms.search.fields.CmsSearchFieldConfiguration |
---|
addField, appendCategories, appendContentBlob, appendDates, appendFieldMapping, appendPath, appendType, compareTo, createDocument, equals, getAnalyzer, getAnalyzerForDefaultFields, getDateTerms, getDescription, getExcerptFieldNames, getField, getFieldNames, getFields, getName, getParentFolderTokens, hashCode, setBoost, setDescription, setName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsGallerySearchFieldConfiguration()
Method Detail |
---|
public static final String getLocaleExtendedName(String lookup, Locale locale)
lookup
- the lookup Stringlocale
- the locale
public static final String getLocaleExtendedName(String lookup, String locale)
lookup
- the lookup Stringlocale
- the locale
protected org.apache.lucene.document.Document appendFieldMappings(org.apache.lucene.document.Document document, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched)
appendFieldMappings
in class CmsSearchFieldConfiguration
document
- 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 resource
protected org.apache.lucene.document.Document appendMultipleFieldMapping(org.apache.lucene.document.Document document, CmsSearchField fieldConfig, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched)
document
- the document to extendfieldConfig
- the field to create the mappings forcms
- 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 resource
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |