lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bingtao Yin <ybts...@gmail.com>
Subject How to add custom attributes on FieldInfo using Lucene 5.2.1
Date Thu, 23 Feb 2017 16:14:49 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message