Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 97044 invoked from network); 9 Jan 2010 07:07:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jan 2010 07:07:00 -0000 Received: (qmail 94021 invoked by uid 500); 9 Jan 2010 07:06:58 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 93946 invoked by uid 500); 9 Jan 2010 07:06:58 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 93936 invoked by uid 99); 9 Jan 2010 07:06:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jan 2010 07:06:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.69.42.181] (HELO radix.cryptio.net) (208.69.42.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jan 2010 07:06:50 +0000 Received: by radix.cryptio.net (Postfix, from userid 1007) id 10EAF71C346; Fri, 8 Jan 2010 23:06:30 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by radix.cryptio.net (Postfix) with ESMTP id 0F18871C2A1 for ; Fri, 8 Jan 2010 23:06:30 -0800 (PST) Date: Fri, 8 Jan 2010 23:06:30 -0800 (PST) From: Chris Hostetter To: "'solr-user@lucene.apache.org'" Subject: RE: ord on TrieDateField always returning max In-Reply-To: <13D828CF2C5A6D4597111B6E6571FD6305CE004665@GMEXMBS2.globeandmail.net> Message-ID: References: <13D828CF2C5A6D4597111B6E6571FD6305CE004664@GMEXMBS2.globeandmail.net> <13D828CF2C5A6D4597111B6E6571FD6305CE004665@GMEXMBS2.globeandmail.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII : My 'inspiration' for the ord method was actually the Solr 1.4 Enterprise : Search server book. Page 126 has a section 'using reciprocals and rord : with dates'. You should let those guys know what's up! 1) Although it's not 100% obvious, those examples in the book use the "DateField" type -- and ord() should still work for those. If you are using TrieDateField then things work differently. 2) David and EricP are regulars on the solr-user list, so rest assured they already know. 3) There is a wiki page with an Addendum section they wrote to cover things that changed in Solr prior to the 1.4 release but after they went to press. Trie fields are mentioned, as is the new ms() function, but i don't see anything explicitly addressing the snag you hit ... yet. It is a wiki afterall, so you can feel free to add things as you find them. -Hoss