Section navigation

Public namespace Rowles.LeanCorpus.Search.Queries

Classes

Public class BinaryPointInSetQuery

Matches binary doc values equal to any supplied byte sequence.

Public class BinaryRangeQuery

Matches binary doc values within a lexicographic byte range.

Public class BlockJoinQuery

Returns parent documents whose child documents match the given child query. Follows the Corpus block-join pattern: children are stored immediately before their parent within a segment.

Public class BooleanClause

Pairs a Query with an Occur specifying how it participates in a BooleanQuery.

Public class BooleanQuery

Combines sub-queries with MUST, SHOULD, and MUST_NOT clauses. Once a BooleanQuery has been built via BooleanQuery.Builder it is immutable; the clauses list is sealed and all properties are frozen.

Public class BooleanQuery.Builder

Builds an immutable BooleanQuery.

Public class CombinedFieldsQuery

Matches terms across several text fields using combined-field scoring semantics.

Public class ConstantScoreQuery

Wraps an inner query and assigns a constant score to every matching document, bypassing BM25 scoring. Useful for filter-mode boolean clauses.

Public class DisjunctionMaxQuery

Returns the maximum score from any sub-query for a matching document, plus an optional tie-breaking bonus from remaining sub-queries.

Public class DisjunctionMaxQuery.Builder

Builder for an immutable DisjunctionMaxQuery.

Public class FieldExistsQuery

Matches documents that contain at least one value for the named field.

Public class FieldMaskingSpanQuery

Reports spans from one field as though they belonged to another field.

Public class FunctionQuery

Matches every live document and scores it from a DoubleValuesSource.

Public class FunctionScoreQuery

Boosts an inner query's relevance score by a numeric field value.

Public class FuzzyQuery

Matches terms within a Levenshtein edit distance of the target term.

Public class InetAddressPointInSetQuery

Matches IPv4 or IPv6 values equal to any supplied address.

Public class InetAddressRangeQuery

Matches IPv4 or IPv6 values within an inclusive or exclusive address range.

Public class Int32PointInSetQuery

Matches any supplied 32-bit integer point.

Public class Int32RangeQuery

Numeric range query over 32-bit integer values.

Public class Int64PointInSetQuery

Matches documents whose 64-bit integer point value is equal to any value in the supplied set.

Public class Int64RangeQuery

Numeric range filter over 64-bit integer field values.

Public class IntervalsContainedBySource

Returns inner intervals that are fully contained by an outer interval.

Public class IntervalsContainingSource

Returns outer intervals that contain at least one inner interval.

Public class IntervalsNotContainingSource

Returns outer intervals that do not contain any inner interval.

Public class IntervalsOrSource

Union of any child interval source.

Public class IntervalsOrderedSource

Ordered interval composition across child sources.

Public class IntervalsPhraseSource

Interval source for an exact phrase.

Public class IntervalsQuery

Matches documents that produce at least one interval from the supplied source tree.

Public class IntervalsSource

Base type for interval-source nodes.

Public class IntervalsTermSource

Leaf interval source for a single exact term.

Public class IntervalsUnorderedSource

Unordered interval composition across child sources.

Public class MatchAllDocsQuery

Matches every live document in the index.

Public class MatchNoDocsQuery

Matches no documents.

Public class MoreLikeThisParameters

Configuration for MoreLikeThis term extraction and query generation.

Public class MoreLikeThisQuery

Finds documents similar to a source document by extracting significant terms from term vectors and constructing a weighted BooleanQuery.

Public class MultiPhraseQuery

Matches an ordered phrase where each slot can contain one of several alternative terms.

Public class PhraseQuery

Exact ordered phrase match using positional data, with optional slop.

Public class PointInSetQuery

Matches documents whose numeric point value is equal to any value in the supplied set.

Public class PrefixQuery

Matches all terms starting with a given prefix.

Public class RangeQuery

Numeric range filter over NumericField values.

Public class RegexpQuery

Matches all documents that contain a term matching the provided regular expression. The regex is applied to the bare term text (not the qualified field\0term form).

Public class RrfQuery

Reciprocal Rank Fusion (RRF) query that merges result lists from multiple child queries without requiring score normalisation.

Score formula: score(d) = Σ 1/(k + rank_i(d)) where k defaults to 60.

Public class SinglePointInSetQuery

Matches any supplied single-precision point.

Public class SingleRangeQuery

Numeric range query over single-precision values.

Public class SpanContainingQuery

Returns enclosing spans that contain a matching inner span.

Public class SpanFirstQuery

Matches spans whose end position is at or before a field position.

Public class SpanMultiTermQueryWrapper

Expands a multi-term query into position-aware term spans at search time.

Public class SpanNearQuery

Matches documents where the spans from all clauses appear within Slop positions of each other. When InOrder is true, the spans must appear in the given order.

Public class SpanNotQuery

Matches spans from Include that do not overlap with any span from Exclude.

Public class SpanOrQuery

Matches documents that match any of the provided span sub-queries.

Public class SpanQuery

Base type for position-aware queries that produce spans.

Public class SpanTermQuery

A span query matching a single term.

Public class SpanWithinQuery

Returns inner spans that are contained by a matching enclosing span.

Public class SynonymQuery

Matches any of several terms as one scoring unit.

Public class TermInSetQuery

Matches documents containing any of the exact terms in the supplied set.

Public class TermQuery

Single exact-term lookup against the index.

Public class TermRangeQuery

Matches documents whose field value falls within a lexicographic range. Bounds can be inclusive or exclusive; null means unbounded.

Public class TermsQuery

Matches documents containing any exact UTF-8 term in the supplied set.

Public class VectorQuery

ANN search over vector data using HNSW when available, with a flat SIMD fallback.

Public class WildcardQuery

Matches terms using wildcard patterns (* = any chars, ? = single char).

Structs

Public struct Span

A span: a contiguous range of positions in a document.

Enums

Public enum ScoreMode

How to combine the inner query's BM25 score with the numeric field value.