How to add custom attributes on FieldInfo using Lucene 5.2.1
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.