Index failing with DocValuesField too large

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 10.0.0, 10.3.0, 10.3.16
    • Component/s: Indexing
    • None
    • 10
    • 1
    • Severity 2 - Major

      Reindex is failing with the following error

      2026-07-22 14:59:12,381+0000 IssueIndexer:thread-1 WARN      [c.a.jira.index.AccumulatingResultBuilder] Indexing failed for Issue - '10100'
      2026-07-22 14:59:12,381+0000 IssueIndexer:thread-1 WARN      [c.a.jira.index.AccumulatingResultBuilder] DocValuesField "customfield_10300" is too large, must be <= 32766
      java.lang.IllegalArgumentException: DocValuesField "customfield_10300" is too large, must be <= 32766
      

      This error was previously fixed by the following tickets but can still happen on certain scenarios

      Steps to reproduce

      1. Have a Jira instance with Oracle DB and Jira Misc Custom Field plugin
      2. Create a Multi line text field using the "Exact text searcher" provided by JMCF.
      3. Add a huge value with special characters (ie. emojis)
      4. Run a locked reindex

      Expected result
      Jira completes the indexing without errors, removing the huge field from lucene if needed.
      A log message is still emitted to warn the app developer.

      Actual result
      Reindex fails with the error above.

      Workaround
      There are 2 options

      1. Use the "Free text searcher" in the custom field
      2. Remove some/all special characters

              Assignee:
              Unassigned
              Reporter:
              Marcus Silveira
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: