FacetByteSlice

data class FacetByteSlice(val byteEnd: Long, val byteStart: Long)

Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.

Constructors

Link copied to clipboard
constructor(byteEnd: Long, byteStart: Long)

Properties

Link copied to clipboard
Link copied to clipboard