When adding an exposed sort by relevance in a search api view index, the select option has only the option "sort by relevance".

What is the use of that exposed sort then ?

Should there not be another option "unrelevant" :) ? or some sort of other option that does not use the boost option of the indexed fields ?

On top of that, The asc or desc does not seem to have an effect on my search list.
What are the requirement to make it working ?

Regards,

Comments

matoeil created an issue. See original summary.

drunken monkey’s picture

Category: Bug report » Support request
Status: Active » Fixed

That’s just how Views works, nothing to do with this module. You need to add multiple exposed sorts for them to be useful, then the user can pick between those.
“Sort by relevance” only has an effect if there are search keywords, maybe that’s why ascending and descending were the same in your case?

matoeil’s picture

i don't see the relevance of that relevance sorting. Who would want an unrelevant sorting ?

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.