@InterfaceStability.Committed @InterfaceAudience.Public public interface SearchQueryRow
Modifier and Type | Method and Description |
---|---|
JsonObject |
explanation()
If
requested in the query , an explanation of the match, in JSON form. |
Map<String,String> |
fields()
The value of each requested field (as defined in the
SearchQuery . |
Map<String,List<String>> |
fragments()
The fragments for each field that was requested as highlighted
(as defined in the
SearchParams ). |
String |
id()
The id of the matching document.
|
String |
index()
The name of the FTS pindex that gave this result.
|
HitLocations |
locations()
This hit's location, as an
HitLocations map-like object. |
double |
score()
The score of this hit.
|
String index()
String id()
double score()
JsonObject explanation()
requested in the query
, an explanation of the match, in JSON form.HitLocations locations()
HitLocations
map-like object.Map<String,List<String>> fragments()
SearchParams
).
A fragment is an extract of the field's value where the matching terms occur.
Matching terms are surrounded by a <match>
tag.Map
. Keys are the fields.Map<String,String> fields()
SearchQuery
.Map
. Keys are the fields.Copyright © 2015 Couchbase, Inc.