Class HitLocation
- java.lang.Object
-
- com.couchbase.client.java.search.result.hits.HitLocation
-
@Uncommitted @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,arrayPositionswill indicate which index/indices in the array contain the term.- Since:
- 2.3.0
- Author:
- Simon Baslé, Michael Nitschinger
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]arrayPositions()longend()booleanequals(Object o)Stringfield()inthashCode()longpos()longstart()Stringterm()StringtoString()
-