The Open API specification for Synapse is now available for download!

Download Open API Spec

FacetSortField

org.sagebionetworks.repo.model.search.FacetSortField

The field to sort facet values by in a terms aggregation.

Enumeration
name description
COUNT Sort by bucket document count. Maps to OpenSearch '_count'.
KEY Sort by bucket key value (alphabetical for strings, numeric for numbers). Maps to OpenSearch '_key'.