I'm trying to understand how results are ordered when using a SXA Search results
component without using a Default sort order
option or a Sort result
component. I need this for a site search, where many different items are listed and I can't use one standard ordering - at least I think I can't.
Let's say I get 3 results with the search word Test
. If I go to Solr UI and search the sitecore_sxa_web_index
under Query where q
is sxacontent_txm:'Test'
I get the same results with the same ordering as search results on site search.
If I change some content on those 3 result pages they sometimes change order and sometimes not. But when they change order on the site search they also change order in my Solr UI query. Therefore I assume that this is the query SXA search uses.
But I just can't figure out how this order is materializing. The __boost
field has 0.0
for all 3 pages. The Test
word has the same number of occurrences in all pages. Time of creation or update of the item is out of order as well. As far as I can tell, we don't have any active boosting rules. At least I couldn't find any under the used scope and the path /sitecore/system/Settings/Rules/Indexing and Search
.
So I assume the ordering is coming from indexing. Has anyone some helpful information?
Thanks