Companion

object Companion

Functions

Link copied to clipboard
fun newExactQuery(field: String, value: ByteArray): Query

Create a query for matching an exact binary value.

Link copied to clipboard
fun newRangeQuery(field: String, lowerValue: Array<ByteArray>, upperValue: Array<ByteArray>): Query

Create a range query for n-dimensional binary values.

fun newRangeQuery(field: String, lowerValue: ByteArray, upperValue: ByteArray): Query

Create a range query for binary values.

Link copied to clipboard
fun newSetQuery(field: String, values: Array<ByteArray>): Query

Create a query matching any of the specified 1D values. This is the points equivalent of TermsQuery.