Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C3E610E42 for ; Fri, 16 Oct 2015 11:40:19 +0000 (UTC) Received: (qmail 40476 invoked by uid 500); 16 Oct 2015 11:40:15 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 40406 invoked by uid 500); 16 Oct 2015 11:40:15 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 40395 invoked by uid 99); 16 Oct 2015 11:40:15 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2015 11:40:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 369C21A079F for ; Fri, 16 Oct 2015 11:40:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.99 X-Spam-Level: X-Spam-Status: No, score=0.99 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 5IlssP7gF1BB for ; Fri, 16 Oct 2015 11:40:13 +0000 (UTC) Received: from mail.doubleslash.de (mail.doubleslash.de [81.27.116.140]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 48E4F23057 for ; Fri, 16 Oct 2015 11:40:13 +0000 (UTC) Received: from fdhmsx01.doubleslash.org (10.168.11.171) by FDHMSX01.doubleslash.org (10.168.11.171) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Fri, 16 Oct 2015 13:40:04 +0200 Received: from fdhmsx01.doubleslash.org ([fe80::554:e0df:4c07:d664]) by FDHMSX01.doubleslash.org ([fe80::554:e0df:4c07:d664%12]) with mapi id 15.00.1104.000; Fri, 16 Oct 2015 13:40:04 +0200 From: Matthias Fischer To: "'solr-user@lucene.apache.org'" Subject: Nested entities not imported / do not show up in search? Thread-Topic: Nested entities not imported / do not show up in search? Thread-Index: AdEIBGZV0a6fqU+mQ8aSoJWAaQ1+VQ== Date: Fri, 16 Oct 2015 11:40:04 +0000 Message-ID: <57f5cf63d8674baba45c15a86aaa9f2d@FDHMSX01.doubleslash.org> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.168.10.221] x-esetresult: clean, is OK x-esetid: 10861639AD493D3640C54A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hello everybody, I am trying to import from an Oracle DB 11g2 via DIH using SOLR 5.3.1.=20 In my relational DB there are company addresses (table tb_firmen_adressen) = and branches (table tb_branchen). They have an n:m relationship using the j= oin table tb_firmen_branchen.=20 Now I would like to find companies by their name and in each company result= I would like to see the associated branches. However I only get the companies without the nested entries. As a newbie I'= d highly appreciate some help as there are no errors or warnings in the log= file and I could not find any helpful hints in the documentation or elsewh= ere in the internet concerning my problem.=20 Here is my data config: =20 =20 =20 And here are the relevant lines from my schema file: firma_ebi_nr =20 After restarting solr and calling http://localhost:8983/solr/jcg/dataimport= ?command=3Dfull-import I get "Indexing completed. Added/Updated: 9999 docum= ents. Deleted 0 documents." So basically it seams to work, but my search results look like this: { "responseHeader":{ "status":0, "QTime":71, "params":{ "q":"Der Bunte", "defType":"edismax", "indent":"true", "qf":"firma_namenszeile_1", "wt":"json"}}, "response":{"numFound":85,"start":0,"docs":[ { "firma_ebi_nr":123123123, "firma_namenszeile_1":"Der Bunte Laden", "_version_":1515185579421073408}, { ... } Why are there no company branches inside the company records? What's wrong = with my configuration? Any help is appreciated! Kind regards Matthias Fischer