public class FieldHighlightings extends Object
Constructor and Description |
---|
FieldHighlightings(String fieldName) |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName()
The field name.
|
String[] |
getFragments(String documentId)
Returns the list of document's field highlighting fragments.
|
Map<String,String[]> |
getHighlightings() |
protected void |
update(QueryResult queryResult) |
public FieldHighlightings(String fieldName)
public String getFieldName()
public String[] getFragments(String documentId)
documentId
- The document id, or the map/reduce key field.protected void update(QueryResult queryResult)
Copyright © 2016. All Rights Reserved.