>From the cache-1.0.xsd, we noticed that an index can have element like
"functional" and "primary-key", but the docs did not mention anything about
it (
https://geode.apache.org/docs/guide/13/reference/topics/cache_xml.html#region).
I am wondering if these are deprecated? Would it be better for the the xml
created by the cluster configuration not consist any of these?
<xsd:choice minOccurs="0">
<xsd:element name="functional">
<xsd:annotation>
<xsd:documentation>
A functional type of index needs a from-clause, expression
which are mandatory.
The import string is used for specifying the type of Object in
the region or
the type of Object which the indexed expression evaluates to.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="expression" type="xsd:string" use="required" />
<xsd:attribute name="from-clause" type="xsd:string" use="required" />
<xsd:attribute name="imports" type="xsd:string" use="optional" />
</xsd:complexType>
</xsd:element>
<xsd:element name="primary-key">
<xsd:annotation>
<xsd:documentation>
A primary-key type of index needs a field attribute which is mandatory.
There should be only one or zero primary-index defined for a region
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="field" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
--
Cheers
Jinmei