I am new to Lucene. I am trying to have custom attributes to tokens. I was able to get the attributes assigned to tokens. However I realise that we need to roughly have 3 files (Interface Class extending Attribute , Class extending AttributeImpl and a Class extending TokenFilter) for each of my Attribute?
I might have about 50 attributes that I need to assign. Do I have to have 3 files per Attribute? that is about 150 files.
Or is there some way I can reduce that. I am sure there is something that I am not able to find.
Help is greatly appreciated.