[infinispan-issues] [JBoss JIRA] (ISPN-11793) Query indexing configuration schema

Gustavo Fernandes (Jira) issues at jboss.org
Thu May 7 09:38:52 EDT 2020


Gustavo Fernandes created ISPN-11793:
----------------------------------------

             Summary: Query indexing configuration schema
                 Key: ISPN-11793
                 URL: https://issues.redhat.com/browse/ISPN-11793
             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)


More information about the infinispan-issues mailing list