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

Modify signature of Query/CacheQuery.getResultSize() and related offset/pagination methods to return long

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      The method exists in both new DSL and the classic query api.

      It should be clarified whether this method and the related pagination methods should use int or long for specifying offsets within the data, also should decide if the total number of results / results per page is a long or an int - and update all involved method signatures to have a unitary treatment of this issue.

      It appears that recent Lucene versions can offer the number of results as long, while older ones offer it as int (should be verified).

      This issue was raised in a github conversation here: https://github.com/infinispan/infinispan/pull/2410

              Unassigned Unassigned
              anistor Adrian Nistor (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: