Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8846

Solr query on "all words" do not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • None
    • None
    • None
    • 4.1 M6

      In FO search with demo data, I search "richesse ametys motfake".
      The word "motfake" is not present in any page or documents.
      But I have 2 results pages which contain "richesse" and "ametys"

      The executed query is full_fr:(+richesse\ +ametys\ +motfake)
      In Solr console,

      • if I execute this query I have 2 results.
      • if I execute this query without espaced character \ full_fr:(+richesse +ametys +motfake), I have no results as excepted

      See org.ametys.web.frontoffice.SearchGenerator.addAllWordsTextFieldQuery(Collection<Query>, String, Request)

            sprieul Simon Prieul (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: