Re: Getting a MaxBytesLengthExceededException for a TextField

2019-10-25 Thread Erick Erickson
Text-based fields indeed do not have that limit for the _entire_ field. They _do_ have that limit for any single token produced. So if your field contains, say, a base-64 encoded image that is not broken up into smaller tokens, you’ll still get this error. Best, Erick > On Oct 25, 2019, at

Getting a MaxBytesLengthExceededException for a TextField

2019-10-25 Thread Marko Ćurlin
Hi everyone, I am getting an org.apache.lucene.util.BytesRefHash$MaxBytesLengthExceededException, while trying to insert a list with 9 elements, of which one is 242905 bytes long, into Solr. I am aware that StrField has a hard limit of slightly less than 32k. I am using a TextField that by my