Example usage for Java org.springframework.data.solr.core.query HighlightOptions fields, constructors, methods, implement or subclass
The text is from its open source code.
Field | ALL_FIELDS |
HighlightOptions | addField(Field field) Add field to highlight |
HighlightOptions | addField(String fieldname) Add name of field to highlight on |
HighlightOptions | addField(String... fieldnames) Add names of fields to highlight on |
HighlightOptions | addHighlightParameter(String parameterName, Object value) Add parameter by name |
List | getFields() |
Collection | getFieldsWithHighlightParameters() Get Collection of fields that have field specific highlight options. |
String | getFormatter() |
Integer | getFragsize() |
Collection | getHighlightParameters() |
Integer | getNrSnipplets() |
FilterQuery | getQuery() |
boolean | hasFields() |
boolean | hasQuery() |
HighlightOptions | setFormatter(String formatter) set formatter hl.formatter |
HighlightOptions | setFragsize(Integer fragsize) set fragsize hl.fragsize . |
HighlightOptions | setNrSnipplets(Integer nrSnipplets) set hl.snippets |
HighlightOptions | setSimplePostfix(String postfix) set hl.simple.post |
HighlightOptions | setSimplePrefix(String prefix) set hl.simple.pre |