Is the ID field used as unique key? Your entities could be overriding each other.
Regards, Alex On 4 Jun 2013 06:29, "sodoo" <first...@yahoo.com> wrote: > 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/Create-index-on-few-unrelated-table-in-Solr-tp4068054.html > Sent from the Solr - User mailing list archive at Nabble.com. >