I'm trying out intervals wildcard queries. But in the process, depending on the term I'm hitting the 128 expansion limit. I know that this is a hard limit imposed by Lucene. But my question is if I have to get past it, how do I (Any alternate way)?
This is for the middle wildcards (e.g. exa*le), so prefixing/ngraming wouldn't work.
To elaborate more on the use case, let's say, I've got a query *ad*ed* on a field called description. Now, we also have description data indexed in sub-field using ngram filter (to avoid leading and trailing wildcards).
I see that Lucene does provide an overridden method to pass an integer as an argument. Can we have something in the method to call that overridden method here?
Also, is there any way to provide say top N (50/100/128) expanded terms instead of throwing an error?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.