Back to projects
TGHarker.Orleans.Search
ActiveA .NET library that brings automatic indexing and LINQ-based querying to Microsoft Orleans grains using PostgreSQL.
Built with Claude Opus 4.5 in just a few hours, this library solves a problem I had been trying to tackle for over 3 years. It uses source generators to provide zero-boilerplate integration between Orleans grain state and PostgreSQL full-text search.
.NETMicrosoft OrleansPostgreSQLC#Source GeneratorsEF Core
Key Features
- Automatic state-to-index sync via storage decorator pattern
- Attribute-based indexing with [Searchable] and [Queryable]
- LINQ queries: .Search<IGrain>().Where(...).ToListAsync()
- Compile-time code generation for zero runtime overhead
- PostgreSQL full-text search with relevance ranking