java.lang.IllegalArgumentException: Document contains at least one immense term in field="description" (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: '[87, 49, 87, 112, 71, 104, 79, 48, 90, 86, 90, 117, 54, 66, 77, 52, 117, 49, 77, 107, 114, 90, 71, 79, 73, 83, 109, 70, 106, 111]...', original message: bytes can be at most 32766 in length; got 40005

sugarcrm.com | 3 months ago
  1. 0

    SugarCRM, Inc.

    sugarcrm.com | 3 months ago
    java.lang.IllegalArgumentException: Document contains at least one immense term in field="description" (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: '[87, 49, 87, 112, 71, 104, 79, 48, 90, 86, 90, 117, 54, 66, 77, 52, 117, 49, 77, 107, 114, 90, 71, 79, 73, 83, 109, 70, 106, 111]...', original message: bytes can be at most 32766 in length; got 40005
  2. 0

    Strange exception in Elasticsearch 1.4.3

    Google Groups | 2 years ago | Angel Cross
    java.lang.IllegalArgumentException: Document contains at least one immense term in field="content.raw" (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: '[60, 112, 62, 73, 32, 104, 97, 118, 101, 32, 109, 121, 32, 115, 105, 116, 101, 32, 108, 111, 97, 100, 105, 110, 103, 32, 97, 110, 100, 32]...', original message: bytes can be at most 32766 in length; got 33088
  3. 0

    pqsql protocol sending "immense" fields

    GitHub | 1 year ago | portante
    java.lang.IllegalArgumentException: Document contains at least one immense term in field="query" (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: '[83, 69, 76, 69, 67, 84, 32, 34, 115, 110, 97, 112, 115, 104, 111, 116, 115, 34, 46, 42, 32, 70, 82, 79, 77, 32, 34, 115, 110, 97]...', original message: bytes can be at most 32766 in length; got 140119
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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)

  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 40005

    at org.apache.lucene.util.BytesRefHash.add()
  2. Lucene
    IndexWriter.addDocument
    1. org.apache.lucene.util.BytesRefHash.add(BytesRefHash.java:284)
    2. org.apache.lucene.index.TermsHashPerField.add(TermsHashPerField.java:151)
    3. org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:663)
    4. org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:359)
    5. org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:318)
    6. org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:241)
    7. org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:465)
    8. org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1526)
    9. org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1252)
    9 frames
  3. ElasticSearch
    AbstractRunnable.run
    1. org.elasticsearch.index.engine.InternalEngine.innerIndex(InternalEngine.java:432)
    2. org.elasticsearch.index.engine.InternalEngine.index(InternalEngine.java:364)
    3. org.elasticsearch.index.shard.IndexShard.index(IndexShard.java:510)
    4. org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:413)
    5. org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:148)
    6. org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$PrimaryPhase.performOnPrimary(TransportShardReplicationOperationAction.java:574)
    7. org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$PrimaryPhase$1.doRun(TransportShardReplicationOperationAction.java:440)
    8. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:36)
    8 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames