lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmd <>
Subject DIH nested entity and multiple columns
Date Thu, 26 Aug 2010 15:26:54 GMT

my confile xml like this.
<dataSource driver="org.hsqldb.jdbcDriver"
url="jdbc:hsqldb:/temp/example/ex" user="sa" />
    <document name="products">
        <entity name="item" query="select * from item">
            <field column="ID" name="id" />
            <field column="NAME" name="name" />
            <entity name="feature" query="select col1,col2,col3 from feature
where item_id='${item.ID}'">
                <field name="col1" column="col1" />
                <field name="col2" column="col2" />
                <field name="col3" column="col3" />

when i query products with some terms 
result can't show feature entity every rows with col1,col2,col3 ,but it is

I want to get all fields with item and feature and with nested
entity(document) structure
View this message in context:
Sent from the Solr - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message