Skip to content

Conversation

@ajcvickers
Copy link
Collaborator

Fluent API for building search indexes.

Copilot AI review requested due to automatic review settings December 12, 2025 15:57
@ajcvickers ajcvickers requested a review from a team as a code owner December 12, 2025 15:57
@ajcvickers ajcvickers requested a review from papafe December 12, 2025 15:57
@ajcvickers ajcvickers removed the request for review from papafe December 12, 2025 15:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds comprehensive support for building MongoDB Atlas search indexes through a fluent API in Entity Framework Core. The feature enables developers to define and create search indexes declaratively through the model builder, with support for both static and dynamic mappings across various field types.

Key Changes

  • Introduced fluent API for configuring Atlas search indexes with support for multiple field types (autocomplete, boolean, date, geo, number, objectId, string, token, uuid)
  • Added comprehensive test coverage with 4200+ lines of functional tests and negative test cases
  • Extended database creation infrastructure to handle search index creation and lifecycle management

Reviewed changes

Copilot reviewed 86 out of 89 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
SearchIndexTests.cs Comprehensive functional tests covering all search index types and configurations
SearchIndexNegativeTests.cs Error handling tests for invalid search index configurations
MongoDatabaseCreator.cs Extended to support creating and waiting for search indexes alongside vector indexes
IMongoDatabaseCreator.cs Interface updates for search index methods
Metadata/Search/* 50+ new classes defining search index structure, builders, and configuration options
SingleEntityDbContext.cs Refactored to use CollectionNamespace instead of string collection names
ConnectionTests.cs Updated to use renamed test context class
VectorIndexOptions.cs Documentation updates changing "Atlas" to "MongoDB"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ajcvickers ajcvickers force-pushed the 1113_SearchParty branch 3 times, most recently from 5eaa7c6 to 24f5547 Compare December 16, 2025 14:21
Fluent API for building search indexes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants