Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
7.5
-
None
-
New, Patch Available
Description
Today, we can write a custom Field using custom IndexFieldType, but when the DefaultIndexingChain converts IndexFieldType to FieldInfo, only few key informations such as indexing options and doc value type are retained. The Codec gets the FieldInfo, but not the type details.
FieldInfo has support for 'attributes' and it would be great if we can add 'attributes' to IndexFieldType also and copy it to FieldInfo's 'attribute'.
This would allow someone to write a custom codec (extending docvalueformat for example) for only the 'special field' that he wants and delegate the rest of the fields to the default codec.