This seems like a bug to me. I created an issue to track it.
https://github.com/basho/yokozuna/issues/372
On Thu, May 1, 2014 at 5:22 PM, Troy Melhase wrote:
> Hello again!
>
> I've narrowed this down to the interaction between the sort parameter and
> the field list ("fl") parameter. It see
Hello again!
I've narrowed this down to the interaction between the sort parameter and
the field list ("fl") parameter. It seems that if "fl" is supplied with
"sort", the field list must contain the value "score". I'm not certain if
that's a bug or not, but the work-around is plain enough: add
Hello!
I'm getting an error when I include a sort parameter in a RpbSearchQueryReq
message. I'm using Riak 2.0.0beta1. Source build and macos binaries show
the same behavior.
The error doesn't happen at all if I don't specify a search parameter. For
the parameter value, I'm using "field direct