public class RecordmSearchHit extends Object
Constructor and Description |
---|
RecordmSearchHit(Map<String,Object> raw) |
Modifier and Type | Method and Description |
---|---|
Object |
get(String name)
The value of a matching property.
|
Integer |
getId()
The value of the ES id for this doc.
|
Map<String,Object> |
getRaw()
Return the raw representation of this
RecordmSearchHit as a Map . |
Object |
value(String name)
Get one or all the values of fields with the specified name.
|
List |
values(String name)
Get all the values of fields with the specified name.
|
public Object get(String name)
value(String)
name
- the name of the propertypublic Integer getId()
public Map<String,Object> getRaw()
RecordmSearchHit
as a Map
.public Object value(String name)
name
- the name of the field(s)public List values(String name)
name
- the name of the fieldCopyright © 2021 Cult Of Bits, lda