Unable to do a simple search

Kev Burns kevburnsjr at gmail.com
Thu Mar 17 07:10:09 EDT 2011


Check your syntax. You forgot the index parameter.

search-cmd search [INDEX] QUERY          : Perform a search.

$ ./bin/search-cmd search test "num_num:12"

- Kev
c: +001 (650) 521-7791


2011/3/17 Nicolas Lalevée <nicolas.lalevee at hibnet.org>

> I am quite confused because I am not able to actually make riak-search
> work, event the simplest use case. So I may have missed something.
> My steps:
> $ tar xvzf riak_search-0.14.0-osx-i386.tar.gz
> $ ./bin/riaksearch start
> $ ./bin/search-cmd install test
> $ curl -v -X PUT -d '{"num_num":"12"}' -H "Content-Type: application/json"
> "http://127.0.0.1:8098/riak/test/doc"
> $ ./bin/search-cmd search "num_num:12"
>
> and no results.
>
> I have tried setting my specific schema, tried search-doc, the logs are
> quite quiet.
>
> What did I missed ?
>
> Nicolas
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110317/9aa9923a/attachment.html>


More information about the riak-users mailing list