Skip to content

Instantly share code, notes, and snippets.

@mmarkus mmarkus/gist:5195400
Created Mar 19, 2013

Embed
What would you like to do?
<?xml version="1.0" encoding="utf-8"?>
<infinispan
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:5.2 http://www.infinispan.org/schemas/infinispan-config-5.2.xsd"
xmlns="urn:infinispan:config:5.2">
<global>
<transport clusterName="relevance-index"
distributedSyncTimeout="50000"
transportClass="org.infinispan.remoting.transport.jgroups.JGroupsTransport">
<properties>
<property name="configurationFile" value="jgroups-ec2.xml" />
</properties>
</transport>
</global>
<default/>
<namedCache name="lucene-index">
<loaders shared="true"
preload="true">
<clusterLoader>
<properties>
<property name="remoteCallTimeout" value="20000" />
</properties>
</clusterLoader>
<loader class="org.infinispan.lucene.cachestore.LuceneCacheLoader">
<properties>
<property name="location" value="${relevance.index.path}"/>
</properties>
</loader>
</loaders>
<clustering mode="distribution">
<hash numOwners="2" />
<sync />
</clustering>
<jmxStatistics enabled="true" />
</namedCache>
<namedCache name="lucene-metadata">
<clustering mode="replication">
<sync />
</clustering>
</namedCache>
<namedCache name="lucene-locks">
<clustering mode="replication">
<sync />
</clustering>
</namedCache>
</infinispan>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.