Package org.opencms.jsp.search.config
Interface I_CmsSearchConfigurationHighlighting
- All Known Implementing Classes:
CmsSearchConfigurationHighlighting
public interface I_CmsSearchConfigurationHighlighting
The interface each highlighting configuration must implement.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Returns the value set for the configuration parameter.Deprecated.Deprecated.Deprecated.Deprecated.
-
Method Details
-
getAlternateHighlightField
Deprecated.Returns the index field whose content should be used if no highlighting snippet is available.- Returns:
- The index field whose content should be used if no highlighting snippet is available. (Solr: hl.alternateField)
-
getFormatter
Deprecated.Returns the formatter that should be used for highlighting.- Returns:
- The formatter that should be used for highlighting. (Solr: hl.formatter)
-
getFragmenter
Deprecated.Returns the fragmenter that should be used for highlighting.- Returns:
- The fragmenter that should be used for highlighting. (Solr: hl.fragmenter)
-
getFragSize
Deprecated.Returns the maximal size a highlighted snippet should have.- Returns:
- The maximal size a highlighted snippet should have. (Solr: hl.fragsize)
-
getHightlightField
Deprecated.Returns the index field that should be used for highlighting.- Returns:
- The index field that should be used for highlighting.
-
getMaxAlternateHighlightFieldLength
Deprecated.Returns the maximal length of the snippet that should be shown from the alternative field, if no highlighting snippet was found.- Returns:
- The maximal length of the snippet that should be shown from the alternative field, if no highlighting snippet was found. (Solr: hl.maxAlternateFieldLength)
-
getParams
Returns the value set for the configuration parameter.- Parameters:
paramName- the parameter name without the preceeding 'hl.'.- Returns:
- the value that is set, or
nullif the value is not set explicitly.
-
getSimplePost
Deprecated.Returns the String that should be inserted directly after the term that should be highlighted.- Returns:
- The String that should be inserted directly after the term that should be highlighted. (Solr: hl.simple.post)
-
getSimplePre
Deprecated.Returns the String that should be inserted directly in front of the term that should be highlighted.- Returns:
- The String that should be inserted directly in front the term that should be highlighted. (Solr: hl.simple.pre)
-
getSnippetsCount
Deprecated.Returns the number of highlighted snippets that should be returned.- Returns:
- The number of highlighted snippets that should be returned. (Solr: hl.snippets)
-
getUseFastVectorHighlighting
Deprecated.Returns the flag, that indicates if fast vector highlighting should be used.- Returns:
- The flag, that indicates if fast vector highlighting should be used. (Solr: hl.useFastVectorHighlighting)
-