Hello,

I finally was able to run a full import on an Oracle database. According to
the statistics, it looks like it fetched all the rows from the table.
However, When I go into <solrhome>/data, there is nothing in there.

This is my data-config.xml file:

<dataConfig>
    <dataSource driver="oracle.jdbc.driver.OracleDriver" url="<url>"
user="xxxx" password="xxxx"/>
    <document name="article">
            <entity name="akb" query="select * from akb">
                                <field column="TITLE" name="title" />
                                <field column="STATUS" name="status" />
                                <field column="BODY" name="body" />
                                <field column="ID" name="id" />

                                <entity name="akbr" query="select USER from 
AKBR where AID='${akb.ID}'">
                                        <field column="USER" name="user"  />
                                </entity> 
        </entity>
    </document>
</dataConfig>

I added all the relevant fileds in the schema.xml file. From the interface
when I do dataimport?command=full-import, it says that "n rows were
fetched", where n is the actual number of rows in the DB table. Everything
looks great from there, but there is nothing in my data folder. In
solrconfig.xml, the line that defines the location where data is stored is:

<dataDir>${solr.data.dir:./solr/data}</dataDir>

What am I missing exactly? BTW, the Tomcat logs don't show errors or
anything like that.

Cheers and Thank you.
-- 
View this message in context: 
http://www.nabble.com/Indexing-from-a-DB%2C-corrupt-Lucene-index-tp23175796p23175796.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to