[infinispan-issues] [JBoss JIRA] (ISPN-10702) Docs: AffinityIndexManager error

Donald Naro (Jira) issues at jboss.org
Tue Oct 1 12:20:00 EDT 2019


Donald Naro created ISPN-10702:
----------------------------------

             Summary: Docs: AffinityIndexManager error
                 Key: ISPN-10702
                 URL: https://issues.jboss.org/browse/ISPN-10702
             Project: Infinispan
          Issue Type: Enhancement
          Components: Documentation-Core
            Reporter: Donald Naro
            Assignee: Donald Naro


code:xml}
<distributed-cache name="default"
                   key-partitioner="org.infinispan.distribution.ch.impl.AffinityPartitioner">
    <indexing index="PRIMARY_OWNER">
        <property name="default.indexmanager">
            org.infinispan.query.affinity.AffinityIndexManager
        </property>
        <!-- optional: control the number of shards, the default is 4 -->
        <property name="default.sharding_strategy.nbr_of_shards">10</property>
    </indexing>
</distributed-cache>
{code}

{noformat}
|
|  282: <!---->
|  283: <distributed-cache name="cache8799v2"
|  284:    key-partitioner="org.infinispan.distribution.ch.impl.AffinityPartitioner">
|          ^^^^ 'key-partitioner' isn't an allowed attribute for the
|                 'distributed-cache' element
|               
|               Attributes allowed here are: 
|                 batching              mode                  segments              
|                 capacity-factor       module                start                 
|                 configuration         name                  statistics            
|                 jndi-name             owners                statistics-available  
|                 l1-lifespan           remote-timeout        
|
|  285:     <indexing index="PRIMARY_OWNER">
|  286:         <property name="default.indexmanager">
|  287:             org.infinispan.query.affinity.AffinityIndexManager
{noformat}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list