Uses of Class
org.opencms.search.fields.CmsSearchField
Packages that use 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
Methods in org.opencms.search with parameters of type CmsSearchFieldModifier and TypeMethodDescriptionvoidCmsLuceneDocument.addSearchField(CmsSearchField field, String value) voidI_CmsSearchDocument.addSearchField(CmsSearchField field, String value) Adds a dynamic search field to the index.booleanCmsSearchManager.removeSearchFieldConfigurationField(I_CmsSearchFieldConfiguration fieldConfiguration, CmsSearchField field) Removes a search field from the field configuration. -
Uses of CmsSearchField in org.opencms.search.fields
Subclasses of CmsSearchField in org.opencms.search.fieldsModifier and TypeClassDescriptionclassAn individual field configuration in a Lucene search index.Methods in org.opencms.search.fields that return CmsSearchFieldModifier and TypeMethodDescriptionReturns the configuredCmsSearchFieldinstance with the given name.Methods in org.opencms.search.fields that return types with arguments of type CmsSearchFieldModifier and TypeMethodDescriptionA_CmsSearchFieldConfiguration.getFields()Returns the list of configuredCmsSearchFieldinstances.I_CmsSearchFieldConfiguration.getFields()Returns the configuredCmsSearchFieldinstance with the given name.Methods in org.opencms.search.fields with parameters of type CmsSearchFieldModifier and TypeMethodDescriptionvoidA_CmsSearchFieldConfiguration.addField(CmsSearchField field) Adds a field to this search field configuration.voidCmsLuceneFieldConfiguration.addField(CmsSearchField field) voidI_CmsSearchFieldConfiguration.addField(CmsSearchField field) Adds a field to this search field configuration.protected I_CmsSearchDocumentCmsSearchFieldConfiguration.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
Subclasses of CmsSearchField in org.opencms.search.solrModifier and TypeClassDescriptionclassAn individual field for the Solr search index.Methods in org.opencms.search.solr that return types with arguments of type CmsSearchFieldModifier 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.Methods in org.opencms.search.solr with parameters of type CmsSearchFieldModifier and TypeMethodDescriptionvoidCmsSolrDocument.addSearchField(CmsSearchField sfield, String value) protected I_CmsSearchDocumentCmsSolrFieldConfiguration.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
Fields in org.opencms.xml.content with type parameters of type CmsSearchFieldModifier and TypeFieldDescriptionprotected Map<String, CmsSearchField> CmsDefaultXmlContentHandler.m_searchFieldsThe Solr field configurations.protected Map<String, CmsSearchField> CmsDefaultXmlContentHandler.m_searchFieldsPageThe Solr field configurations added to the container pages contents are on.Methods in org.opencms.xml.content that return types with arguments of type CmsSearchFieldModifier 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.Methods in org.opencms.xml.content with parameters of type CmsSearchFieldModifier and TypeMethodDescriptionprotected voidCmsDefaultXmlContentHandler.addSearchField(CmsXmlContentDefinition contentDefinition, CmsSearchField field) Deprecated.protected voidCmsDefaultXmlContentHandler.addSearchField(CmsXmlContentDefinition contentDefinition, CmsSearchField field, I_CmsXmlContentHandler.MappingType type) Adds a Solr field for an element.