@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface Highlight
| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
fields
Fieldnames to be used for
hl.fl. |
String |
formatter
set
hl.formatter |
int |
fragsize
sets
hl.fragsize |
String |
postfix
set
hl.simple.post in case formatter not set or 'simple' otherwise hl.tag.post |
String |
prefix
set
hl.simple.pre in case formatter not set or 'simple' otherwise hl.tag.pre |
String |
query
Query to be used for
hl.q |
int |
snipplets
set
hl.snipplets |
public abstract String[] fields
hl.fl.public abstract String query
hl.qpublic abstract String formatter
hl.formatterpublic abstract String prefix
hl.simple.pre in case formatter not set or 'simple' otherwise hl.tag.prepublic abstract String postfix
hl.simple.post in case formatter not set or 'simple' otherwise hl.tag.postCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.