[ https://issues.apache.org/jira/browse/LUCENE-7385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383481#comment-15383481 ]
ASF subversion and git services commented on LUCENE-7385: --------------------------------------------------------- Commit 6e99ed3013d4bc53168d22560a0d9ac5f9db1cfb in lucene-solr's branch refs/heads/branch_6x from [~dsmiley] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6e99ed3 ] LUCENE-7385: Improve/fix assert messages in SpanScorer. (cherry picked from commit efef37b) > SpanScorer's assert message strings should reference spans.toString() > --------------------------------------------------------------------- > > Key: LUCENE-7385 > URL: https://issues.apache.org/jira/browse/LUCENE-7385 > Project: Lucene - Core > Issue Type: Improvement > Components: core/search > Reporter: David Smiley > Priority: Minor > Attachments: LUCENE_7385.patch > > > SpanScorer.setFreqCurrentDoc has a bunch of assert statements, and they refer > to {{this.toString()}}. I'm pretty confident the intention was for this to > actually be {{spans.toString()}}, not "this" which is a SpanScorer that > doesn't even have a custom toString. It was probably correct once but after > some refactoring of Spans got messed up, probably in LUCENE-6919 (Lucene 5.5). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org