This topic has not yet been written. The content below is from the topic description.
Configuration This works with local only configurations and also with any clustering mode supported by Infinispan. In clustered environments it's recommended to keep the L1 cache of Infinispan enabled; a transaction manager is not mandatory, while batching needs to be enabled. An example configuration: Â public static Configuration createTestConfiguration() { Â Â Â Â Â Configuration c = new Configuration(); Â Â Â Â Â c.setCacheMode(Configuration.CacheMode.DIST_SYNC); Â Â Â Â Â c.setL1CacheEnabled(true); Â Â Â Â Â c.setInvocationBatchingEnabled(true); Â Â Â Â Â return c; Â Â } Â Demo There is a simple command-line demo of it's capabilities distributed with Infinispan under demos/lucene-directory; make sure you grab the *-all.zip distribution from sourceforge, which contains all demos. Start several instances, then try adding text in one instance and searching for it on the other. The configuration is not tuned at all, but should work out-of-the box without any changes. If your network interface has multicast enabled, it will cluster across the local network with other instances of the demo.