Package org.opencms.jsp.search.config
Class CmsSearchConfigurationHighlighting
java.lang.Object
org.opencms.jsp.search.config.CmsSearchConfigurationHighlighting
- All Implemented Interfaces:
I_CmsSearchConfigurationHighlighting
public class CmsSearchConfigurationHighlighting
extends Object
implements I_CmsSearchConfigurationHighlighting
Search configuration for highlighting options.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.commons.logging.LogLogger for the class. -
Constructor Summary
ConstructorsConstructorDescriptionThe constructor setting all configuration values. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Returns the value set for the configuration parameter.Deprecated.Deprecated.Deprecated.Deprecated.
-
Field Details
-
LOG
Logger for the class.
-
-
Constructor Details
-
CmsSearchConfigurationHighlighting
The constructor setting all configuration values.- Parameters:
params- the highlighting parameters as given to solr, all without the "hl." prefix that is added automatically.
-
-
Method Details
-
getAlternateHighlightField
Deprecated.Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the index field whose content should be used if no highlighting snippet is available.- Specified by:
getAlternateHighlightFieldin interfaceI_CmsSearchConfigurationHighlighting- Returns:
- The index field whose content should be used if no highlighting snippet is available. (Solr: hl.alternateField)
- See Also:
-
getFormatter
Deprecated.Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the formatter that should be used for highlighting.- Specified by:
getFormatterin interfaceI_CmsSearchConfigurationHighlighting- Returns:
- The formatter that should be used for highlighting. (Solr: hl.formatter)
- See Also:
-
getFragmenter
Deprecated.Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the fragmenter that should be used for highlighting.- Specified by:
getFragmenterin interfaceI_CmsSearchConfigurationHighlighting- Returns:
- The fragmenter that should be used for highlighting. (Solr: hl.fragmenter)
- See Also:
-
getFragSize
Deprecated.Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the maximal size a highlighted snippet should have.- Specified by:
getFragSizein interfaceI_CmsSearchConfigurationHighlighting- Returns:
- The maximal size a highlighted snippet should have. (Solr: hl.fragsize)
- See Also:
-
getHightlightField
Deprecated.Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the index field that should be used for highlighting.- Specified by:
getHightlightFieldin interfaceI_CmsSearchConfigurationHighlighting- Returns:
- The index field that should be used for highlighting.
- See Also:
-
getMaxAlternateHighlightFieldLength
Deprecated.Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the maximal length of the snippet that should be shown from the alternative field, if no highlighting snippet was found.- Specified by:
getMaxAlternateHighlightFieldLengthin interfaceI_CmsSearchConfigurationHighlighting- Returns:
- The maximal length of the snippet that should be shown from the alternative field, if no highlighting snippet was found. (Solr: hl.maxAlternateFieldLength)
- See Also:
-
getParams
Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the value set for the configuration parameter.- Specified by:
getParamsin interfaceI_CmsSearchConfigurationHighlighting- Returns:
- the value that is set, or
nullif the value is not set explicitly. - See Also:
-
getSimplePost
Deprecated.Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the String that should be inserted directly after the term that should be highlighted.- Specified by:
getSimplePostin interfaceI_CmsSearchConfigurationHighlighting- Returns:
- The String that should be inserted directly after the term that should be highlighted. (Solr: hl.simple.post)
- See Also:
-
getSimplePre
Deprecated.Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the String that should be inserted directly in front of the term that should be highlighted.- Specified by:
getSimplePrein interfaceI_CmsSearchConfigurationHighlighting- Returns:
- The String that should be inserted directly in front the term that should be highlighted. (Solr: hl.simple.pre)
- See Also:
-
getSnippetsCount
Deprecated.Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the number of highlighted snippets that should be returned.- Specified by:
getSnippetsCountin interfaceI_CmsSearchConfigurationHighlighting- Returns:
- The number of highlighted snippets that should be returned. (Solr: hl.snippets)
- See Also:
-
getUseFastVectorHighlighting
Deprecated.Description copied from interface:I_CmsSearchConfigurationHighlightingReturns the flag, that indicates if fast vector highlighting should be used.- Specified by:
getUseFastVectorHighlightingin interfaceI_CmsSearchConfigurationHighlighting- Returns:
- The flag, that indicates if fast vector highlighting should be used. (Solr: hl.useFastVectorHighlighting)
- See Also:
-