Companion

object Companion

Functions

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

Create a query for matching an exact String value.

fun newExactQuery(field: String, value: BytesRef): Query

Create a query for matching an exact BytesRef value.

Link copied to clipboard

Create a query for matching any of a set of provided BytesRef values.

Link copied to clipboard
fun newSortField(field: String, reverse: Boolean, selector: SortedSetSelector.Type): SortField

Create a new SortField for BytesRef values.