-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
8.xRelates to a 8.x client versionRelates to a 8.x client versionArea: ClientArea: GeneratorCategory: EnhancementUsability
Description
Is your feature request related to a problem? Please describe.
MatchAll requires a configuration to be passed, but most cases developers will pass nothing.
Setting boost is not needed, and neither is naming the query. Which it requires one of these to be set.
f.MatchAll(m => m.QueryName(""))
f.MatchAll(m => m.Boost(0))
Describe the solution you'd like
var result = await _client.SearchAsync<int>(x => x.Index("")
.Query(q =>
q.Bool(b =>
b.Filter(f =>
f.MatchAll()
)
)
), ct);
Describe alternatives you've considered
None.
Additional context
None
ventii, Iridio, braveyp and ashansen
Metadata
Metadata
Assignees
Labels
8.xRelates to a 8.x client versionRelates to a 8.x client versionArea: ClientArea: GeneratorCategory: EnhancementUsability