RE: solr-dih does multiple queries for sub-entities

2013-03-04 Thread harpax
Thanks for the quick answer! I am not quite sure whether or not that will help me though. The relation between the files and the db entries is 1:1, so I am only expecting one result set for each call, that cannot be cached as the key (the filename) differs.. I will try to implement it anyway What

RE: solr-dih does multiple queries for sub-entities

2013-03-04 Thread Dyer, James
You can cache the subentity, then it will retrieve all the data for that entity in 1 query. See http://wiki.apache.org/solr/DataImportHandler#CachedSqlEntityProcessor for more information. This section focuses on caching data from SQLEntityProcessor. However, it is now possible to cache dat