Solr
  1. Solr
  2. SOLR-1036

change default QParser to eliminate confusion regarding legacy semi-colon sort spec

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: search
    • Labels:
      None

      Description

      on the trunk, defType currently defaults to the "lucenePlusSort" option, which has legacy support for syntax like "field:value;sort_field desc" where the semi-colon character is considered special if-and-only-if there is no "sort" param.

      this syntax has proved confusing to new users on at least one occasion, and has been deprecated for a while.

      In 1.4 we should change the default to use defType=lucene and add a note for people upgrading about how to force the legacy semicolon behavior.

        Activity

        Hide
        Hoss Man added a comment -

        patch that changes the default, adds an upgrade notes to CHANGES.txt for people who want the legacy behavior, and modifies any tests of the semicolon sortspec behavior to specify defType=lucenePlusSort explicitly.

        Show
        Hoss Man added a comment - patch that changes the default, adds an upgrade notes to CHANGES.txt for people who want the legacy behavior, and modifies any tests of the semicolon sortspec behavior to specify defType=lucenePlusSort explicitly.
        Hide
        Hoss Man added a comment -

        Committed revision 748763.

        Show
        Hoss Man added a comment - Committed revision 748763.
        Hide
        Grant Ingersoll added a comment -

        Bulk close for Solr 1.4

        Show
        Grant Ingersoll added a comment - Bulk close for Solr 1.4

          People

          • Assignee:
            Hoss Man
            Reporter:
            Hoss Man
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development