jtibshirani commented on PR #920: URL: https://github.com/apache/lucene/pull/920#issuecomment-1135164651
Thank you @mocobeta for looking into this! I don't think the failure is caused having multiple segments, since we make sure to force merge to one segment before starting the searches. Stepping through what happens, it looks like we just hit a really unlucky query + data combination where it takes more than 150 steps to conclude the search. Your proposed fix makes sense to me. Another option is to decrease `k` to make the search more restrictive (currently it's set to 5, I think 1 would work instead). -- 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