I've implemented full text search, and am busy running some tests. Here is a sample of two entries in the database:
"description": "ARTHROPATHY FOLLOWING INTESTINAL BYPASS UPPER ARM"
"description": "ARTHROPATHY FOLLOWING INTESTINAL BYPASS FOREARM"
I have a scenario in which the test input is "intestinal bypass arm", and using PhraseSearch, PlainTextSearch and WebStyleSearch all return only the first record. How do I need to structure my index (or my code) in order to get both records for the given search term?
btw, it's worth mentioning that NgramSearch returns both records, but it takes over 6 seconds to do so.
.Duplicate(x => x.Description)
.NgramIndex(x => x.Description)
partial text searchin the search box and it did not list the section on ngram index. So looks to be an issue with the Algolia search indexing, will take a look.
IntersectLinq operator. Is there any alternative way to achieve this functionality? I'm trying to check if two arrays intersect in Marten query.
@/all I started to work on the Marten API for Upcasting events data. I'd like to add a built-in tooling for simple payload transformations. You could use that if your event schema has changed and you'd like to use new event types in your aggregates and projections. Those transformations will be run during the serialisation phase, so upcasting on the fly old event data into the new one.
I added two types of upcasters:
I have an early draft, of it, I'd be grateful for your feedback, especially about the public API (e.g. accessibility, naming, etc.).
Technically, this is what I described in my blog article: https://event-driven.io/en/simple_events_versioning_patterns/