Querylight TS Demo

API Reference

Generated symbol-level API documentation for the published Querylight TS surface.

Back to docs search

Reference Entry

API Reference

API Reference · foundation · order 1

Generated symbol-level API documentation for the published Querylight TS surface.

API Reference

Generated symbol-level documentation for the published @tryformation/querylight-ts API surface.

Use this section for constructor signatures, interfaces, type aliases, and exported utility functions. Use the rest of the docs for guides and behavior-focused articles.

Classes

  • Analyzer: Configurable analyzer pipeline used by text indexes and query parsing.
  • BoolQuery: Boolean composition query with Elasticsearch-style should/must/filter/mustNot semantics.
  • BoostingQuery: Query wrapper that softly demotes hits matching a negative clause.
  • CpuVectorScorer: Default CPU scorer that uses normalized float32 vectors and dot-product scoring.
  • DateFieldIndex: Structured date field index with range filters and date histograms.
  • DisMaxQuery: Best-field query that keeps the strongest clause dominant with an optional tie breaker.
  • DistanceFeatureQuery: Numeric/date feature query that boosts values closest to an origin.
  • DocumentIndex: Top-level document store that coordinates field indexes, search, highlighting, and serialization.
  • EdgeNgramsTokenFilter: Produces edge n-grams from the start and end of each token.
  • ElisionTextFilter: Removes apostrophes and elision markers.
  • ExistsQuery: Filter that matches documents where a field has at least one stored value.
  • GeoFieldIndex: GeoJSON field index backed by geohashes for point and polygon querying.
  • GeoPointQuery: Geo query that matches documents containing a point.
  • GeoPolygonQuery: Geo query that matches documents intersecting a polygon.
  • InterpunctionTextFilter: Replaces punctuation with spaces before tokenization.
  • KeywordTokenizer: Tokenizer that keeps the full input as a single token.
  • KnnQuery: Direct dense-vector nearest-neighbor retrieval over a VectorFieldIndex.
  • LowerCaseTextFilter: Lowercases input text before tokenization.
  • MatchAll: Query that matches every indexed document.
  • MatchPhrase: Phrase query with optional slop.
  • MatchQuery: Full-text query against one field using analyzed terms and optional prefix expansion.
  • MultiMatchQuery: Full-text query that allows analyzed terms to match across multiple fields.
  • NgramTokenFilter: Produces character n-grams from token streams.
  • NumericFieldIndex: Structured numeric field index with range filters and numeric aggregations.
  • PrefixQuery: Prefix lookup query over trie-backed text fields.
  • QueryContext: Mutable search context used to carry filter/include/exclude state across nested queries.
  • RangeQuery: Range query for lexical, numeric, or date fields.
  • RankFeatureQuery: Numeric feature query for saturation, log, sigmoid, or linear boosting.
  • ReciprocalRankFusionQuery: Fusion query that combines multiple ranked subqueries with reciprocal rank fusion.
  • RegexpQuery: Regular-expression query over indexed terms.
  • ScriptQuery: Custom JavaScript predicate query.
  • ScriptScoreQuery: Query wrapper that replaces the base score with a custom script score.
  • SimpleStringTrie: Simple trie implementation for prefix lookup and completion.
  • SparseVectorFieldIndex: Inverted-index sparse vector retrieval using exact inner-product scoring.
  • SparseVectorQuery: Direct sparse-vector nearest-neighbor retrieval over a SparseVectorFieldIndex.
  • SparseVectorRescoreQuery: Hybrid query that reranks the top lexical window with sparse-vector similarity.
  • SplittingTokenizer: Whitespace tokenizer for ordinary text analysis.
  • StoredSourceIndex: Stores _source payloads as gzipped JSON strings with index-state round-tripping.
  • TermQuery: Exact term-level query against a single text field.
  • TermsQuery: Any-of exact term query against a single text field.
  • TextFieldIndex: Lexical field index with analyzers, ranking, phrase matching, prefix lookup, and aggregations.
  • TrieNode: Mutable trie node used by SimpleStringTrie.
  • VectorFieldIndex: Locality-sensitive hash based vector index for approximate nearest-neighbor retrieval.
  • VectorRescoreQuery: Hybrid query that reranks the top lexical window with vector similarity.
  • WildcardQuery: Wildcard pattern query over indexed terms.

Functions

Interfaces

Type Aliases

Enumerations

  • OP: Boolean operator used by text queries that combine multiple analyzed terms.
  • RankingAlgorithm: Built-in scoring algorithms for lexical ranking.