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 GitHub Bot (Jira)" <ji...@apache.org> on 2026/10/08 10:45:00 UTC
[jira] [Updated] (SOLR-18522) Faceting issue on Combined Query Component
[ https://issues.apache.org/jira/browse/SOLR-18522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SOLR-18522:
----------------------------------
Labels: pull-request-available (was: )
> Faceting issue on Combined Query Component
> ------------------------------------------
>
> Key: SOLR-18522
> URL: https://issues.apache.org/jira/browse/SOLR-18522
> Project: Solr
> Issue Type: Bug
> Reporter: Sonu Sharma
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> 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