Thank you. Solve the issue.

Also I one problem. 
========================================================
I want to create index few tables. All tables not related. 

In data-config.xml, that I created to create index 

<dataConfig>
 <dataSource type="JdbcDataSource" 
          name="ds-1" 
          driver="com.mysql.jdbc.Driver" 
          url="jdbc:mysql://localhost/testdb" 
          user="root" 
          password="*******"/>
  <document>
    <entity name="admin" query="select *from admin" dataSource="ds-1">
            <field column="id" name="id" />
            <field column="name" name="name" />
            <field column="mail" name="mail" />
    </entity>

    <entity name="checklist" query="select *from checklist"
dataSource="ds-1">
            <field column="id" name="id" />
            <field column="title" name="title" />
            <field column="connect" name="connect" />
    </entity>

    <entity name="account" query="select *from account" dataSource="ds-1">
            <field column="id" name="id" />
            <field column="name" name="name" />
            <field column="code" name="code" />
    </entity>
</document>
      
And I have register schema.xml these fields. 
I tried to make full import but unfortunately only the last entity is
indexed. Other entities are not index. 

What should I do to import all the entities?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multitable-import-uniqueKey-tp4067796p4068076.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to