On Thu, Oct 1, 2009 at 11:09 PM, Steve Conover <scono...@gmail.com> wrote: >> Not in time for 1.4, but yes they will eventually get it. >> It has to do with the representation... currently we can't tell >> between a 0 and "missing". > > Hmm. So does that mean that a query for latitudes, stored as trie > floats, from -10 to +10 matches documents with no (i.e. null) latitude > value?
No, because normal queries work off of the inverted index (term->docids_that_match), and there won't be any values indexed for that document. Sorting and function queries work off of a non-inverted index (docid->value), that depending on the representation can't tell non-matching from default value. -Yonik http://www.lucidimagination.com