| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
- Add EvaluateMongoDbAttributesDirect method to work directly with SCIMRepresentationAttribute - Add EvaluateAttributesDirect extension methods for all expression types - Update FindSCIMRepresentations to use direct attribute filtering without EnrichedAttribute join - This allows MongoDB to use indexes on SchemaAttributeId and value fields - Filters are now applied before expensive join operations Co-authored-by: simpleidserver <10213388+simpleidserver@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
MongoDB queries for SCIM groups with 20k+ members take 2+ minutes due to filters being applied after expensive joins, forcing COLLSCAN on 368k documents.
Changes
Filter evaluation refactored to work directly on base collection:
Before:
After:
MongoDB pipeline changes from $project → $lookup → $project → $match to $match → ..., enabling index usage on SchemaAttributeId and value fields. Expected query time reduction from 2+ minutes to ~500ms.
Reference: #909
Original promptThis pull request was created from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.