FacetByteSlice

data class FacetByteSlice(val byteStart: Long, val byteEnd: 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(byteStart: Long, byteEnd: Long)

Properties

Link copied to clipboard
Link copied to clipboard