Hello Mikhail, Thanks for helping. I added documents using solrInputDocument and all childs as collection as collection using addChildDocumnets method. It is working fine now.
Thanks a lot for your help. On Jan 18, 2018 11:57 PM, "Mikhail Khludnev" <m...@apache.org> wrote: Just find a way how to write a block into a segment as whole via https://lucene.apache.org/core/4_6_0/core/org/apache/ lucene/index/IndexWriter.html#addDocuments(java.lang.Iterable, org.apache.lucene.analysis.Analyzer). On Thu, Jan 18, 2018 at 8:24 AM, Aashish Agarwal <aaashi...@gmail.com> wrote: > So is there any way to solve the above problem? > > On Jan 18, 2018 1:31 AM, "Mikhail Khludnev" <m...@apache.org> wrote: > > > sure > > > > On Wed, Jan 17, 2018 at 9:39 PM, Aashish Agarwal <aaashi...@gmail.com> > > wrote: > > > > > Hello, > > > I tried to use block join query feature in solr 4.6.0. My data is in > > > database but since 4.6 does not support DIH with child=true, so I > created > > > the csv in order list of child followed by parent. > > > I used the csv to import data as described in > > > https://gist.github.com/mkhludnev/6406734#file-t-shirts-xml > > > So, _root_ value is created by me not internally by solr. Would that > > > create a problem. > > > > > > Please help. > > > > > > Thanks, > > > Aashish > > > > > > > > > > > -- > > Sincerely yours > > Mikhail Khludnev > > > -- Sincerely yours Mikhail Khludnev