public class DefaultHighlightParams extends Object implements HightlightParams
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ENCODER |
static String |
NONE_ENCODER |
Constructor and Description |
---|
DefaultHighlightParams()
Deprecated.
since 5.10.5 Use the other constructors
|
DefaultHighlightParams(SearchQuery query)
Constructs a parameter object used for highlighting
|
DefaultHighlightParams(String encoder)
Deprecated.
since 5.10.5 Use the other constructors
|
DefaultHighlightParams(String encoder,
SearchQuery query)
Constructs a parameter object used for highlighting
|
Modifier and Type | Method and Description |
---|---|
String |
getEncoder()
The encoding required for highlight result.
|
String |
getPostTag() |
String |
getPreTag() |
SearchQuery |
getQuery() |
public static final String DEFAULT_ENCODER
public static final String NONE_ENCODER
@Deprecated public DefaultHighlightParams()
public DefaultHighlightParams(SearchQuery query)
query
- the query used to highlight query terms in the search result@Deprecated public DefaultHighlightParams(String encoder)
public DefaultHighlightParams(String encoder, SearchQuery query)
encoder
- the encoder to usequery
- the query used to highlight query terms in the search resultpublic String getPreTag()
getPreTag
in interface HightlightParams
public String getPostTag()
getPostTag
in interface HightlightParams
public String getEncoder()
HightlightParams
getEncoder
in interface HightlightParams
public SearchQuery getQuery()
getQuery
in interface HightlightParams
Copyright © 2003–2016 Atlassian. All rights reserved.