|
Any chance you can add your example here? One of the things @NumericField triggers is the right selection of a bridge in BridgeFactory. If you specify a custom bridge impl as part of @Field which is an instance of NumericFieldBridge you make the choice this way. Bottom line is really that for numeric values LuceneOptions.addNumericFieldToDocument has to be used.
Anything you find in particular confusing/missing in the documentation. I had a quick look and I am not quite sure what to make of this:
It is possible to use a custom NumericFieldBridge assuming you can deal with the approximation during type transformation:
However, that might be a different issue!?
|