1 Reply Latest reply on Apr 15, 2019 6:05 PM by Paul Ferraro

    Wildfly 16 - Where did infinispan indexing go?

    Ricardo Santos Dalla Valle Newbie

      Hello there,


      I'm migrating a legacy application over to Wildfly 16. I got stuck with going from urn:jboss:domain:infinispan:3.0 to urn:jboss:domain:infinispan:8.0, specifically with the index property we had back in urn:jboss:domain:infinispan:3.0.


      <subsystem xmlns="urn:jboss:domain:infinispan:3.0">
      <cache-container name="ase" default-cache="repl" jndi-name="java:jboss/infinispan/ase" module="org.infinispan.query" statistics-enabled="true" aliases="ase">
      <transport lock-timeout="15000"/>
      <replicated-cache name="repl" mode="ASYNC">
      <transaction mode="NONE" locking="OPTIMISTIC"/>
      <locking isolation="READ_COMMITTED"/>
      <eviction strategy="LRU" max-entries="200000"/>
      <indexing index="ALL">
      <property name="default.directory_provider">ram</property>
      <property name="hibernate.search.lucene_version">LATEST</property>
      <property name="hibernate.search.ase.directory_provider">infinispan</property>
      <property name="hibernate.search.ase.indexwriter.ram_buffer_size">64</property>
      <property name="hibernate.search.ase.indexwriter.merge_max_optimize_size">10</property>
      <property name="hibernate.search.ase.indexwriter.merge_max_size">10</property>
      <state-transfer enabled="true" timeout="480000" chunk-size="10240"/>


      I've been using WildFly 16.0 Model Reference as my main reference for the subsystems configuration but it only says it got deprecated back in 4.0 with no further information on how to configure it currently.


      Apparently infinispan still supports it just fine too, so I'm bit lost.


      Can anyone link me a doc on this matter or tell me how to configure it for urn:jboss:domain:infinispan:8.0? Thanks in advance.