SearchBlox allows you to perform multisort on your search results. To know more about sorting and multisort in SearchBlox, you can watch this video.
- The URL parameter “sort” is default and it’s default value is relevance, found in the Search tab of the dashboard. The default sorting direction is descending.
- “Sort” and “sortdir” are always enabled even when not provided in the URL and their default respective values are “relevance” and “descending” unless specified otherwise.
- SearchBlox supports custom search fields and they could be a text, number or date. In HTTP and Custom Collections, to use custom fields, you have to add them first and give their data types in the mapping.json file.
- The custom sort parameters are sort1, sort2 and sort3. At any instance, the order of priority in search parameters are sort>sort1>sort2>sort3, “sort” parameter has the highest priority at any time.
- The subsequent sort parameters are only considered when the preceding parameters produce the same results.
- For example, the sort3 parameter is only considered if and when all the preceding parameters, which are sort, sort1 and sort2, give the same results.
Updated about 1 year ago
Did this page help you?