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
And I want to filter on all proposals with an Id of 2 & 5, I don't see a way to do that. Would it work to do something like:
body => body.Filter(f => f.Terms(t => t.Proposals[0].Id, [2,5]))?
The text was updated successfully, but these errors were encountered:
The expresion is purely for path resolving t.Proposals.First() would also be safe to call.
Both array access or a call to First() or even FirstOrDefault() will resolve to proposals.id and not proposals[0].id since that is not really valid in Elasticsearch.
If I have an object graph of something like:
And I want to filter on all proposals with an Id of 2 & 5, I don't see a way to do that. Would it work to do something like:
body => body.Filter(f => f.Terms(t => t.Proposals[0].Id, [2,5]))?
The text was updated successfully, but these errors were encountered: