| 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
I_CmsSearchDocument.addSearchField(CmsSearchField field,
java.lang.String value)
Adds a dynamic search field to the index.
|
void |
CmsLuceneDocument.addSearchField(CmsSearchField field,
java.lang.String value) |
boolean |
CmsSearchManager.removeSearchFieldConfigurationField(I_CmsSearchFieldConfiguration fieldConfiguration,
CmsSearchField field)
Removes a search field from the field configuration.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CmsLuceneField
An individual field configuration in a Lucene search index.
|
| Modifier and Type | Method and Description |
|---|---|
CmsSearchField |
A_CmsSearchFieldConfiguration.getField(java.lang.String name)
Returns the configured
CmsSearchField instance with the given name. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CmsSearchField> |
A_CmsSearchFieldConfiguration.getFields()
Returns the list of configured
CmsSearchField instances. |
java.util.List<CmsSearchField> |
I_CmsSearchFieldConfiguration.getFields()
Returns the configured
CmsSearchField instance with the given name. |
| Modifier and Type | Method and Description |
|---|---|
void |
CmsLuceneFieldConfiguration.addField(CmsSearchField field) |
void |
A_CmsSearchFieldConfiguration.addField(CmsSearchField field)
Adds a field to this search field configuration.
|
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CmsSolrField
An individual field for the Solr search index.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and 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) |
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and 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.
|