Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      Sub task of SOLR-7041.

      For new configs with luceneMatchVersion >=6.6.0 we'll throw an exception if defaultOperator is used in schema.

      For luceneMatchVersion < 6.6.0 we'll behave like before (warn only). This is to deliver on our back-compat promise between minor versions.

      1. SOLR-10586.patch
        9 kB
        Jan Høydahl
      2. SOLR-10586.patch
        8 kB
        Jan Høydahl
      3. SOLR-10586.patch
        8 kB
        Jan Høydahl

        Activity

        Hide
        janhoy Jan Høydahl added a comment -

        Patch for branch_6x. Will commit shortly, and then followup to remove defaultOperator completely in master

        Show
        janhoy Jan Høydahl added a comment - Patch for branch_6x. Will commit shortly, and then followup to remove defaultOperator completely in master
        Hide
        janhoy Jan Høydahl added a comment -

        Updated patch that also deprecates IndexSchema.getQueryParserDefaultOperator since it will go away in 7.0

        Show
        janhoy Jan Høydahl added a comment - Updated patch that also deprecates IndexSchema.getQueryParserDefaultOperator since it will go away in 7.0
        Hide
        janhoy Jan Høydahl added a comment -

        Also deprecate QueryParsing.getQueryParserDefaultOperator. Plan to wait until 8.0 to remove it so 3rd party QParsers that call this method will continue to work for 7.x

        Show
        janhoy Jan Høydahl added a comment - Also deprecate QueryParsing.getQueryParserDefaultOperator . Plan to wait until 8.0 to remove it so 3rd party QParsers that call this method will continue to work for 7.x
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit f3ac0c417860e5e8a850c3248d8e6ff3207f125b in lucene-solr's branch refs/heads/branch_6x from Jan Høydahl
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f3ac0c4 ]

        SOLR-10586: Ban defaultOperator in schema for luceneMatchVersion =>6.6.0

        Show
        jira-bot ASF subversion and git services added a comment - Commit f3ac0c417860e5e8a850c3248d8e6ff3207f125b in lucene-solr's branch refs/heads/branch_6x from Jan Høydahl [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f3ac0c4 ] SOLR-10586 : Ban defaultOperator in schema for luceneMatchVersion =>6.6.0

          People

          • Assignee:
            janhoy Jan Høydahl
            Reporter:
            janhoy Jan Høydahl
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development