lars-erik / luke

Automatically exported from code.google.com/p/luke
0 stars 0 forks source link

Field value decoder for 32 bit numeric fields (float, int) missing #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is no decoder for terms in 32 bit NumericField encoding.

There is one problem with the same decoder for term values and stored 
fields: Stored numeric fields are not encoded and are plain text ASCII 
numbers (<T extends Number> T.toString()). Only the term values are in a 
special encoding (NumericUtils). So for stored fields and for terms it 
should be possible to set different decoders.

On Apachecon i promised you to send you an index with example numeric 
values. I will do this after the xmas holidays, if you still need one. 
Generating an own one is simple with the example code form the 
NumericField Javadocs.

Original issue reported on code.google.com by uwe.h.schindler on 26 Dec 2009 at 2:55

GoogleCodeExporter commented 9 years ago
Fixed in rev. 31 - thanks!

Original comment by sig...@gmail.com on 31 Mar 2010 at 4:14

GoogleCodeExporter commented 9 years ago
Fixed in rev. 31 - thanks!

Original comment by sig...@gmail.com on 31 Mar 2010 at 4:16