public interface Result
Metacard fields when a Metacard is returned from
a query. It adds a relevance score and distance in meters to the Metacard's existing
attributes.Query| Modifier and Type | Field and Description |
|---|---|
static String |
DISTANCE
Constant used to specify a sort policy based on distance.
|
static String |
RELEVANCE
Constant used to specify a sort policy based on relevance.
|
static String |
TEMPORAL
Constant used to specify a sort policy based on temporal data.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getDistanceInMeters()
Gets the distance in meters.
|
Metacard |
getMetacard()
Gets the
Metacard wrapped by this Result. |
Double |
getRelevanceScore()
Gets the relevance score.
|
static final String RELEVANCE
static final String DISTANCE
static final String TEMPORAL
Metacard getMetacard()
Metacard wrapped by this Result.Metacard wrapped by this ResultDouble getRelevanceScore()
Double getDistanceInMeters()
Result was not part of a search that was sorted by
distance.This work is licensed under a Creative Commons Attribution 4.0 International License.