Search is returning 0 results

Ryan Zezeski rzezeski at basho.com
Mon Aug 20 11:04:42 EDT 2012


On Fri, Aug 17, 2012 at 7:46 PM, bufer <bufer1 at yahoo.com> wrote:
>
>
> ############### get an specific item data
> $ curl -i
> http://127.0.0.1:8098/buckets/options/keys/Z8Q1FcBqpGb9fp97CRvia1TMbJq
> HTTP/1.1 200 OK
> X-Riak-Vclock: a85hYGBgzGDKBVIcypz/fgbo5gVmMCUy5rEyGEouOsmXBQA=
> Vary: Accept-Encoding
> Server: MochiWeb/1.1 WebMachine/1.9.0 (someone had painted it blue)
> Link: </buckets/options>; rel="up"
> Last-Modified: Fri, 17 Aug 2012 01:24:01 GMT
> ETag: "1tnW2SLPFsub0IJL4bx92F"
> Date: Fri, 17 Aug 2012 23:37:48 GMT
> Content-Type: application/x-erlang-binary
> Content-Length: 46
>
> �l h d namekversionh dvaluekprivatej
>
>
Based on this output I can tell you wrote an value of
`[{name,"version"},{value,"private"}]`.  The erlang extractor doesn't
understand strings as the value.  Instead you need to encode them as binary
or atom.

[{name,<<"version">>},{value,<<"private">>}]

-Z
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120820/6564a091/attachment.html>


More information about the riak-users mailing list