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: tire fields and sortMissingLast
Date Mon, 21 Dec 2009 20:23:03 GMT
On Mon, Dec 21, 2009 at 7:06 AM, Marc Sturlese <marc.sturlese@gmail.com> wrote:
>
> Should sortMissingLast param be working on trie-fields?

Eventually.  It's currently not supported though.  Here's the comment
from the example schema.xml:

    <!-- The optional sortMissingLast and sortMissingFirst attributes are
         currently supported on types that are sorted internally as strings.
               This includes
"string","boolean","sint","slong","sfloat","sdouble","pdate"
       - If sortMissingLast="true", then a sort on this field will
cause documents
         without the field to come after documents with the field,
         regardless of the requested sort order (asc or desc).
       - If sortMissingFirst="true", then a sort on this field will
cause documents
         without the field to come before documents with the field,
         regardless of the requested sort order.
       - If sortMissingLast="false" and sortMissingFirst="false" (the default),
         then default lucene sorting will be used which places docs without the
         field first in an ascending sort and last in a descending sort.
    -->


-Yonik
http://www.lucidimagination.com

Mime
View raw message