@InterfaceStability.Experimental @InterfaceAudience.Public public class HitLocation extends Object
A FTS result hit location indicates at which position a given term occurs inside a given field. In case the field is an array, arrayPositions
will indicate which index/indices in the array contain the term.
Constructor and Description |
---|
HitLocation(String field,
String term,
long pos,
long start,
long end) |
HitLocation(String field,
String term,
long pos,
long start,
long end,
long[] arrayPositions) |
Modifier and Type | Method and Description |
---|---|
long[] |
arrayPositions() |
long |
end() |
boolean |
equals(Object o) |
String |
field() |
int |
hashCode() |
long |
pos() |
long |
start() |
String |
term() |
String |
toString() |
public HitLocation(String field, String term, long pos, long start, long end, long[] arrayPositions)
Copyright © 2015 Couchbase, Inc.