You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Joel Bernstein (Jira)" <ji...@apache.org> on 2022/01/27 15:42:00 UTC

[jira] [Resolved] (SOLR-8654) SQL: Unlimited SELECT without an ORDER BY should sort by _version_ desc

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

Joel Bernstein resolved SOLR-8654.
----------------------------------
    Resolution: Resolved

Fixed long ago but never closed

> SQL: Unlimited SELECT without an ORDER BY should sort by _version_ desc
> -----------------------------------------------------------------------
>
>                 Key: SOLR-8654
>                 URL: https://issues.apache.org/jira/browse/SOLR-8654
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 6.0
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>            Priority: Major
>         Attachments: SOLR-8654.patch
>
>
> Currently unlimited SELECT statements will throw an exception if an ORDER BY clause is not provided. This is because unlimited selects are handled by the /export handler which requires a sort. Rather then throw an exception we can just order by the _version_ number. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org