public static final class DiscoverResult.IndexableObjectHighlightResult extends Object
| Constructor and Description |
|---|
IndexableObjectHighlightResult(IndexableObject idxObj,
Map<String,List<String>> highlightResults) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
getHighlightResults()
All the matching snippets in whatever metadata ignoring any authority value
|
List<String> |
getHighlightResults(String metadataKey)
The matching snippets for a specific metadata ignoring any authority value
|
IndexableObject |
getIndexableObject()
Return the indexable object that the highlighting snippets refer to
|
public IndexableObjectHighlightResult(IndexableObject idxObj, Map<String,List<String>> highlightResults)
public IndexableObject getIndexableObject()
public List<String> getHighlightResults(String metadataKey)
metadataKey - the metadata where the snippets have been foundCopyright © 2019 DuraSpace. All rights reserved.