Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Not A Problem
-
4.2
-
None
-
None
-
None
-
New
Description
When there is only Segements in solr core, which means no any indexes, in CompositeReaderContext.build() method, the atomicReader that has no fields returned should not be added into leaves. Otherwise, in SolrIndexSearcher.getDocSetNC(Query query, DocSet filter), when execute line fields.terms(t.field()), a nullpointerexception will occur since fields variable is null.
Attachments
Issue Links
- breaks
-
SOLR-4877 SolrIndexSearcher#getDocSetNC should check for null return in AtomicReader#fields()
- Closed