[
https://issues.apache.org/jira/browse/SOLR-18522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18125147#comment-18125147
]
ASF subversion and git services commented on SOLR-18522:
--------------------------------------------------------
Commit e25ef309d3b7d93b7958c7594888d154081e2815 in solr's branch
refs/heads/branch_10_1 from Sonu Sharma
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=e25ef309d3b ]
SOLR-18522: Fix for SortedIntDocSet union affecting facet in Combined Query
(#5060)
(cherry picked from commit ff3ab1e726ee0ea895accf1143cfa02ec7a358df)
> Faceting issue on Combined Query Component
> ------------------------------------------
>
> Key: SOLR-18522
> URL: https://issues.apache.org/jira/browse/SOLR-18522
> Project: Solr
> Issue Type: Bug
> Affects Versions: 10.0
> Reporter: Sonu Sharma
> Assignee: Andrzej Bialecki
> Priority: Minor
> Labels: pull-request-available
> Fix For: 10.1
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Faceting on {{CombinedQuerySearchHandler}} results can fail due to bug in
> union of the sub-query DocSets. When every sub-query matches only a few docs,
> they are {{{}SortedIntDocSet{}}}s, and {{SortedIntDocSet.union()}} returns a
> {{BitDocSet}} whose {{FixedBitSet}} is sized to the largest matching doc + 1,
> not {{{}maxDoc{}}}. {{BitDocSet.iterator(LeafReaderContext)}} assumes the
> bitset covers every segment and calls {{bits.nextSetBit(docBase)}} for later
> segments, which reads past the end of the array.
>
> It's reported in mailing list :
> https://lists.apache.org/thread.html/k0slwkt70y5dkrd9dmxhn9o3dwy4l90f
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]