AFIK, the field has to be indexed, but I don't think it has to be stored (but then again maybe I'm wrong)
Aviran http://www.aviransplace.com -----Original Message----- From: Alan Boshier [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 11:39 AM To: java-user@lucene.apache.org Subject: Newbie question: lucene sorting problems and stored fields Hi We are seeing intermittent problems with searches that use sorted fields (in lucene 1.4.3). If we add the fields to our Documents as 'unstored' then we start to see results that have been sorted by Document ID. The problem goes away if we add the fields as 'stored'. Is it a requirement when creating a field for sorting to make it stored? Thanks Alan --------------------------------------------------------------------- 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]