Class DefaultHitHighlighterFactory
- java.lang.Object
-
- com.atlassian.confluence.impl.search.summary.DefaultHitHighlighterFactory
-
- All Implemented Interfaces:
HitHighlighterFactory
public class DefaultHitHighlighterFactory extends Object implements HitHighlighterFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultHitHighlighterFactory(org.apache.lucene.analysis.Analyzer analyzer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HitHighlighter
create(String queryString)
Create a new highlighter that uses the default formatter, and HTML encoding.
-
-
-
Method Detail
-
create
public HitHighlighter create(String queryString)
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
-
-