Ah ok .. I had an older Riak installed. Then didn't purge the config before installing the new Riak deb. Do'h
On Thu, Feb 6, 2014 at 11:11 AM, Eric Redmond <[email protected]> wrote: > Ahhh there's your problem. You don't have the new search activated. You > have old search. Are you configuring with riak.conf, or app.config? > On Feb 6, 2014 8:06 AM, "Kartik Thakore" <[email protected]> wrote: > >> root@demo:~/riak-book/foo# curl http://localhost:8098/ >> <html><body><ul><li><a >> href="/types">riak_kv_wm_bucket_type</a></li><li><a >> href="/buckets">riak_kv_wm_buckets</a></li><li><a >> href="/riak">riak_kv_wm_buckets</a></li><li><a >> href="/types">riak_kv_wm_buckets</a></li><li><a >> href="/buckets">riak_kv_wm_counter</a></li><li><a >> href="/types">riak_kv_wm_crdt</a></li><li><a >> href="/buckets">riak_kv_wm_index</a></li><li><a >> href="/types">riak_kv_wm_index</a></li><li><a >> href="/buckets">riak_kv_wm_keylist</a></li><li><a >> href="/types">riak_kv_wm_keylist</a></li><li><a >> href="/buckets">riak_kv_wm_link_walker</a></li><li><a >> href="/riak">riak_kv_wm_link_walker</a></li><li><a >> href="/types">riak_kv_wm_link_walker</a></li><li><a >> href="/mapred">riak_kv_wm_mapred</a></li><li><a >> href="/buckets">riak_kv_wm_object</a></li><li><a >> href="/riak">riak_kv_wm_object</a></li><li><a >> href="/types">riak_kv_wm_object</a></li><li><a >> href="/ping">riak_kv_wm_ping</a></li><li><a >> href="/buckets">riak_kv_wm_props</a></li><li><a >> href="/types">riak_kv_wm_props</a></li><li><a >> href="/stats">riak_kv_wm_stats</a></li><li><a >> href="/solr">riak_solr_indexer_wm</a></li><li><a >> href="/solr">riak_solr_searcher_wm</a></li></ul></body></html> >> >> >> On Wed, Feb 5, 2014 at 7:26 PM, Eric Redmond <[email protected]> wrote: >> >>> Are you certain you're running pre11, and also that search is activated >>> in the riak.conf file (search=on)? >>> >>> This error doesn't make any sense, and I can't replicate it :/ . It >>> looks like webmachine doesn't believe the path is correct, which should >>> only happen if yokozuna isn't registered. >>> >>> Can you curl http://localhost:8089/ >>> >>> You should see at the bottom a list like this: >>> >>> * yz_wm_extract >>> * yz_wm_index >>> * yz_wm_schema >>> * yz_wm_search >>> * yz_wm_search >>> >>> >>> >>> On Feb 5, 2014, at 3:56 PM, Kartik Thakore <[email protected]> wrote: >>> >>> http://demo.aimedstat.com/foo2 >>> >>> >>> On Wed, Feb 5, 2014 at 5:33 PM, Eric Redmond <[email protected]> wrote: >>> >>>> How about adding the json content type header? >>>> >>>> curl -XPUT "$RIAK_HOST/search/index/famous" >>>> -H'content-type:application/json' >>>> >>>> >>>> >>>> On Feb 5, 2014, at 2:04 PM, Kartik Thakore <[email protected]> >>>> wrote: >>>> >>>> http://demo.aimedstat.com/foo >>>> >>>> On Wed, Feb 5, 2014 at 4:44 PM, Eric Redmond <[email protected]>wrote: >>>> >>>>> Can you run: >>>>> >>>>> curl -v -XPUT "$RIAK_HOST/search/index/famous >>>>> >>>>> To get all of the output? >>>>> >>>>> >>>>> On Feb 5, 2014, at 1:37 PM, Kartik Thakore <[email protected]> >>>>> wrote: >>>>> >>>>> Hmm I am running: >>>>> >>>>> export RIAK_HOST="http://localhost:8098" >>>>> curl -XPUT "$RIAK_HOST/search/index/famous" >>>>> >>>>> and I get: >>>>> >>>>> <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not >>>>> Found</H1>The requested document was not found on this >>>>> server.<P><HR><ADDRESS>mochiweb+webmachine web >>>>> server</ADDRESS></BODY></HTML> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Wed, Feb 5, 2014 at 1:14 PM, Eric Redmond <[email protected]> >>>>> wrote: >>>>> > >>>>> > Sorry, clicked send too fast. >>>>> > >>>>> > After creating the index, then you add the bucket property, pointing >>>>> to the search_index. >>>>> > >>>>> > curl -XPUT "$RIAK_HOST/buckets/cats/props" >>>>> -H'content-type:application/json' >>>>> -d'{"props":{"search_index":"famous"}}' >>>>> > >>>>> > Eric >>>>> > >>>>> > On Feb 5, 2014, at 10:12 AM, Eric Redmond <[email protected]> >>>>> wrote: >>>>> > >>>>> > http://docs.basho.com/riak/2.0.0pre11/dev/using/search/#Simple-Setup >>>>> > >>>>> > curl -XPUT "$RIAK_HOST/search/index/famous" >>>>> > >>>>> > Eric >>>>> > >>>>> > >>>>> > On Feb 5, 2014, at 10:08 AM, Kartik Thakore < >>>>> [email protected]> wrote: >>>>> > >>>>> > What is the url to install search bucket indexes hooks on pre11? >>>>> > _______________________________________________ >>>>> > 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 >>>>> > >>>>> >>>>> >>>>> >>>> >>>> >>> >>> >>
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
