: java-user@lucene.apache.org
Sent: Tuesday, January 15, 2008 8:37:49 AM
Subject: Re: Sort does not work for me
Lucky guy who gets the same problem.
Found the issue:
http://issues.apache.org/jira/browse/LUCENE-463
Lucene see numbrs in the field and thinks it is an int... than
overflows
the int.
For
Lucky guy who gets the same problem.
Found the issue:
http://issues.apache.org/jira/browse/LUCENE-463
Lucene see numbrs in the field and thinks it is an int... than overflows
the int.
Force the sort field to be a SortField.String.
Aron Sogor wrote:
Let me qualify my question:
Sort is not wor
Let me qualify my question:
Sort is not working for a field that I stored :
document.add(new Field(FIELD_RECEIVED, DateTools.timeToString(
System.currentTimeMillis(),
DateTools.Resolution.SECOND),
Field.Store.NO, Field.Index.UN_TOKENIZED));
using
Here is the document:
MimeMessage mime = new MimeMessage(null, new
FileInputStream(item
.getMailFile()));
document.add(new Field(FIELD_MAILID,
item.getMailId().toString(),
Field.Store.YES, Field.Index.UN_TOKENIZED));
docum