lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (LUCENE-8601) Adding attributes to IndexFieldType
Date Tue, 01 Jan 2019 21:36:00 GMT


Michael McCandless commented on LUCENE-8601:

Thanks I will review and push soon!

> Adding attributes to IndexFieldType
> -----------------------------------
>                 Key: LUCENE-8601
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 7.5
>            Reporter: Murali Krishna P
>            Priority: Major
>         Attachments: LUCENE-8601.01.patch, LUCENE-8601.02.patch, LUCENE-8601.03.patch,
LUCENE-8601.04.patch, LUCENE-8601.05.patch, LUCENE-8601.06.patch, LUCENE-8601.patch
> 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
>  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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message