lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject sortMissingLast
Date Wed, 02 Mar 2011 23:15:16 GMT
It occurs to me that not being able to specify
sortMissingLast/sortMissingFirst on a per-sort basis is kind of silly
(in Solr).
So - the big question is... what kind of syntax should we use to support this?

The easiest to implement would probably be to use different sort
direction strings...
sort=myfield asc   (a normal ascending sort)
sort=myfield asc_ml     (an ascending sort with docs with missing
values appearing last)

Thoughts?

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message