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

Phrase slop ignored after any nested parser in same query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.0, 8.9
    • None
    • query parsers
    • None

    Description

      _query_:"{!term f=text}foo" "foo bar"~1

      is parsed as

      text:foo "foo bar"

      ignoring phrase slop because subQParser field in SolrQueryParserBase is not cleared after magic field processing.

      Likely introduced inĀ SOLR-4625 (May 2013) and may be the double-slop query mentioned in prior issue should throw an exception, not silently dropping additional slop, but it will be a breaking change because it is very-very old parser trait.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              khitrin Nikolay Khitrin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m