Class CmsSearchConfigurationHighlighting

    • Constructor Summary

      Constructors 
      Constructor Description
      CmsSearchConfigurationHighlighting​(java.lang.String field, java.lang.Integer snippetCount, java.lang.Integer fragSize, java.lang.String alternateField, java.lang.Integer maxAlternateFieldLength, java.lang.String pre, java.lang.String post, java.lang.String formatter, java.lang.String fragmenter, java.lang.Boolean useFastVectorHighlighting)
      The constructor setting all configuration values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAlternateHighlightField()
      Returns the index field whose content should be used if no highlighting snippet is available.
      java.lang.String getFormatter()
      Returns the formatter that should be used for highlighting.
      java.lang.String getFragmenter()
      Returns the fragmenter that should be used for highlighting.
      java.lang.Integer getFragSize()
      Returns the maximal size a highlighted snippet should have.
      java.lang.String getHightlightField()
      Returns the index field that should be used for highlighting.
      java.lang.Integer getMaxAlternateHighlightFieldLength()
      Returns the maximal length of the snippet that should be shown from the alternative field, if no highlighting snippet was found.
      java.lang.String getSimplePost()
      Returns the String that should be inserted directly after the term that should be highlighted.
      java.lang.String getSimplePre()
      Returns the String that should be inserted directly in front of the term that should be highlighted.
      java.lang.Integer getSnippetsCount()
      Returns the number of highlighted snippets that should be returned.
      java.lang.Boolean getUseFastVectorHighlighting()
      Returns the flag, that indicates if fast vector highlighting should be used.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait