Applies to all backends: "hibernate.search.default.worker.execution" "async"
Then override the above per specific index which needs to be sync : "hibernate.search.books.worker.execution" "sync" On 15 April 2013 22:37, Ales Justin <ales.jus...@gmail.com> wrote: > What's (again) the magic property to set all indexes backends in a cache to > async? > > -Ales > > On Apr 15, 2013, at 7:00 PM, Sanne Grinovero <sa...@hibernate.org> wrote: > >> In my first draft for HSEARCH-1296 I was automatically enabling the >> blocking behaviour on JGroups if the worker backend was configured to >> be synchronous (which is the default for workers), >> but Emmanuel didn't like that and I think he has a good point: >> >> The JGroups behaviour and the workers behaviour are two different >> things; so I just separated this into a new configuration property >> >> "block_waiting_ack" (boolean) >> >> which of course applies only to the JGroups backends. >> >> I agree it's important to keep the two separate, but also if the user >> is configuring an ASYNC worker, he should set this option to false as >> there is no benefit in waiting for the delivery. >> Likewise, if SYNC is required, you would probably want to set this to true. >> >> So I'm suggesting we make the default value ot "block_waiting_ack" >> dependant on the worker execution, exposing the property as an >> override. >> >> Thoughts? >> >> I guess it's much easier to understand the default behaviour if we >> keep them separate, still I don't see much use for configuring the two >> independently. >> >> Cheers, >> Sanne >> >> https://hibernate.atlassian.net/browse/HSEARCH-1296 >> _______________________________________________ >> hibernate-dev mailing list >> hibernate-dev@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/hibernate-dev > > > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev