Github user dsmiley commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/416#discussion_r205119770
  
    --- Diff: 
solr/core/src/java/org/apache/solr/response/transform/DeeplyNestedChildDocTransformer.java
 ---
    @@ -108,12 +103,11 @@ public void transform(SolrDocument rootDoc, int 
rootDocId) {
           final LeafReaderContext leafReaderContext = 
searcher.getIndexReader().leaves().get(seg);
           final SortedDocValues segPathDocValues = 
DocValues.getSorted(leafReaderContext.reader(), NEST_PATH_FIELD_NAME);
     
    -      Multimap<String,SolrDocument> pendingParentPathsToChildren = 
ArrayListMultimap.create();
    +      Map<String, Multimap<String, SolrDocument>> 
pendingParentPathsToChildren = new HashMap<>();
    --- End diff --
    
    Ah good catch; yes a Map and not MultiMap at outer level once we add the 
label intermediate


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to