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 4:2

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 und

Re: Parameterized queries in Lucene

2019-10-25 Thread Stamatis Zampetakis
In terms of performance, I am not going to insist a lot before performing some accurate benchmarks. (I will do that and share the results here if I find some time). The main benefit I see for having such a new query type in Lucene core is that it guides the users on creating parameterized queries