nikolamilosevic86 / luke

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

Luke is showing long terms very strange #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add documents with NumericField and type Long
2. doc.add(new NumericField(SLSDATE, Store.YES, 
true).setLongValue(f.getLongValue()));

What is the expected output? What do you see instead?
- expected: long values
- see: strange values with strange characters

What version of the product are you using? On what operating system?
- 3.5.0
- Mac OS Tiger

Please provide any additional information below.

Original issue reported on code.google.com by jochenhe...@gmail.com on 22 May 2012 at 9:20

Attachments:

GoogleCodeExporter commented 8 years ago
This is how internally Lucene represents these values :) so everything is ok. 
You need to set a decoder (Overview tab, the fields listing, select a field, 
select a decoder from the dropdown box and Set).

Original comment by sig...@gmail.com on 22 May 2012 at 10:01

GoogleCodeExporter commented 8 years ago
Thanks! That was indeed the problem!

Original comment by jochenhe...@gmail.com on 22 May 2012 at 10:17