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
// Previousif(termsAggregation!=null&&(child.Prefix=="-"||child.Prefix=="+")){if(termsAggregation.Order==null)termsAggregation.Order=newList<TermsOrder>();termsAggregation.Order.Add(newTermsOrder{Key=((IAggregation)aggregation).Name,Order=child.Prefix=="-"?SortOrder.Descending:SortOrder.Ascending});}// Newif(termsAggregation!=null&&child.Prefixis"-" or "+"){termsAggregation.Order??=newList<KeyValuePair<Field,SortOrder>>();termsAggregation.Order.Add(newKeyValuePair<Field,SortOrder>(aggregation.Name,child.Prefix=="-"?SortOrder.Desc:SortOrder.Asc));}
Example 3 (I don't even want to think about converting)
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:
Sorting with the new client is insanely verbose and tedious, to the point I don't even want to convert the tests we have...
Example 1
Example 2
Example 3 (I don't even want to think about converting)
Expected behavior
Sorting should be a very common operation and easy todo.
Reference: FoundatioFx/Foundatio.Parsers#84
The text was updated successfully, but these errors were encountered: