Exception: Parse::AtlasSearch::FacetedSearchNotACLSafe
- Inherits:
-
StandardError
- Object
- StandardError
- Parse::AtlasSearch::FacetedSearchNotACLSafe
- Defined in:
- lib/parse/atlas_search.rb
Overview
Error raised when faceted_search is called with a session_token. $searchMeta returns a single metadata document — bucket counts that include restricted documents and cannot be post-filtered with $match because the matched documents are not in the output stream. ACL-safe faceting requires the search index to tokenize _rperm and a compound.filter injection path; both are deferred to a follow-up release. Callers that need ACL-aware faceting today must either run with master: true or implement post-aggregation filtering themselves.