Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11156

Edismax query parser fails to parse q=(*:*)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 5.5.1
    • None
    • query parsers
    • Solr 5.5.1

    Description

      The Edismax query parser does parse the query (*:*) as a exact text match instead of a match all documents.

      Setting the debugQuery param to true and the query *:* we get this json:

      "debug": {
         "rawquerystring": "*:*",
         "querystring": "*:*",
         "parsedquery": "(+MatchAllDocsQuery(*:*))/no_coord",
         "parsedquery_toString": "+*:*",
         ...
      }
      

      But with the query (*:*) the Edismax query parser returns a DisjunctionMaxQuery like shown in the following json:

      "debug": {
         "rawquerystring": "(*:*)",
         "querystring": "(*:*)",
         "parsedquery": "(+DisjunctionMaxQuery((text:*\\:*)))/no_coord",
         "parsedquery_toString": "+(text:*\\:*)",
         "explain": {},
         "QParser": "ExtendedDismaxQParser",
         ...
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            FonsoNoriega Alfonso Noriega Meneses
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: