DATAGEODE-101 - Add support for setting a LuceneSerializer on LuceneIndex creation.

This commit is contained in:
John Blum
2018-04-27 14:08:58 -07:00
parent 251f1f12e0
commit d16bbc8d28
6 changed files with 148 additions and 19 deletions

View File

@@ -2433,10 +2433,19 @@ Defines a GemFire Lucene index.
<xsd:element name="field-analyzers" type="beanDeclarationType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation><![CDATA[
Mapping of field names to Lucene (per field) Analyzers.
Mapping of field names to Lucene (per field) org.apache.lucene.analysis.Analyzers.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="lucene-serializer" type="beanDeclarationType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation><![CDATA[
Registers a bean as a LuceneSerializer with this Lucene Index bean definition, which will be used to convert objects
into Lucene documents for this index. The bean must implement org.apache.geode.cache.lucene.LuceneSerializer
and may be nested or referred to as a reference.
]]></xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:string">
<xsd:annotation>