Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2669

Improve reading of cached UUID for given document number

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.2
    • jackrabbit-core
    • None

    Description

      CachingIndexReader.document(int n, FieldSelector fieldSelector) creates a new
      Field from the cached UUID. The lucene Field implementation always does a
      String.intern() on the field name, which is quite slow. We should probably have
      our own implementation for that specific use case where we know that the name
      is already interned. e.g. UUIDField implements Fieldable.

      Attachments

        1. JCR-2669.patch
          5 kB
          Marcel Reutegger

        Activity

          People

            mreutegg Marcel Reutegger
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: