Re: SV: lucene sort error - there are more terms than documents in field ....

2004-07-13 Thread Erik Hatcher
01:32 Til: Lucene Users List Emne: SV: lucene sort error - there are more terms than documents in field Hello. I only have one term, this is the sample code (where sortfield is a fields that has been indexed): hits = searcher.search(query, new Sort(sortField, false)); you mention Field.Keyword

SV: lucene sort error - there are more terms than documents in field ....

2004-07-13 Thread MATL (Mats Lindberg)
when i index i use the Field.Text, do you mean that i should use Field.Keyword instead Mats -Oprindelig meddelelse- Fra: MATL (Mats Lindberg) Sendt: 14. juli 2004 01:32 Til: Lucene Users List Emne: SV: lucene sort error - there are more terms than documents in field Hello. I

SV: lucene sort error - there are more terms than documents in field ....

2004-07-13 Thread MATL (Mats Lindberg)
] Sendt: 14. juli 2004 01:29 Til: Lucene Users List Emne: Re: lucene sort error - there are more terms than documents in field On Jul 13, 2004, at 7:10 PM, MATL (Mats Lindberg) wrote: > Hello. > > I am using: > import org.apache.lucene.search.Sort > > when searching an i

Re: lucene sort error - there are more terms than documents in field ....

2004-07-13 Thread Erik Hatcher
On Jul 13, 2004, at 7:10 PM, MATL (Mats Lindberg) wrote: Hello. I am using: import org.apache.lucene.search.Sort when searching an index, but for some reasons, in some indexes i get this error: caught a class java.lang.RuntimeException with message: there are more terms than documents in field d

lucene sort error - there are more terms than documents in field ....

2004-07-13 Thread MATL (Mats Lindberg)
Hello. I am using: import org.apache.lucene.search.Sort when searching an index, but for some reasons, in some indexes i get this error: caught a class java.lang.RuntimeException with message: there are more terms than documents in field does anybody know what causes this, or how to solve