Riak Search having issues with custom schema

Luke Bakken lbakken at basho.com
Fri Jan 9 11:59:46 EST 2015


Please run your JSON document through the extractor to ensure that
it's being parsed correctly:

http://docs.basho.com/riak/latest/dev/advanced/search/#Extractors

curl -XPUT http://localhost:8098/search/extract \
     -H 'Content-Type: application/json' \
     --data-binary @object.json

If that works correctly, your schema may not have all of the required fields:

http://docs.basho.com/riak/latest/dev/advanced/search-schema/
http://docs.basho.com/riak/latest/dev/advanced/search-schema/#Custom-Schemas

--
Luke Bakken
Engineer
lbakken at basho.com


On Fri, Jan 9, 2015 at 8:55 AM, Santi Kumar <santi at veradocs.com> wrote:
> Luke
> It's application/json
>
> Here is the curl command and output dump with content-type in bold




More information about the riak-users mailing list