Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26141

Search API appears to conduct some form of 'OR' search not an 'AND' search

    XMLWordPrintable

    Details

      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

        Attachments

        1. FullTextCommand.php
          2 kB
          Miguel das Neves Jacinto

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lukasz.serwatka@ez.no Ɓukasz Serwatka
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: