Package org.opencms.configuration
Class CmsSearchConfiguration
java.lang.Object
org.opencms.configuration.A_CmsXmlConfiguration
org.opencms.configuration.CmsSearchConfiguration
- All Implemented Interfaces:
I_CmsConfigurationParameterHandler
,I_CmsXmlConfiguration
Lucene search configuration class.
- Since:
- 6.0.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The "analyzer" attribute.static final String
The "boost" attribute.static final String
The "displayName" attribute.static final String
The "excerpt" attribute.static final String
The "index" attribute.static final String
The Solr server URL attribute, set if embedded = false.static final String
The "store" attribute.static final String
The name of the DTD for this configuration.static final String
The name of the default XML file for this configuration.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.static final String
Node name constant.Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD
Fields inherited from interface org.opencms.configuration.I_CmsXmlConfiguration
A_ALIAS, A_CLASS, A_COUNT, A_DEFAULT, A_DESTINATION, A_ENABLED, A_FROM, A_HANDLER, A_ICON, A_ID, A_KEY, A_MODE, A_NAME, A_ORDER, A_PASSWORD, A_PORT, A_PROTOCOL, A_SUFFIX, A_TO, A_TYPE, A_URI, A_USER, A_VALUE, N_EXPORTPOINT, N_EXPORTPOINTS, N_NAME, N_PARAM, N_PROPERTY, N_RESOURCE, N_SITE, N_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addXmlDigesterRules
(org.apache.commons.digester3.Digester digester) Digests an XML node and creates an instance of this configurable class.org.dom4j.Element
generateXml
(org.dom4j.Element parent) Generates the XML element for this configurable class.Returns the name of the DTD file for this XML configuration, e.g.Returns the generated search manager.void
Will be called when configuration of this object is finished.protected void
Initializes member variables.void
setSearchManager
(CmsSearchManager manager) Sets the generated search manager.Methods inherited from class org.opencms.configuration.A_CmsXmlConfiguration
addConfigurationParameter, getConfiguration, getDtdSystemLocation, getDtdUrlPrefix, getXmlFileName, initConfiguration, setXmlFileName
-
Field Details
-
A_ANALYZER
The "analyzer" attribute.- See Also:
-
A_BOOST
The "boost" attribute.- See Also:
-
A_DISPLAY
The "displayName" attribute.- See Also:
-
A_EXCERPT
The "excerpt" attribute.- See Also:
-
A_INDEX
The "index" attribute.- See Also:
-
A_SERVER_URL
The Solr server URL attribute, set if embedded = false.- See Also:
-
A_STORE
The "store" attribute.- See Also:
-
CONFIGURATION_DTD_NAME
The name of the DTD for this configuration.- See Also:
-
DEFAULT_XML_FILE_NAME
The name of the default XML file for this configuration.- See Also:
-
N_ANALYZER
Node name constant.- See Also:
-
N_ANALYZERS
Node name constant.- See Also:
-
N_CLASS
Node name constant.- See Also:
-
N_COMMIT_MS
Node name constant.- See Also:
-
N_CONFIG_FILE
Node name constant.- See Also:
-
N_CONFIGURATION
Node name constant.- See Also:
-
N_DESCRIPTION
Node name constant.- See Also:
-
N_DIRECTORY
Node name constant.- See Also:
-
N_DOCUMENTTYPE
Node name constant.- See Also:
-
N_DOCUMENTTYPES
Node name constant.- See Also:
-
N_DOCUMENTTYPES_INDEXED
Node name constant.- See Also:
-
N_EXCERPT
Node name constant.- See Also:
-
N_EXTRACTION_CACHE_MAX_AGE
Node name constant.- See Also:
-
N_FIELD
Node name constant.- See Also:
-
N_FIELDCONFIGURATION
Node name constant.- See Also:
-
N_FIELDCONFIGURATIONS
Node name constant.- See Also:
-
N_FIELDS
Node name constant.- See Also:
-
N_FORCEUNLOCK
Node name constant.- See Also:
-
N_HIGHLIGHTER
Node name constant.- See Also:
-
N_HOME
Node name constant.- See Also:
-
N_INDEX
Node name constant.- See Also:
-
N_INDEXER
Node name constant.- See Also:
-
N_INDEXES
Node name constant.- See Also:
-
N_INDEXSOURCE
Node name constant.- See Also:
-
N_INDEXSOURCES
Node name constant.- See Also:
-
N_LOCALE
Node name constant.- See Also:
-
N_MAPPING
Node name constant.- See Also:
-
N_MAX_MODIFICATIONS_BEFORE_COMMIT
Node name constant.- See Also:
-
N_MIMETYPE
Node name constant.- See Also:
-
N_MIMETYPES
Node name constant.- See Also:
-
N_OFFLINE_UPDATE_FREQUENCY
Node name constant.- See Also:
-
N_MAX_INDEX_WAIT_TIME
Node name constant.- See Also:
-
N_PROJECT
Node name constant.- See Also:
-
N_REBUILD
Node name constant.- See Also:
-
N_RESOURCES
Node name constant.- See Also:
-
N_RESOURCETYPE
Node name constant.- See Also:
-
N_RESOURCETYPES
Node name constant.- See Also:
-
N_SEARCH
Node name constant.- See Also:
-
N_SOLR
Node name constant.- See Also:
-
N_SOURCE
Node name constant.- See Also:
-
N_SOURCES
Node name constant.- See Also:
-
N_STEMMER
Node name constant.- See Also:
-
N_TIMEOUT
Node name constant.- See Also:
-
-
Constructor Details
-
CmsSearchConfiguration
public CmsSearchConfiguration()
-
-
Method Details
-
addXmlDigesterRules
Description copied from interface:I_CmsXmlConfiguration
Digests an XML node and creates an instance of this configurable class.- Parameters:
digester
- the digester to use- See Also:
-
generateXml
Description copied from interface:I_CmsXmlConfiguration
Generates the XML element for this configurable class.- Parameters:
parent
- the parent element in the XML tree- Returns:
- the XML element for this configurable class
- See Also:
-
getDtdFilename
Description copied from interface:I_CmsXmlConfiguration
Returns the name of the DTD file for this XML configuration, e.g.opencms-configuration.dtd
.- Returns:
- the name of the DTD file for this XML configuration
- See Also:
-
getSearchManager
Returns the generated search manager.- Returns:
- the generated search manager
-
initializeFinished
Will be called when configuration of this object is finished. -
setSearchManager
Sets the generated search manager.- Parameters:
manager
- the search manager to set
-
initMembers
Description copied from class:A_CmsXmlConfiguration
Initializes member variables.- Specified by:
initMembers
in classA_CmsXmlConfiguration
- See Also:
-