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 7a4ad98
Browse filesBrowse the repository at this point in the historyBrowse files
feat: rework getAllKeyValues and add filters populated from text indices (#2643)
## Summary
This is a mammoth of a change, but brings something much needed to our filters logic: order.
1. Deprecates `useAllFieldsAndValues` and `getAllFieldsAndValues` - these are fairly useless.
2. Adds a router to `getAllKeyValues` to intelligently apply the optimal strategy to fetch key values
3. Adds support for querying Text Indices for filter values. This is true for the map text indices and native columns (eg. TraceId)
4. Reuses `useFetchFacets` in autocomplete
Strategy order:
1. Query from text indices directly
2. Query from Metadata MVs
3. Query from the table
### References
- Linear Issue: Closes HDX-4229
0 commit comments