Gustavo Fernandes created ISPN-11791:
----------------------------------------
Summary: Query indexing configuration schema
Key: ISPN-11791
URL:
https://issues.redhat.com/browse/ISPN-11791
Project: Infinispan
Issue Type: Enhancement
Components: Embedded Querying, Remote Querying
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Introduce strong typed indexing configuration:
{code:xml}
<!-- Minimal -->
<indexing>
<indexed-entities>
<indexed-entity>org.infinispan.query.test.Person</indexed-entity>
</indexed-entities>
</indexing>
{code}
{code:xml}
<!-- Medium -->
<indexing storage="file" path="${server.data}/index">
<indexed-entities>
<indexed-entity>org.infinispan.query.test.Person</indexed-entity>
</indexed-entities>
</indexing>
{code}
{code:xml}
<indexing storage="heap">
<indexed-entities>
<indexed-entity>org.infinispan.query.test.Person</indexed-entity>
</indexed-entities>
</indexing>
{code}
{code:xml}
<!-- Maximal -->
<indexing storage="file" path="${server.data}/index">
<index-reader refresh-interval="10s"/>
<!-- Check SYNC behavior Hsearch 6 -->
<index-writer mode="async" commit-internal="10s"/>
<indexed-entities>
<indexed-entity>org.infinispan.query.test.Person</indexed-entity>
</indexed-entities>
<properties>
<property name="default.indexwriter.merge_factor">30</property>
</properties>
</indexing>
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)