+1 for both Chris's and Yonik's comments.

On Thu, Mar 17, 2011 at 3:19 PM, Yonik Seeley
<yo...@lucidimagination.com> wrote:
> On Thu, Mar 17, 2011 at 2:12 PM, Chris Hostetter
> <hossman_luc...@fucit.org> wrote:
>> As the code stands now: we fail fast and let the person building hte index
>> make a decision.
>
> Indexing two fields when one could work is unfortunate though.
> I think what we should support (eventually) is a max() function will also
> work on a multi-valued field and select the maximum value (i.e. it will
> simply bypass the check for multi-valued fields).
>
> Then one can utilize sort-by-function to do
> sort=max(author) asc
>
> -Yonik
> http://lucidimagination.com
>

Reply via email to