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

edismax - Ignores OR in between terms.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.5
    • Fix Version/s: None
    • Component/s: query parsers
    • Labels:
      None

      Description

      edismax parser is ignoring OR in between terms. The default operator is set to AND. No value for mm is set in solr configuration.
      E.g.

      fl:(java OR book)

      is parsed to

      "+((fl:java fl:book)~2)"

      When the query has explicit OR then why the ~2 (I think due to mm being set to 100%) is present in the parsed query?

      How can I achieve following?
      "+((fl:java fl:book))"

      Please help in understanding if it is intentional or is there a way to achieve the desired search or is it a bug?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                modassar Modassar Ather
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: