[
https://issues.apache.org/jira/browse/SOLR-10874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048069#comment-16048069
]
Michael Kosten commented on SOLR-10874:
---------------------------------------
It's an assertion error in AssertingLeafReader, so if the code performs
correctly if assertions are disabled, then perhaps the assertion is unnecessary?
If you skip that assertion, then it fails an assertion in
Lucene50PostingsReader. The crux is that the postings reader doesn't like
nextPosition being called for a document more than the term frequency, which is
what happens if floatVal in FloatPayloadValueSource is called sequentially for
the same document.
Maybe this scenario only happens in very specific circumstances?
> FloatPayloadValueSource throws assertion error if debug=true
> ------------------------------------------------------------
>
> Key: SOLR-10874
> URL: https://issues.apache.org/jira/browse/SOLR-10874
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: search
> Affects Versions: 6.6
> Reporter: Michael Kosten
> Priority: Minor
> Attachments: SOLR-10874.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Using the new payload function will fail with an assertion error if the debug
> parameter is included in the query. This is caused by the floatValue method
> in FloatPayloadValueSource being called for the same doc id twice in a row.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]