You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2009/02/25 00:30:01 UTC

[jira] Updated: (SOLR-1036) change default QParser to eliminate confusion regarding legacy semi-colon sort spec

     [ https://issues.apache.org/jira/browse/SOLR-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated SOLR-1036:
---------------------------

    Attachment: SOLR-1036.patch

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.

> change default QParser to eliminate confusion regarding legacy semi-colon sort spec
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1036
>                 URL: https://issues.apache.org/jira/browse/SOLR-1036
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 1.4
>
>         Attachments: SOLR-1036.patch
>
>
> on the trunk, defType currently defaults to the "luceneWithSort" 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.