Sonu Sharma created SOLR-18522:
----------------------------------

             Summary: 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


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]

Reply via email to