Please don't create new threads re-asking the same questions -- especailly when the existing thread is only a day old, and still actively getting responses.
it just increases the overall noise of of the list, and results in multiple people wasting their time providing you with the same answers... http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201306.mbox/%3ccaldws-wknmwuralhhmmmtth+7noy1ewu0z-shtmwcoaxzes...@mail.gmail.com%3E http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201306.mbox/%3Calpine.DEB.2.02.1306041534070.2959@frisbee%3E : Date: Tue, 4 Jun 2013 02:10:52 -0700 (PDT) : From: sodoo <first...@yahoo.com> : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Create index on few unrelated table in Solr : : 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. : -Hoss