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.
  • 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.
  • 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.
  • SplittingTokenizer: Whitespace tokenizer for ordinary text analysis.
  • 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

  • Geometry: Supported geometry shapes for geo indexing and querying.
  • Hit: [documentId, score] tuple returned by search operations.
  • Hits: Ordered list of scored hits.
  • IndexState: Union of all serialized field index state payloads.
  • MultiPolygonCoordinates: Multi-polygon coordinates in GeoJSON-compatible form.
  • PolygonCoordinates: Polygon coordinates in GeoJSON-compatible ring form.
  • PreparedVector: Prepared vector storage used by vector scorers.
  • RandomSource: Zero-argument random-number source returning values in [0, 1).
  • RankFeatureOptions: Supported rank feature scoring modes.
  • ScriptFilter: Predicate callback used by ScriptQuery.
  • ScriptScore: Scoring callback used by ScriptScoreQuery.
  • Vector: Dense numeric vector used for ANN indexing and reranking.

Enumerations

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