<div>I was thinking that maybe we can expose full conf options. Infinispan supports programmatical and xml ways to configure cache.</div><div>To achieve first one, could be created some interface with factory method that returns cache. User can implement that and create cache as he wants.</div>
<div><br></div><div>Something like that:</div><div><br></div><div><div><property name="hibernate.search.infinispan.conf" value="org.hibernate.search.store.infinispan.CacheFactoryImpl" /></div><div>
<br></div><div>and for xml</div><div><br></div><div><property name="hibernate.search.infinispan.conf" value="xml-conf.xml" /></div><div><br></div><div> </div></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Exposing some configuration to infinispan makes sense. can you start a thread explainig what is configurable and which one you think we should expose to hsearch users. Ideally I would like to offer one or two defaut config scenarios and allow to fallback to a custom config.</blockquote>
<div><br></div><div>Cheers,</div><div>Lukasz Moren </div>