You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/10/08 16:30:00 UTC
[jira] [Commented] (SOLR-18522) Faceting issue on Combined Query Component
[ https://issues.apache.org/jira/browse/SOLR-18522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18125144#comment-18125144 ]
ASF subversion and git services commented on SOLR-18522:
--------------------------------------------------------
Commit ff3ab1e726ee0ea895accf1143cfa02ec7a358df in solr's branch refs/heads/main from Sonu Sharma
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=ff3ab1e726e ]
SOLR-18522: Fix for SortedIntDocSet union affecting facet in Combined Query (#5060)
> 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org