java.lang.IllegalArgumentException: Document contains at least one immense term in field="full" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped. Please correct the analyzer to not produce such terms. The prefix of the first immense term is: '[101, 57, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 102, 48, 48, 48, 48, 48, 48, 48, 102, 48, 49, 55, 48]...', original message: bytes can be at most 32766 in length; got 89226

GitHub | tarzanek | 4 months ago
  1. 0

    make parsers stop producing tokens > 32766 chars

    GitHub | 4 months ago | tarzanek
    java.lang.IllegalArgumentException: Document contains at least one immense term in field="full" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped. Please correct the analyzer to not produce such terms. The prefix of the first immense term is: '[101, 57, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 102, 48, 48, 48, 48, 48, 48, 48, 102, 48, 49, 55, 48]...', original message: bytes can be at most 32766 in length; got 89226
  2. 0

    Strange exception in Elasticsearch 1.4.3

    Google Groups | 2 years ago | Angel Cross
    java.lang.IllegalArgumentException: State contains AttributeImpl of type org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl that is not in in this AttributeSource
  3. 0

    cluster can't recover after upgrade from 1.1.1 to 1.3.2 due to MaxBytesLengthExceededException

    Google Groups | 2 years ago | omar
    org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException: [transient_2014_09_10][7] failed to recover shard
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to correctly implement a delegating tokenizer in lucene 4.x?

    Stack Overflow | 2 years ago | user3159253
    java.lang.IllegalArgumentException: first position increment must be > 0 (got 0) for field 'address' at org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:617)
  6. 0

    freebsd dxr howto ยท GitHub

    github.com | 1 year ago
    java.lang.IllegalArgumentException: Document contains at least one immense term in field="content" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped. Please correct the analyzer to not produce such terms. The prefix of the first immense term is: '[66 30 66 30 66 30 66 30 31 31 65 65 38 33 38 32 34 31 61 30 63 65 63 35 32 35 61 36 30 63]...'

  1. tyson925 3 times, last 4 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.lucene.util.BytesRefHash$MaxBytesLengthExceededException

    bytes can be at most 32766 in length; got 89226

    at org.apache.lucene.util.BytesRefHash.add()
  2. Lucene
    IndexWriter.addDocument
    1. org.apache.lucene.util.BytesRefHash.add(BytesRefHash.java:263)
    2. org.apache.lucene.index.TermsHashPerField.add(TermsHashPerField.java:150)
    3. org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:762)
    4. org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:417)
    5. org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:373)
    6. org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:232)
    7. org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:449)
    8. org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1492)
    9. org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1271)
    9 frames
  3. org.opensolaris.opengrok
    IndexDatabase$2.run
    1. org.opensolaris.opengrok.index.IndexDatabase.addFile(IndexDatabase.java:635)
    2. org.opensolaris.opengrok.index.IndexDatabase.indexDown(IndexDatabase.java:883)
    3. org.opensolaris.opengrok.index.IndexDatabase.indexDown(IndexDatabase.java:848)
    4. org.opensolaris.opengrok.index.IndexDatabase.indexDown(IndexDatabase.java:848)
    5. org.opensolaris.opengrok.index.IndexDatabase.indexDown(IndexDatabase.java:848)
    6. org.opensolaris.opengrok.index.IndexDatabase.indexDown(IndexDatabase.java:848)
    7. org.opensolaris.opengrok.index.IndexDatabase.indexDown(IndexDatabase.java:848)
    8. org.opensolaris.opengrok.index.IndexDatabase.indexDown(IndexDatabase.java:848)
    9. org.opensolaris.opengrok.index.IndexDatabase.update(IndexDatabase.java:397)
    10. org.opensolaris.opengrok.index.IndexDatabase$2.run(IndexDatabase.java:184)
    10 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames