You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2a568dc
Browse filesBrowse the repository at this point in the historyBrowse files
feat(options): Source/Pit/Collapse/Rescore/Suggest + many search opts
Options gains many new search-body fields:
- _source (Source value object with includes/excludes)
- track_total_hits, track_scores, explain
- terminate_after, timeout
- search_after, pit (point-in-time)
- stored_fields, docvalue_fields, fields, script_fields
- runtime_mappings, seq_no_primary_term
- indices_boost
- profile, stats, ext
New top-level body features wired through ElasticQuery::toArray():
- Collapse (field collapsing) with InnerHits support
- Rescore (multiple, secondary query over windowSize hits)
- Suggest with typed suggesters:
- TermSuggester (token suggestions)
- PhraseSuggester (phrase suggestions)
- CompletionSuggester (completion suggestions)
- SuggesterInterface for extensibility
Integration tests cover field collapsing, source filtering, rescore,
and three suggesters against real ES indices.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments