Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2682

Enable counter on HTreeMap used by LocalEnumeratedIndex

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 5.4.1.Final
    • 5.4.0.Final
    • Indexing
    • None

    Description

      LocalEnumeratedIndex uses MapDB API DB.getHashSet to create HashSets. This method does not activate the counter on the created HTreeMap which leads to very poor performance when calling LocalEnumeratedIndex.estimateTotalCount() since it will requires to scan the whole collection.

      The HTreeMap should be created differently by the LocalEnumeratedIndex to enable the counter.

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            amischler Antoine Mischler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: