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

Download Open API Spec

SearchQueryPart

org.sagebionetworks.repo.model.search.SearchQueryPart

Identifiers for the opt-in parts of a SearchQueryResults. Clients pass a list of these values in SearchIndexQuery.responseParts to widen what the server computes and returns. When the list is null or empty the server returns the default minimal payload — HITS plus the always-populated offset — and skips the corresponding work in OpenSearch (no aggregations, no total-hit tracking).

Enumeration
name description
HITS The matching documents, one SearchHit per row. Returned by default.
TOTAL_HITS The total number of matches. May exceed the size of the returned hits list when paginated.
SELECT_COLUMNS The list of SelectColumns describing the shape of each hit's fields.
FACETS Facet aggregations over the matched documents.