Add PostgreSQL Index Profile Support#81
Merged
Merged
Conversation
… user-controlled sources' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Member
Author
|
@copilot fix build |
Co-authored-by: MikeAlhayek <24724371+MikeAlhayek@users.noreply.github.com>
Contributor
Build is fixed in commit |
|
@MikeAlhayek, are Elasticsearch and AzureAISearch not transactional databases like PostgreSQL? What am I missing? |
Member
Author
|
@vlad2kgithub Yes — PostgreSQL is typically the transactional system of record, while the other two are primarily search/indexing engines used for retrieval. In our case, we’re using PostgreSQL to also store vector data for AI features. It’s not replacing a search engine; it’s simply serving as an additional persistence layer for AI-related embeddings alongside the rest of the application data. |
This was referenced May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now we can create IndexProfile using PostgreSQL in additional to Elasticsearch and AzureAISearch!
This pull request introduces first-class support for PostgreSQL (with pgvector) as a vector search backend for both core and AI-powered features in the CrestApps.Core ecosystem. It adds new primitives, updates dependency management, and provides comprehensive documentation and configuration guidance. The PostgreSQL provider is now available as an alternative to Elasticsearch and Azure AI Search for RAG (retrieval-augmented generation) and indexing scenarios.
Key changes include:
PostgreSQL Provider Integration:
CrestApps.Core.PostgreSQLandCrestApps.Core.AI.PostgreSQL, enabling PostgreSQL + pgvector support for vector search, AI documents, memory, and data sources, with all required service registrations under the"PostgreSQL"provider name. [1] [2] [3]ISearchIndexManager,ISearchDocumentManager,IDataSourceContentManager,IDataSourceDocumentReader,IODataFilterTranslator) and AI extensions (AddAIDocuments(),AddAIDataSources(),AddAIMemory()) for seamless integration into MVC and Blazor hosts. [1] [2]Dependency and Package Management:
NpgsqlandPgvectorNuGet packages for PostgreSQL and vector support, and includedAspire.Hosting.PostgreSQLfor streamlined local development and deployment using .NET Aspire. [1] [2]Documentation and Developer Experience: