You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Would like to be able to this with client, like in NEST client.
public class TestModel
{
public string Id { get; set; }
public TestEnum Enum { get; set; }
}
public enum TestEnum
{
Unknown,
First,
Second
}
var res = await _elasticsearchClient.SearchAsync<TestModel>(s => s
.Index("test")
.Query(q => q
.Bool(b => b
.Must(m => m
.Terms(ts => ts.Field(f => f.TestEnum).Terms(new [] { TestEnum.Unknown }))
)
)
)
);
Is your feature request related to a problem? Please describe.
Would like to be able to this with client, like in NEST client.
Ref: (similar)
#7716
Describe the solution you'd like
filter on enums
Describe alternatives you've considered
Event this didn't work...
The text was updated successfully, but these errors were encountered: