You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Bingtao Yin <yb...@gmail.com> on 2017/02/23 16:14:49 UTC
How to add custom attributes on FieldInfo using Lucene 5.2.1
Hello,
On Lucene 5.2.1, I want to add some attributes on some fields, such as
marking a StringField as unique, which is defined by user when indexing. I
find there is a attributes map in FieldInfo's ctor, but can't pass any
attributes to the map.
Any ideas to implement this? Thanks.