]
Gesendet: Dienstag, 26. Oktober 2010 09:30
An: java-user@lucene.apache.org
Betreff: RE: Problem with sorting on NumericFields
This happens if your field still contains other value types in this field,
maybe from deleted documents. The problem is that even if no document
contains the old field
.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Uwe Goetzke [mailto:uwe.goet...@veenion.de]
> Sent: Monday, October 25, 2010 9:43 PM
> To: java-user@lucene.apache.org
> Subject: Problem
I got stuck on a problem using NumericFields using with lucene 2.9.3
I add values to the document by
doc.add(new NumericField("minprice").setDoubleValue(net_price));
If I want to search with a sorter for this field, I get this error:
java.lang.NumberFormatException: Invalid shift val