<div><br></div>I am thinking how to provide programmatic configuration into Hibernate Search for many caches, i.e. if user wants to use different configured caches for each index.<div>With XML it is ok, in one file can be configured many named caches. So far in programmatic version user have to implement method that returns Configuration object - only one configuration can be provided that way. </div>
<div>To achieve this same what in XML case, method should return something like: List<{cacheName}, {configuration}>. It is quite painfull, but on the other hand just extra feature. Some other ideas?<br>
<div><br></div><div>Cheers,</div><div>Lukasz Moren</div></div>