Matheus Bombonato
12/18/2025, 1:38 PM_eval([(category:shoes):1, (category:shirts):2] && [(brand:nike):1, (brand:adidas):2]):asc
I've only found examples with 1 group. When I tried with 2, I got the error: `Could not find a field named `` in the schema for sorting.`Fanis Tharropoulos
12/18/2025, 4:51 PM_eval sorting doesn't support multiple groups with &&.
It supports a single group with multiple expressions, like _eval([(category:shoes):1, (category:shirts):2]):asc. You can also use && or || inside each expression, like _eval([(brand:nike || brand:air):3, (brand:adidas):2]):desc.
What isn't supported is combining multiple groups with &&, like _eval([(category:shoes):1, (category:shirts):2] && [(brand:nike):1, (brand:adidas):2]):asc.
The parser expects a single group in brackets, then the order. The evaluation logic returns the score of the first matching expression in that list.
A workaround is to combine all conditions into one group. For example, if you want category and brand combinations, list them explicitly: _eval([(category:shoes && brand:nike):1, (category:shoes && brand:adidas):2, (category:shirts && brand:nike):3, (category:shirts && brand:adidas):4]):asc. This covers all combinations but requires listing each one.Matheus Bombonato
12/18/2025, 5:06 PMFanis Tharropoulos
12/18/2025, 5:49 PMMatheus Bombonato
12/21/2025, 12:34 PMFanis Tharropoulos
12/23/2025, 10:27 AMFanis Tharropoulos
12/23/2025, 10:31 AM