Solr distinguish multiple entities

Synoo [Bot]

New Member
When using DataImportHandler with SqlEntityProcessor, I want to have several definitions going into the same schema with different queries.How can I search both type of entities but also distinguish their source at the same time. Example:\[code\]<document><entity name="entity1" query="query1"> <field column="column1" name="column1" /> <field column="column2" name="column2" /></entity><entity name="entity2" query="query2"> <field column="column1" name="column1" /> <field column="column2" name="column2" /></entity></document>\[/code\]How to get data from entity 1 and from entity 2?
 
Back
Top