In order to sort by specific field that field must be <stored, indexed, non-tokenized> (aka Keyword) Perhaps your field is tokenized?
----- Original Message ----- From: "Sanyi" <[EMAIL PROTECTED]> To: <lucene-user@jakarta.apache.org> Sent: Wednesday, February 23, 2005 2:24 PM Subject: there are more terms than documents in field ... > Hi! > > I'm indexing 99 documents, then I want to sort them by title, but Lucene throws: > > there are more terms than documents in field "title" > > I have no such problems with my other indices with a lot more documents. > > How can I sort smaller indices by title? > > Regards, > Sanyi > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]