SGF-739 - 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 0187304ff6
commit d788cc97c4
6 changed files with 149 additions and 23 deletions

View File

@@ -41,6 +41,9 @@
</entry>
</map>
</gfe:field-analyzers>
<gfe:lucene-serializer>
<bean class="org.springframework.data.gemfire.config.xml.LuceneNamespaceUnitTests$MockLuceneSerializerFactoryBean"/>
</gfe:lucene-serializer>
</gfe:lucene-index>
<gfe:lucene-index id="IndexThree" fields="singleField" lucene-service-ref="luceneService" region-ref="Example"/>
@@ -52,8 +55,11 @@
</entry>
</util:map>
<bean id="MockLuceneSerializer" class="org.springframework.data.gemfire.config.xml.LuceneNamespaceUnitTests$MockLuceneSerializerFactoryBean"/>
<gfe:lucene-index id="IndexFour" lucene-service-ref="luceneService" region-path="/YetAnotherExample">
<gfe:field-analyzers ref="indexFourFieldAnalyzers"/>
<gfe:lucene-serializer ref="MockLuceneSerializer"/>
</gfe:lucene-index>
</beans>