Re: Sort does not work for me

2008-01-15 Thread Otis Gospodnetic
: 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

Re: Sort does not work for me

2008-01-15 Thread Aron Sogor
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

Re: Sort does not work for me

2008-01-14 Thread Aron Sogor
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

Sort does not work for me

2008-01-13 Thread Aron Sogor
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