Ramkumar Aiyengar created SOLR-6277:
---------------------------------------

             Summary: cursorMark should have an option to allow sort without 
uniqueKey
                 Key: SOLR-6277
                 URL: https://issues.apache.org/jira/browse/SOLR-6277
             Project: Solr
          Issue Type: Improvement
          Components: search
            Reporter: Ramkumar Aiyengar
            Priority: Minor


Forking off discussion in SOLR-6121

By default, {{cursorMark}} requires an unique sort key as not having one can in 
general can potentially lead to infinite loops of requests. But in cases where 
the sort key is unique but just not the schema {{uniqueKey}} (or in some other 
usage patterns where an infinite loop is not possible), it would be good to 
have an expert option which bypasses this check.

Bonus: It should be possible to add information to the cookie to detect when 
things are looping and return an error in such a case. This would make it safe 
even if this option is specified (at the cost of leaving the error to a later 
indefinite point when this condition happens depending on the data, so still 
not preferable as the default).




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to