Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10384

Fix stripping of large indexed ordered properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.58.0
    • lucene
    • None

    Description

      Currently, the ordered indexed properties are truncated at the max length supported by lucene at 32766 in the LuceneDocumentMaker.

      The problem is lucene uses a class BytesRef to represent strings which converts it to UTF-8. It then uses the length from this converted string to enforce the limit. The transformation between java unicode string to utf-8 can cause the length to increase for non-ascii characters.

      Attachments

        Issue Links

          Activity

            People

              amitj Amit Jain
              amitj Amit Jain
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: