Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6277

cursorMark should have an option to allow sort without uniqueKey

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • search
    • None

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andyetitmoves Ramkumar Aiyengar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: