Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Lucene's getFiniteStrings to not consume Java stack #5927

Closed

Conversation

mikemccand
Copy link
Contributor

This pull request just copies in the fix for https://issues.apache.org/jira/browse/LUCENE-5628 to avoid problems like http://build.elasticsearch.com/job/es_jdk8_medium_master/34/jdk=JDK8,label=ubuntu-12-64-0-metal/testReport/junit/org.elasticsearch.search.suggest.completion/CompletionPostingsFormatTest/testDuellCompletions/ where a too-big string passed to the suggester can result in exhausting the Java stack.

Once LUCENE-5628 is fixed (I expect in 4.9), and we upgrade to it, we can remove this XSpecialOperations.

…don't consume gobbs of Java stack; we'll remove this once we ugrade to Lucene 4.9
@s1monw
Copy link
Contributor

s1monw commented Apr 24, 2014

I agree with @spinscale we should have a static assert to remove this class once we upgrade

@mikemccand
Copy link
Contributor Author

Thanks @spinscale, that makes total sense, I'll do that!

@rmuir
Copy link
Contributor

rmuir commented May 4, 2014

looks good

@mikemccand mikemccand closed this May 4, 2014
@clintongormley clintongormley added >bug :Search/Suggesters "Did you mean" and suggestions as you type labels Jun 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Suggesters "Did you mean" and suggestions as you type v1.2.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants