public interface SearchResultDocument
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getFieldNames()
May return an empty collection, but never null.
|
Collection<Object> |
getFieldValues(String name)
Get the values for the named field.
|
Map<String,Collection<Object>> |
getFieldValuesMap()
May return an empty map, but never null.
|
Object |
getFirstValue(String name)
May return null.
|
String |
getStringValue(String name)
Gets the first value for the named field, and converts it to a String.
|
String |
getUniqueId()
A document identifier that can be used in SearchEngine.deleteById();
Never null.
|
String getUniqueId()
Collection<String> getFieldNames()
String getStringValue(String name)
Collection<Object> getFieldValues(String name)
Map<String,Collection<Object>> getFieldValuesMap()
Copyright © 2016. All rights reserved.