Luke is showing long terms very strange
GoogleCodeExporter opened this issue · 2 comments
GoogleCodeExporter commented
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:
- [Screen Shot 2012-05-22 at 11.18.53.png](https://storage.googleapis.com/google-code-attachments/luke/issue-61/comment-0/Screen Shot 2012-05-22 at 11.18.53.png)
GoogleCodeExporter commented
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
- Changed state: Invalid
GoogleCodeExporter commented
Thanks! That was indeed the problem!
Original comment by jochenhe...@gmail.com
on 22 May 2012 at 10:17