Defining nested entities in Solr Data Import Handler

前端 未结 2 1536
傲寒
傲寒 2020-12-11 07:53

Let me preface by mentioning that I\'ve been through everything I could find about this topic including the Solr docs and all of the SO questions.

I have a Solr inst

2条回答
  •  长情又很酷
    2020-12-11 08:09

    DIH does not produce nested documents. Solr supports them, but DIH can't yet generate them.

    The nested entities in DIH is to be able to merge sources and to be able to create entities based on iteration from a different source. E.g. if the outer entity reads a file for file names and inner entity loads content from those files with each file getting its own record.

    You may want to move your nested object code into the client with SolrJ for now.

提交回复
热议问题