Hi wiggify,

Lucene doesn't have direct support for what you want.

However, you can store a custom map in the index when you commit: <
https://lucene.apache.org/core/4_0_0/core/org/apache/lucene/index/IndexWriter.html#commit%28java.util.Map%29
>.

It will be your responsibility to associate that information with each
field, e.g. by using field names as keys in the map.

Steve

On Sun, Jan 6, 2013 at 2:18 AM, wgggfiy <wuqiu.m...@qq.com> wrote:

> hello, as we know, we can add payload to a term,
> but whether can we add extra custom info into a field ?
> such the description of the field, which is the property shared by thd
> field
> of all documents.
> how to make it ? thx
>

Reply via email to