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

    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
      1. FullTextCommand.php
        2 kB
        Miguel das Neves Jacinto

        Issue Links

          Activity

          Łukasz Serwatka created issue -
          André Rømcke made changes -
          Field Original Value New Value
          Fix Version/s Customer request [ 11018 ]
          André Rømcke made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          André Rømcke made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          André Rømcke made changes -
          Assignee Petar Spanja [ petar.spanja@ez.no ]
          Petar Spanja (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          André Rømcke made changes -
          Summary Search appears to conduct some form of 'OR' search not and 'AND' search Search appears to conduct some form of 'OR' search not an 'AND' search
          André Rømcke made changes -
          Description Search relevancy does not work. It appears to conduct some form of 'OR' search not and 'AND' search. If red apple is search term, the 1st results should return red AND apple content.

          Really want for launch:
          Extend the fields displayed in search result. Currently is 'Name' only. The challenge is that this search is used across multiple content types. For example: When looking for an article, you would want to see 'headline' but this would not be available for images etc.

          NOTE: Using "Red Apple" is not a solution - as this will only return results for articles with this string, not ones with the words anywhere in the content.
          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.

          Really want for launch:
          Extend the fields displayed in search result. Currently is 'Name' only. The challenge is that this search is used across multiple content types. For example: When looking for an article, you would want to see 'headline' but this would not be available for images etc.

          NOTE: Using "Red Apple" is not a solution - as this will only return results for articles with this string, not ones with the words anywhere in the content.
          André Rømcke made changes -
          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.

          Really want for launch:
          Extend the fields displayed in search result. Currently is 'Name' only. The challenge is that this search is used across multiple content types. For example: When looking for an article, you would want to see 'headline' but this would not be available for images etc.

          NOTE: Using "Red Apple" is not a solution - as this will only return results for articles with this string, not ones with the words anywhere in the content.
          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.

          Really want for launch:
          Extend the fields displayed in search result. Currently is 'Name' only. The challenge is that this search is used across multiple content types. For example: When looking for an article, you would want to see 'headline' but this would not be available for images etc.

          NOTE: Using "Red Apple" is not a solution - as this will only return results for articles with this string, not ones with the words anywhere in the content.
          Petar Spanja (Inactive) made changes -
          Status Development [ 3 ] Development Review done [ 10028 ]
          Affects Version/s 1.6.0 [ 14600 ]
          Fix Version/s 1.4.2 [ 14595 ]
          Fix Version/s 1.5.1 [ 14598 ]
          Fix Version/s 1.3.3 [ 14599 ]
          Fix Version/s 1.6.0 [ 14600 ]
          Fix Version/s 5.4.9 [ 14605 ]
          Assignee Petar Spanja [ petar.spanja@ez.no ]
          Petar Spanja (Inactive) made changes -
          Status Development Review done [ 10028 ] Documentation Review done [ 10011 ]
          Miguel das Neves Jacinto (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Paulo Nunes (Inactive) made changes -
          Flagged Impediment [ 10000 ]
          Miguel das Neves Jacinto (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Miguel das Neves Jacinto [ miguel.jacinto@ez.no ]
          André Rømcke made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee André Rømcke [ andre.romcke@ez.no ]
          André Rømcke made changes -
          Status Development [ 3 ] Backlog [ 10000 ]
          André Rømcke made changes -
          Status Backlog [ 10000 ] Development [ 3 ]
          André Rømcke made changes -
          Status Development [ 3 ] Development Review done [ 10028 ]
          Assignee André Rømcke [ andre.romcke@ez.no ]
          André Rømcke made changes -
          Status Development Review done [ 10028 ] Documentation Review done [ 10011 ]
          André Rømcke made changes -
          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.

          Really want for launch:
          Extend the fields displayed in search result. Currently is 'Name' only. The challenge is that this search is used across multiple content types. For example: When looking for an article, you would want to see 'headline' but this would not be available for images etc.

          NOTE: Using "Red Apple" is not a solution - as this will only return results for articles with this string, not ones with the words anywhere in the content.
          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
           
          André Rømcke made changes -
          Link This issue is cloned by EZP-26325 [ EZP-26325 ]
          Miguel das Neves Jacinto (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Paulo Nunes (Inactive) made changes -
          Flagged Impediment [ 10000 ]
          Miguel das Neves Jacinto (Inactive) made changes -
          Attachment FullTextCommand.php [ 27450 ]
          Miguel das Neves Jacinto (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Miguel das Neves Jacinto [ miguel.jacinto@ez.no ]
          André Rømcke made changes -
          Summary Search appears to conduct some form of 'OR' search not an 'AND' search Search API appears to conduct some form of 'OR' search not an 'AND' search
          André Rømcke made changes -
          Status InputQ [ 10001 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Nuno Oliveira (Inactive) made changes -
          Link This issue relates to EZS-1155 [ EZS-1155 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 99860 ] EZEE Development Workflow [ 125924 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Łukasz Serwatka
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: