Hi,

We have several oracle views which contain the result of an ETL process. I
want to index information from those views and have the following
data-config.xml

<dataSource name=&quot;jdbc&quot;
driver=&quot;oracle.jdbc.driver.OracleDriver&quot;
url=&quot;jdbc:oracle:thin:@//&lt;host>:1521/<db>  user="a" password="a"/>
    <document name="products">
        <entity name="item" query="select * from products_vw">
                <entity name="description" query="select * from DESCRIPTIONS_VW 
where
pdt_id='${item.pdt_id}'" />
                <entity name="songtitel" query="select * from SONGS_VW where
pdt_id='{item.pdt_id}'" />
           ....
           ....
         </entity>
...

products can be everything and sometimes are musicproducts.

it works up to the point where the 'item'/product is indexed but the rest is
not. The only strange thing i see is that (almost) every product is indexed
with one and the same songtitle for some reason.

So for some reason it does not do a 'join all'.

Any suggestions?

Thanks,
Maarten
        



--
View this message in context: 
http://lucene.472066.n3.nabble.com/DIH-nested-entities-don-t-work-tp4015514.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to