[
https://issues.apache.org/jira/browse/SOLR-18522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrzej Bialecki updated SOLR-18522:
------------------------------------
Affects Version/s: 9.11
> 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, 9.11
> Reporter: Sonu Sharma
> Assignee: Andrzej Bialecki
> Priority: Minor
> Labels: pull-request-available
> Fix For: 10.1, 9.12
>
> 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]