Skip to content

Instantly share code, notes, and snippets.

@mmarkus
Created March 19, 2013 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmarkus/5195400 to your computer and use it in GitHub Desktop.
Save mmarkus/5195400 to your computer and use it in GitHub Desktop.
<?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