-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
8.xRelates to a 8.x client versionRelates to a 8.x client versionArea: GeneratorCategory: EnhancementUsability
Description
Elastic.Clients.Elasticsearch version: 8.15.6
Elasticsearch version: 8.15.1
.NET runtime version: 8.x
Operating system version: Any
Description of the problem including expected versus actual behavior:
I noticed a lot of inconsistencies / verbosity when converting to the new api's
Previous
The existing TermQueryDescriptor is more aligned with the new mapping api where you select the field with an expression. The new one is very verbose
Filter(f => f.Term(m => m.Field1, "value1")
New
Filter(f => f.Term(m => m.Field(tf => tf.Field1).Value("value1")))
Expected behavior
New filtering is really verbose and and doesn't feel like other areas of the api.
Reference: FoundatioFx/Foundatio.Parsers#84
Metadata
Metadata
Assignees
Labels
8.xRelates to a 8.x client versionRelates to a 8.x client versionArea: GeneratorCategory: EnhancementUsability