RangeFieldQuery

abstract class RangeFieldQuery : Query

Query class for searching RangeField types by a defined Relation.

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Used by RangeFieldQuery to check how each internal or leaf node relates to the query.

Properties

Link copied to clipboard

number of bytes per dimension

Link copied to clipboard

ByteArrayComparator selected by bytesPerDim

Link copied to clipboard

field name

Link copied to clipboard

number of dimensions - max 4

Link copied to clipboard

query relation intersects: CELL_CROSSES_QUERY, contains: CELL_CONTAINS_QUERY, within: CELL_WITHIN_QUERY

Link copied to clipboard

ranges encoded as a sortable byte array

Functions

Link copied to clipboard
open override fun createWeight(searcher: IndexSearcher, scoreMode: ScoreMode, boost: Float): Weight

Expert: Constructs an appropriate Weight implementation for this query.

Link copied to clipboard
open operator override fun equals(o: Any?): Boolean

Override and implement query instance equivalence properly in a subclass. This is required so that QueryCache works properly.

Link copied to clipboard
open override fun hashCode(): Int

Override and implement query hash code properly in a subclass. This is required so that [ ] works properly.

Link copied to clipboard
open fun rewrite(indexSearcher: IndexSearcher): Query

Expert: called to re-write queries into primitive queries. For example, a PrefixQuery will be rewritten into a BooleanQuery that consists of TermQuerys.

Link copied to clipboard
open override fun toString(field: String?): String

Prints a query to a string, with field assumed to be the default field and omitted.

open override fun toString(): String

Prints a query to a string.

Link copied to clipboard
open override fun visit(visitor: QueryVisitor)

Recurse through the query tree, visiting any child queries.