Class DefaultHitHighlighterFactory
java.lang.Object
com.atlassian.confluence.impl.search.summary.DefaultHitHighlighterFactory
- All Implemented Interfaces:
HitHighlighterFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a new highlighter that uses the default formatter, and HTML encoding.
-
Constructor Details
-
DefaultHitHighlighterFactory
public DefaultHitHighlighterFactory(org.apache.lucene.analysis.Analyzer analyzer)
-
-
Method Details
-
create
Description copied from interface:HitHighlighterFactory
Create a new highlighter that uses the default formatter, and HTML encoding.The output format for hit highlights is:
Lorem ipsum <span class="search-highlight>dolor</span> sit amet
- Specified by:
create
in interfaceHitHighlighterFactory
-