lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: trie fields and sortMissingLast
Date Fri, 02 Oct 2009 04:26:37 GMT
On Thu, Oct 1, 2009 at 11:09 PM, Steve Conover <sconover@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

Mime
View raw message