+ add docs for indecies
This commit is contained in:
Costin Leau
2011-09-17 19:58:10 +03:00
parent 229849d692
commit ac138654b6
2 changed files with 17 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ http://www.springsource.org/spring-gemfire
Changes in version 1.1.0.M3 (2011-mm-dd)
----------------------------------------
General
* Upgraded to GemFire 6.6 GA
* Introduced support for GemFire Indecies
Package org.springframework.data.gemfire.client
* Add missing properties to PoolFactoryBean and pool namespace

View File

@@ -774,4 +774,17 @@ redundancy. Each copy provides extra backup at the expense of extra storages.</e
<para>Whatever route one chooses to go, SGF supports both approaches allowing for easy migrate between them without forcing an upfront decision.</para>
</section>
<section id="bootstrap:indecies">
<title>Creating Indecies</title>
<para>GemFire allows creation on indices (or indexes) to improve the performance of (common) queries. SGF allows indecies to be declared through the <literal>index</literal> element:</para>
<programlisting language="xml"><![CDATA[<gfe:index id="myIndex" expression="someField" from="/someRegion"/>]]></programlisting>
<para>Note that index declaration are not bound to a region but rather are top-level elements (just like <literal>gfe:cache</literal>). This allows one to declare any number of indecies on any region
whether they are just created or already exist - an improvement versus the GemFire <literal>cache.xml</literal>. By default the index relies on the default cache declaration but one can customize it
accordingly or use a pool (if need be) - see the namespace schema for the full set of options.</para>
</section>
</chapter>