Does Nest support sorting across multiple fields? For example, let's say I want to sort by FieldA first, and then descending FieldB.
My current approach looks something like this:
searchDescriptor.Sort(s =>s.OnField("FieldA").Ascending().OnField("FieldB").Descending());
But the "FieldB" .Descending () part seems to be the only sort option that is sent to elasticsearch.
Does anyone know if there is another way to do this?
source
share