dlavant commented on PR #12249: URL: https://github.com/apache/lucene/pull/12249#issuecomment-2008538507
I think I ran into this issue with (Elastic 7.17 + Lucene 8.11.1). I am aware that this version of Lucene does not have the fix. To confirm this, I tried to reproduce the StackOverflowError on-demand by feeding Elastic an absurdly long query. But strangely, I cannot reproduce it consistently. To be specific, I am running queries that are ~200,000 characters long, with a single word repeated over and over (i.e. "cat,cat,cat,cat....cat,cat,cat,cat"). I would expect that a query like this would trigger the StackOverflowError every time, but it doesn't. I suspect there some fact about Lucene tokenization that I am overlooking. Could anyone provide an example of a query *string* that would be likely to cause the StackOverflowError? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org