pub fn sort_params(
sort_by: &str,
order: &str,
index_type: IndexType,
) -> Result<String>Expand description
The sortBy/sortOrder URL parameters (with a leading &) for
--sort-by/--sort-order.
GoaT ignores a field it doesn’t know, so the field is checked here: it must be a field of the index (synonyms are resolved) or one of the record’s own fields.