Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2352

Second invocation of ClusteredQueryImpl.lazyIterator() yields results in reverse order

    XMLWordPrintable

Details

    Description

      When you invoke lazyIterator() for the 2nd time on the same ClusteredQueryImpl instance, the iterator returns results in reverse order. This only occurs when the query has a Sort specified.

      Caused by DistributedIterator.setTopDocs(), which inverts the reverse flag on SortField.

      The same is probably also true for ClusteredQueryImpl.iterator()

      Attachments

        Activity

          People

            rh-ee-galder Galder ZamarreƱo
            marko.luksa@gmail.com Marko Luksa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: