Remaining issue after
EZP-26141 (Solr) and EZP-26326 (REST) was fixed is to update Platform UI to use Query when doing FullText search, so scripting and thus proper relevancy sorting is enabled when using Solr.
Original issue description:
Search relevancy does not work. It appears to conduct some form of 'OR' search not an 'AND' search. If "red apple" is search term, the 1st results should return red AND apple content.
When using API and FullText Criterion on query we expect default sorting on Solr to be able to sort by relevancy (score).
Specifically searching for "Red Apple" should return items in following order:
- Exact hits on "Red Apple"
- Hits that contains both words
- Hits that contains both works with fuzziness
- Hits that contain one of them
- Hits that contain one of them with fuzziness
|Search UI / REST JS Client support use of query property||Closed||Unassigned|
|Make sure an empty Filter/Criteria doesn't generate an empty LogicalAnd with REST||Closed||Unassigned|