If Riak Search 2.0 isn't enabled, which is the default setting (search = false) and a RpbYokozunaSchemaPutReq protocol buffer request is made (haven't checked the other search request types) the return error is Unknown message code: 60. This is not very useful for machines or humans.
For comparison if secondary indexes is not supported the return error is {error,{indexes_not_supported,riak_kv_bitcask_backend}}. This is far more useful.
I would like to see something like: {error,{search_not_supported,riak_search_off}}. Or similar indication of a bad configuration and not a bad protocol implementation.
If Riak Search 2.0 isn't enabled, which is the default setting (
search = false
) and aRpbYokozunaSchemaPutReq
protocol buffer request is made (haven't checked the other search request types) the return error isUnknown message code: 60
. This is not very useful for machines or humans.For comparison if secondary indexes is not supported the return error is
{error,{indexes_not_supported,riak_kv_bitcask_backend}}
. This is far more useful.I would like to see something like:
{error,{search_not_supported,riak_search_off}}
. Or similar indication of a bad configuration and not a bad protocol implementation.