Infinispan LuceneIndexesData takes up a lot of space.
jofrantoba May 30, 2019 12:28 PMHi,
I am currently storing the data in system files, but with minimal data the lucene store grows exponentially.
How can I solve my problem?
Maybe I can change the configuration and use a mongodb to store the information?
Thanks for helping
I enclose the configuration file of capedwarf infinispan
Configuration current:
<replicated-cache name="LuceneIndexesData" mode="SYNC">
<transaction mode="NONE"/>
<eviction strategy="NONE"/>
<file-store preload="true" passivation="false" purge="false"/>
</replicated-cache>
Configuration default:
<replicated-cache name="LuceneIndexesData" mode="SYNC">
<transaction mode="NONE"/>
<eviction strategy="NONE"/>
<file-store preload="true" purge="false"/>
</replicated-cache>
<subsystem xmlns="urn:jboss:domain:infinispan:2.0">
<cache-container name="capedwarf" default-cache="default" module="org.infinispan.query" statistics-enabled="true">
<transport lock-timeout="60000"/>
<replicated-cache name="data" mode="SYNC">
<transaction mode="NON_XA"/>
<eviction strategy="LIRS" max-entries="10000"/>
<file-store preload="false" passivation="false" purge="false"/>
</replicated-cache>
<replicated-cache name="metadata" mode="SYNC">
<transaction mode="NON_XA"/>
<eviction strategy="LIRS" max-entries="10000"/>
<file-store preload="false" passivation="false" purge="false"/>
</replicated-cache>
<replicated-cache name="memcache" statistics-enabled="true" mode="SYNC">
<transaction mode="NON_XA" locking="PESSIMISTIC"/>
<eviction strategy="LIRS" max-entries="10000"/>
</replicated-cache>
<replicated-cache name="LuceneIndexesMetadata" mode="SYNC">
<transaction mode="NONE"/>
<eviction strategy="NONE"/>
<file-store preload="true" passivation="false" purge="false"/>
</replicated-cache>
<replicated-cache name="LuceneIndexesData" mode="SYNC">
<transaction mode="NONE"/>
<eviction strategy="NONE"/>
<file-store preload="true" passivation="false" purge="false"/>
</replicated-cache>
<replicated-cache name="LuceneIndexesLocking" mode="SYNC">
<transaction mode="NONE"/>
<eviction strategy="NONE"/>
</replicated-cache>
<distributed-cache name="default" mode="SYNC">
<transaction mode="NON_XA"/>
<eviction strategy="LIRS" max-entries="100000"/>
<file-store preload="false" passivation="false" purge="false"/>
<indexing index="LOCAL">
<property name="hibernate.search.default.exclusive_index_use">
false
</property>
<property name="hibernate.search.default.directory_provider">
infinispan
</property>
<property name="hibernate.search.infinispan.cachemanager_jndiname">
java:jboss/infinispan/container/capedwarf
</property>
<property name="hibernate.search.default.worker.backend">
jgroups
</property>
</indexing>
</distributed-cache>
<distributed-cache name="datastore_versions" mode="SYNC">
<locking isolation="READ_COMMITTED"/>
<transaction mode="NON_XA" locking="OPTIMISTIC"/>
<eviction strategy="LIRS" max-entries="100000"/>
<file-store preload="false" passivation="false" purge="false"/>
</distributed-cache>
<distributed-cache name="dist" mode="ASYNC">
<transaction mode="NON_XA" locking="PESSIMISTIC"/>
<eviction strategy="LIRS" max-entries="100000"/>
<file-store preload="false" passivation="false" purge="false"/>
</distributed-cache>
<distributed-cache name="tasks" mode="ASYNC">
<transaction mode="NON_XA"/>
<eviction strategy="LIRS" max-entries="10000"/>
<file-store preload="false" passivation="false" purge="false"/>
<indexing index="LOCAL">
<property name="hibernate.search.default.block_waiting_ack">
false
</property>
<property name="hibernate.search.default.exclusive_index_use">
false
</property>
<property name="hibernate.search.default.directory_provider">
infinispan
</property>
<property name="hibernate.search.infinispan.cachemanager_jndiname">
java:jboss/infinispan/container/capedwarf
</property>
<property name="hibernate.search.default.worker.backend">
jgroups
</property>
</indexing>
</distributed-cache>
<distributed-cache name="search" mode="ASYNC">
<transaction mode="NON_XA"/>
<eviction strategy="LIRS" max-entries="10000"/>
<file-store preload="false" passivation="false" purge="false"/>
<indexing index="LOCAL">
<property name="hibernate.search.default.block_waiting_ack">
false
</property>
<property name="hibernate.search.default.exclusive_index_use">
false
</property>
<property name="hibernate.search.default.directory_provider">
infinispan
</property>
<property name="hibernate.search.infinispan.cachemanager_jndiname">
java:jboss/infinispan/container/capedwarf
</property>
<property name="hibernate.search.default.worker.backend">
jgroups
</property>
</indexing>
</distributed-cache>
<distributed-cache name="prospective_search" mode="ASYNC">
<transaction mode="NON_XA"/>
<eviction strategy="LIRS" max-entries="10000"/>
<file-store preload="false" passivation="false" purge="false"/>
<indexing index="LOCAL">
<property name="hibernate.search.default.block_waiting_ack">
false
</property>
<property name="hibernate.search.default.exclusive_index_use">
false
</property>
<property name="hibernate.search.default.directory_provider">
infinispan
</property>
<property name="hibernate.search.infinispan.cachemanager_jndiname">
java:jboss/infinispan/container/capedwarf
</property>
<property name="hibernate.search.default.worker.backend">
jgroups
</property>
</indexing>
</distributed-cache>
<distributed-cache name="logs" mode="ASYNC">
<transaction mode="NON_XA"/>
<eviction strategy="LIRS" max-entries="10000"/>
<file-store preload="false" purge="false"/>
<indexing index="LOCAL">
<property name="hibernate.search.default.block_waiting_ack">
false
</property>
<property name="hibernate.search.default.exclusive_index_use">
false
</property>
<property name="hibernate.search.default.directory_provider">
infinispan
</property>
<property name="hibernate.search.infinispan.cachemanager_jndiname">
java:jboss/infinispan/container/capedwarf
</property>
<property name="hibernate.search.default.worker.backend">
jgroups
</property>
</indexing>
</distributed-cache>
<distributed-cache name="channel" mode="ASYNC">
<transaction mode="NON_XA"/>
<eviction strategy="LIRS" max-entries="10000"/>
<file-store preload="false" passivation="false" purge="false"/>
<indexing index="LOCAL">
<property name="hibernate.search.default.block_waiting_ack">
false
</property>
<property name="hibernate.search.default.exclusive_index_use">
false
</property>
<property name="hibernate.search.default.directory_provider">
infinispan
</property>
<property name="hibernate.search.infinispan.cachemanager_jndiname">
java:jboss/infinispan/container/capedwarf
</property>
<property name="hibernate.search.default.worker.backend">
jgroups
</property>
</indexing>
</distributed-cache>
</cache-container>
</subsystem>