Uses of Class
org.opencms.search.fields.CmsSearchField
Package
Description
Implements the main full text search and indexing functions available in OpenCms.
These classes control the mapping of the OpenCms content to the Lucene search fields.
The package contains the Solr search integration.
Contains functions for structured content storage using XML, commonly called "XML content" in OpenCms.
-
Uses of CmsSearchField in org.opencms.search
Modifier and TypeMethodDescriptionvoid
CmsLuceneDocument.addSearchField
(CmsSearchField field, String value) void
I_CmsSearchDocument.addSearchField
(CmsSearchField field, String value) Adds a dynamic search field to the index.boolean
CmsSearchManager.removeSearchFieldConfigurationField
(I_CmsSearchFieldConfiguration fieldConfiguration, CmsSearchField field) Removes a search field from the field configuration. -
Uses of CmsSearchField in org.opencms.search.fields
Modifier and TypeClassDescriptionclass
An individual field configuration in a Lucene search index.Modifier and TypeMethodDescriptionReturns the configuredCmsSearchField
instance with the given name.Modifier and TypeMethodDescriptionA_CmsSearchFieldConfiguration.getFields()
Returns the list of configuredCmsSearchField
instances.I_CmsSearchFieldConfiguration.getFields()
Returns the configuredCmsSearchField
instance with the given name.Modifier and TypeMethodDescriptionvoid
A_CmsSearchFieldConfiguration.addField
(CmsSearchField field) Adds a field to this search field configuration.void
CmsLuceneFieldConfiguration.addField
(CmsSearchField field) void
I_CmsSearchFieldConfiguration.addField
(CmsSearchField field) Adds a field to this search field configuration.protected I_CmsSearchDocument
CmsSearchFieldConfiguration.appendFieldMapping
(I_CmsSearchDocument document, CmsSearchField field, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) Extends the given document by the mappings for the given field. -
Uses of CmsSearchField in org.opencms.search.solr
Modifier and TypeClassDescriptionclass
An individual field for the Solr search index.Modifier and TypeMethodDescriptionprotected Set<CmsSearchField>
CmsSolrFieldConfiguration.getXSDMappings
(CmsObject cms, CmsResource resource) Returns the search field mappings declared within the XSD.protected Set<CmsSearchField>
CmsSolrFieldConfiguration.getXSDMappingsForPage
(CmsObject cms, CmsResource resource) Returns the search field mappings declared within the XSD that should be applied to the container page.Modifier and TypeMethodDescriptionvoid
CmsSolrDocument.addSearchField
(CmsSearchField sfield, String value) protected I_CmsSearchDocument
CmsSolrFieldConfiguration.appendFieldMapping
(I_CmsSearchDocument document, CmsSearchField sfield, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, List<CmsProperty> properties, List<CmsProperty> propertiesSearched) -
Uses of CmsSearchField in org.opencms.xml.content
Modifier and TypeFieldDescriptionprotected Map<String,
CmsSearchField> CmsDefaultXmlContentHandler.m_searchFields
The Solr field configurations.protected Map<String,
CmsSearchField> CmsDefaultXmlContentHandler.m_searchFieldsPage
The Solr field configurations added to the container pages contents are on.Modifier and TypeMethodDescriptionCmsDefaultXmlContentHandler.getSearchFields()
I_CmsXmlContentHandler.getSearchFields()
Returns all configured Search fields for this XML content.CmsDefaultXmlContentHandler.getSearchFieldsForPage()
I_CmsXmlContentHandler.getSearchFieldsForPage()
Returns all configured Search fields for this XML content that should be attached to container pages the content is placed on.Modifier and TypeMethodDescriptionprotected void
CmsDefaultXmlContentHandler.addSearchField
(CmsXmlContentDefinition contentDefinition, CmsSearchField field) Deprecated.protected void
CmsDefaultXmlContentHandler.addSearchField
(CmsXmlContentDefinition contentDefinition, CmsSearchField field, I_CmsXmlContentHandler.MappingType type) Adds a Solr field for an element.