Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-485

Developer guide issues - Chapter 13. Set Up and Configure Infinispan Query

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.0.0 ER9
    • JDG 7.0.0 ER8
    • Documentation
    • None

      First of all, the whole section should be moved to Admin guide, but first let's fix the following issues in the Dev guide and after that let's move it:

      13.3.1. RAM Directory Provider
      --------------------
      -the configuration snippet needs to be converted to the new schema:
      <local-cache name="indexesInMemory">
      <indexing index="LOCAL">
      <property name="default.directory_provider">ram</property>
      </indexing>
      </local-cache>

      13.3.2. Filesystem Directory Provider
      --------------
      -convert the configuration snippet to the following:
      <local-cache name="indexesInInfinispan">
      <indexing index="ALL">
      <property name="default.directory_provider">filesystem</property>
      <property name="default.indexBase">/tmp/ispn_index</property>
      </indexing>
      </local-cache>

      13.3.3. Infinispan Directory Provider
      ----------------
      -convert the example to the following:
      <local-cache name="indexesInInfinispan">
      <indexing index="ALL">
      <property name="default.directory_provider">filesystem</property
      <property name="default.indexmanager">org.infinispan.query.indexmanager.InfinispanIndexManager</property>
      </indexing>
      </local-cache>

      ⁠13.4.1. Configure Indexing in Library Mode Using XML
      -------------------

      The whole 13.4.1. chapter should be removed. It just repeats what has been said in 13.3.1

      ⁠13.5.1. Near-Realtime Index Manager
      -----------------------------
      -convert the example to:
      <property name="default.indexmanager">near-real-time</property>

      13.5.2. Tuning Infinispan Directory
      -----------------------------------------------
      -convert the example to:
      <distributed-cache name="indexedCache" mode="SYNC" owners="2">
      <indexing index="LOCAL">
      <property name="default.indexmanager">org.infinispan.query.indexmanager.InfinispanIndexManager</property>
      <property name="default.metadata_cachename>lucene_metadata_repl</property>
      <property name="default.data_cachename">lucene_data_dist</property>
      <property name="default.locking_cachename">lucene_locking_repl</property>
      </indexing>
      </distributed-cache>
      <replicated-cache name="lucene_metadata_repl" mode="SYNC" />
      <distributed-cache name="lucene_data_dist" mode="SYNC" owners="2" />
      <replicated-cache name="lucene_locking_repl" mode="SYNC" />

              rhn-support-chuffman Christian Huffman
              mgencur Martin Gencur
              Martin Gencur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: