I'm using Solr 4.2, and I am trying to call SolrEntityProcessor as a sub-entity. So far, only one call is made to Solr and a single document is indexed while all others are ignored. This should be possible, but it doesn't seem to work... Any ideas?
Code snippist:
<document>
<entity dataSource="psql" name="user" query="SELECT * FROM users";>
<field column="id" name="user_id" />
<entity name="liked_items" processor="SolrEntityProcessor" url="http://localhost:8983/solr/items" query="user_liking_this:${user.id}" rows="1000" fl="item_id" >
<field column="item_id" name="item_id" />
</entity>
</entity>
</document>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…