Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-4430

Get the total HitCount without performance penalty for proper paging

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Top
    • Resolution: Fixed
    • None
    • r2.17.00
    • None
    • For ECM against jackrabbit 2.1 and higher:

    Description

      Add to the QueryResult decorators in ECM a method: getTotalSize() calling the Jackrabbit's QueryResultImpl#getTotalSize()

      This method gets the Lucene hit count even though they are not yet authorized. Typically, this is very useful for paging as you know the total (unauthorized) hits.

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              aschrijvers Ard Schrijvers
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: