You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2014/07/19 21:11:38 UTC

[jira] [Updated] (SOLR-6121) cursorMark should accept sort without the uniqueKey

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

Steve Rowe updated SOLR-6121:
-----------------------------

    Description: 
If you are using the cursorMark (deep paging) feature, you shouldn't *have* to add the uniqueKey to the sort parameter.  If the user doesn't do it, the user obviously doesn't care about the uniqueKey order relative to whatever other sort parameters they may or may not have provided.  So if sort doesn't have it, then Solr should simply tack it on at the end instead of providing an error and potentially confusing the user.  This would be more user friendly.

Quoting Hoss from [SOLR-5463|https://issues.apache.org/jira/browse/SOLR-5463?focusedCommentId=14011384&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14011384]:
{quote}
The reason the code currently throws an error was because i figured it was better to force the user to choose which tie breaker they wanted (asc vs desc) then to just magically pick one arbitrarily.

If folks think a magic default is a better i've got no serious objections – just open a new issue.
{quote}


  was:If you are using the cursorMark (deep paging) feature, you shouldn't *have* to add the uniqueKey to the sort parameter.  If the user doesn't do it, the user obviously doesn't care about the uniqueKey order relative to whatever other sort parameters they may or may not have provided.  So if sort doesn't have it, then Solr should simply tack it on at the end instead of providing an error and potentially confusing the user.  This would be more user friendly.


> cursorMark should accept sort without the uniqueKey
> ---------------------------------------------------
>
>                 Key: SOLR-6121
>                 URL: https://issues.apache.org/jira/browse/SOLR-6121
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: David Smiley
>            Priority: Minor
>
> If you are using the cursorMark (deep paging) feature, you shouldn't *have* to add the uniqueKey to the sort parameter.  If the user doesn't do it, the user obviously doesn't care about the uniqueKey order relative to whatever other sort parameters they may or may not have provided.  So if sort doesn't have it, then Solr should simply tack it on at the end instead of providing an error and potentially confusing the user.  This would be more user friendly.
> Quoting Hoss from [SOLR-5463|https://issues.apache.org/jira/browse/SOLR-5463?focusedCommentId=14011384&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14011384]:
> {quote}
> The reason the code currently throws an error was because i figured it was better to force the user to choose which tie breaker they wanted (asc vs desc) then to just magically pick one arbitrarily.
> If folks think a magic default is a better i've got no serious objections – just open a new issue.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org