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

Download Open API Spec

SearchFacetOption

org.sagebionetworks.repo.model.search.query.SearchFacetOption

Specify which field should be returned as facets and the format of the results for each field

Field Type Description
name SearchFieldName Names of search fields that can be faceted/returned
maxResultCount INTEGER Specify the maximum number of results to be returned for this facet. Defaults to 10
sortType SearchFacetSort Specify how results should be sorted. Defaults to COUNT