Bias search results to 1 of 2 channels searched
I am using 2 channels in my search results, how is it possible to bias the results for 1 of those channels? Alternatively but less ideally can i sort by channel and then relevance so something along the lines of orderby="low_search_collection_label | low_search_score"?
Replies
Low 24 Nov 2011 12:32
Sorting like that isn't supported at the moment, but you're free to file a feature request. :)
In the meantime, you could mimic this behavior by adding 2 low_search:results tags to your template, each showing results from a different collection. Would that help?
JamesAskew 24 Nov 2011 12:35
If they were in 2 separate result sets, would the pagination work?
Low 24 Nov 2011 12:42
I reckon it would, but for each result set on its own. So, something like this:
// First page
SET 1
* result 1
* result 2
* result 3
SET 2
* result 1
* result 2
* result 3
// Second page
SET 1
* result 4
* result 5
* result 6
SET 2
* result 4
* result 5
* result 6
Etc...
It's not ideal, I admit.
JamesAskew 24 Nov 2011 16:46
Ok cool, thanks for that, i reckon with the one set of pagination, a good design could make this work until a potential feature update. Which i shall look at posting.
Cheers for a great product.
Low 25 Nov 2011 08:21
Thanks, James.