Thanks for helping out this user Hoss. I needed to highlight the
ramifications of both the trie types and the impact of the ms() function on
chapter 5 so I enhanced this addendum a bit more. I feel a little bad with
1.4 in the book title given the book came out before its release, but
Packt
: 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 --
Besides using up a lot more memory, ord() isn't even going to work for
a field with multiple tokens indexed per value (like tdate).
I'd recommend using a function on the date value itself.
http://wiki.apache.org/solr/FunctionQuery#ms
-Yonik
http://www.lucidimagination.com
On Wed, Jan 6, 2010
guys know what's up!
Thanks,
Kallin.
-Original Message-
From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley
Sent: Wednesday, January 06, 2010 11:23 AM
To: solr-user@lucene.apache.org
Subject: Re: ord on TrieDateField always returning max
Besides using up a lot
'. You should let those guys know what's up!
Thanks,
Kallin.
-Original Message-
From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley
Sent: Wednesday, January 06, 2010 11:23 AM
To: solr-user@lucene.apache.org
Subject: Re: ord on TrieDateField always returning