BoundJoinField

class BoundJoinField(name: String, type: FieldType<Join, String>, relations: Map<String, List<String>>, params: Params, parent: FieldSet) : BoundField<Join, String>

Represents join field.

Parameters

relations
  • map of parent to child relations

See more at https://www.elastic.co/guide/en/elasticsearch/reference/current/parent-join.html

Constructors

Link copied to clipboard
fun BoundJoinField(name: String, type: FieldType<Join, String>, relations: Map<String, List<String>>, params: Params, parent: FieldSet)

Types

Link copied to clipboard
inner class Parent(name: String) : FieldOperations<String>

Functions

Link copied to clipboard
open fun asc(mode: Sort.Mode? = null, numericType: Sort.NumericType? = null, missing: Sort.Missing? = null, unmappedType: FieldType<*, *>? = null, nested: Sort.Nested? = null): Sort
Link copied to clipboard
open fun desc(mode: Sort.Mode? = null, numericType: Sort.NumericType? = null, missing: Sort.Missing? = null, unmappedType: FieldType<*, *>? = null, nested: Sort.Nested? = null): Sort
Link copied to clipboard
open fun deserializeTerm(v: Any): String
Link copied to clipboard
open infix fun eq(term: String?): QueryExpression
open fun eq(term: String?, boost: Float? = null): QueryExpression
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun format(format: String? = null): FieldFormat
Link copied to clipboard
open override fun getFieldName(): String
Link copied to clipboard
open override fun getFieldType(): FieldType<Join, String>
Link copied to clipboard
open override fun getMappingParams(): Params
Link copied to clipboard
Link copied to clipboard
open override fun getQualifiedFieldName(): String
Link copied to clipboard
open infix fun gt(other: String?): Range<String>
Link copied to clipboard
open infix fun gte(other: String?): Range<String>
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open infix fun lt(other: String?): Range<String>
Link copied to clipboard
open infix fun lte(other: String?): Range<String>
Link copied to clipboard
open infix fun ne(term: String?): QueryExpression
open fun ne(term: String?, boost: Float? = null): QueryExpression
Link copied to clipboard
open fun oneOf(vararg terms: String): QueryExpression
open infix fun oneOf(terms: List<String>): QueryExpression
Link copied to clipboard
Link copied to clipboard
open fun range(gt: String? = null, gte: String? = null, lt: String? = null, lte: String? = null, boost: Float? = null): Range<String>
Link copied to clipboard
open fun serializeTerm(v: String): Any
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun toValue(): String

Extensions

Link copied to clipboard

A shortcut to get boosted field.

Link copied to clipboard
Link copied to clipboard