Probably because you've already configured leveldb as backend. There is a tutorial: http://docs.basho.com/riak/1.2.0/tutorials/choosing-a-backend/LevelDB/ on how to switch backends…
Cheers, On Dec 5, 2012, at 3:51 PM, Martin Streicher <[email protected]> wrote: > > Hmmm... then why does the code work on my machine? > > And how do I switch backends? > > > On Dec 5, 2012, at 9:47 AM, Gideon de Kok wrote: > >> Martin, >> >> Your log nicely states what the problem is: >> {indexes_not_supported,riak_kv_bitcask_backend} >> >> For 2i based queries, you should be using the eleveldb backend… >> >> Cheers, >> >> On Dec 5, 2012, at 3:43 PM, Martin Streicher <[email protected]> >> wrote: >> >>> >>> A colleague is getting the following error... >>> >>> Riak::HTTPFailedRequest (Expected 200 from Riak but received 500. >>> <html><head><title>500 Internal Server >>> Error</title></head><body><h1>Internal Server Error</h1>The server >>> encountered an error while processing this >>> request:<br><pre>{error,{error,{indexes_not_supported,riak_kv_bitcask_backend}}}</pre><P><HR><ADDRESS>mochiweb+webmachine >>> web server</ADDRESS></body></html>): >>> app/controllers/profiles_controller.rb:28:in `find_identity' >>> >>> We've run search-cmd install on the bucket. The code for the app >>> essentially does the search-cmd operation at startup, too. >>> >>> There is one field in the model where index: true. This parameter was added >>> recently so I can run find_by_index to lookup records by the field values, >>> but my machine did not have any issues. >>> >>> Any ideas? >>> >>> Martin >>> >>> >>> >>> _______________________________________________ >>> riak-users mailing list >>> [email protected] >>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
