Reference Entry
Documentation Index
Overview · foundation · order 5
A section-by-section map of the Querylight TS documentation, with the JSON DSL as the main query path.
Documentation Index
This index mirrors the documentation table of contents used by the demo.
If you are learning the query surface, start with the JSON DSL. It is the primary public query shape in these docs, and it is designed to feel familiar if you already know OpenSearch or Elasticsearch. The lower-level TypeScript query classes are still documented as the equivalent internal API.
If you are here for vector search, start with these four pages:
- Approximate Nearest Neighbor Vector Search
- Sparse Vector Search
- Vector Rescoring for Faster Hybrid Search
- Ask the Docs End to End
Overview
- Introducing Querylight TS
- What Querylight TS Covers
- Getting Started with Browser Search
- OpenSearch-Style Search Requests
- Comparing Querylight TS to Other Browser Search Libraries
- Other Work Related to Querylight TS
- Why Local-First Data Exploration Helps API Prototyping
- Search Engine Techniques for Analytics UIs
- What Querylight TS Can Do Beyond Full-Text Search
Schema
Analysis
Lexical Querying
- Term, Terms, Prefix, Exists, and Match Queries
- BoolQuery for Must, Should, Filter, MustNot, and MinimumShouldMatch
- Phrase Search and Slop
- RangeQuery Over Lexical Fields
- DisMaxQuery for Best-Field Matching with Tie Breakers
- BoostingQuery for Soft Demotion Instead of Hard Exclusion
- WildcardQuery for Term-Level Pattern Matching
- RegexpQuery for Term-Level Regular Expressions
- ScriptQuery for Custom JavaScript Filters
Ranking
- TF-IDF and BM25 Ranking
- Reciprocal Rank Fusion
- Relevance Tuning with BM25, TF-IDF, and RRF
- DistanceFeatureQuery for Recency and Numeric Closeness
- RankFeatureQuery for Numeric Relevance Signals
- ScriptScoreQuery for Custom JavaScript Scoring
Aggregations
- Terms Aggregation
- Significant Terms Aggregation
- Value Count Aggregation
- Min Aggregation
- Max Aggregation
- Sum Aggregation
- Avg Aggregation
- Stats Aggregation
- Range Aggregation
- Histogram Aggregation
- Date Histogram Aggregation
Indexing
- Trie-Backed Prefix Expansion
- Portable JSON Index State
- Serialization, Hydration, and Shipping Indexes
- NumericFieldIndex and DateFieldIndex for Structured Features
Other Features
- SimpleTextSearch for Plain JSON Documents
- Highlighting with Querylight TS
- Approximate Nearest Neighbor Vector Search
- Sparse Vector Search
- Geo Indexing with Points and Polygons
- Document Chunking Strategies
- Vector Rescoring for Faster Hybrid Search
Guides
- How To Build Autocomplete
- How To Build Faceted Navigation
- Real-World Recipes
- From Raw API Payloads to Browser Dashboards
- Using Querylight TS as a Local Analytics Engine
- Build Interactive ECharts Dashboards from Plain JSON
- Slicing and Dicing Open Data with Querylight TS
Demo Internals
- Ask the Docs End to End
- How the Aggregations Sidebar Works
- Article Length Facets in the Demo
- Lazy Indexing in the Dashboard Demo