zuliaio/zuliasearch

Specify the index field name for numeric fields

Closed this issue · 1 comments

When indexing a numeric field the specified field name should be respected.

currently you have to do

fieldConfigBuilder.indexAs(null,newFieldName)

added two new methods to clarify

fieldConfigBuilder.indexAsField(newFieldName)

and

fieldConfigBuilder.indexWithAnalyzer(analyzerName)