• Resolved odork123

    (@odork123)


    If the content is longer than 32766 characters, i get this error:

    Solr HTTP error: OK (400) {“responseHeader”:{“status”:400,”QTime”:567},”error”:{“metadata”:[“error-class”,”org.apache.solr.common.SolrException”,”root-error-class”,”org.apache.lucene.util.BytesRefHash$MaxBytesLengthExceededException”],”msg”:”Exception writing document id 467575 to the index; possible analysis error: 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: ‘[10, 84, 105, 115, 122, 116, 101, 108, 116, 32, 77, 105, 110, 105, 115, 122, 116, 101, 114, 101, 108, 110, -61, -74, 107, 32, -61, -102, 114, 33]…’, original message: bytes can be at most 32766 in length; got 38009. Perhaps the document has an indexed string field (solr.StrField) which is too large”,”code”:400}}

    https://www.ads-software.com/plugins/wpsolr-search-engine/

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to handle too long content?’ is closed to new replies.