Uses of Class
org.opencms.search.fields.CmsSearchField
-
Packages that use CmsSearchField Package Description org.opencms.search Implements the main full text search and indexing functions available in OpenCms.org.opencms.search.fields These classes control the mapping of the OpenCms content to the Lucene search fields.org.opencms.search.solr The package contains the Solr search integration.org.opencms.xml.content 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 CmsSearchField Modifier and Type Method Description void
CmsLuceneDocument. addSearchField(CmsSearchField field, java.lang.String value)
void
I_CmsSearchDocument. addSearchField(CmsSearchField field, java.lang.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
Subclasses of CmsSearchField in org.opencms.search.fields Modifier and Type Class Description class
CmsLuceneField
An individual field configuration in a Lucene search index.Methods in org.opencms.search.fields that return CmsSearchField Modifier and Type Method Description CmsSearchField
A_CmsSearchFieldConfiguration. getField(java.lang.String name)
Returns the configuredCmsSearchField
instance with the given name.Methods in org.opencms.search.fields that return types with arguments of type CmsSearchField Modifier and Type Method Description java.util.List<CmsSearchField>
A_CmsSearchFieldConfiguration. getFields()
Returns the list of configuredCmsSearchField
instances.java.util.List<CmsSearchField>
I_CmsSearchFieldConfiguration. getFields()
Returns the configuredCmsSearchField
instance with the given name.Methods in org.opencms.search.fields with parameters of type CmsSearchField Modifier and Type Method Description void
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, java.util.List<CmsProperty> properties, java.util.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.solr Modifier and Type Class Description class
CmsSolrField
An individual field for the Solr search index.Methods in org.opencms.search.solr that return types with arguments of type CmsSearchField Modifier and Type Method Description protected java.util.Set<CmsSearchField>
CmsSolrFieldConfiguration. getXSDMappings(CmsObject cms, CmsResource resource)
Returns the search field mappings declared within the XSD.protected java.util.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 CmsSearchField Modifier and Type Method Description void
CmsSolrDocument. addSearchField(CmsSearchField sfield, java.lang.String value)
protected I_CmsSearchDocument
CmsSolrFieldConfiguration. appendFieldMapping(I_CmsSearchDocument document, CmsSearchField sfield, CmsObject cms, CmsResource resource, I_CmsExtractionResult extractionResult, java.util.List<CmsProperty> properties, java.util.List<CmsProperty> propertiesSearched)
-
Uses of CmsSearchField in org.opencms.xml.content
Fields in org.opencms.xml.content with type parameters of type CmsSearchField Modifier and Type Field Description protected java.util.Map<java.lang.String,CmsSearchField>
CmsDefaultXmlContentHandler. m_searchFields
The Solr field configurations.protected java.util.Map<java.lang.String,CmsSearchField>
CmsDefaultXmlContentHandler. m_searchFieldsPage
The Solr field configurations added to the container pages contents are on.Methods in org.opencms.xml.content that return types with arguments of type CmsSearchField Modifier and Type Method Description java.util.Set<CmsSearchField>
CmsDefaultXmlContentHandler. getSearchFields()
java.util.Set<CmsSearchField>
I_CmsXmlContentHandler. getSearchFields()
Returns all configured Search fields for this XML content.java.util.Set<CmsSearchField>
CmsDefaultXmlContentHandler. getSearchFieldsForPage()
java.util.Set<CmsSearchField>
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 CmsSearchField Modifier and Type Method Description protected 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.
-