YZ search schema question

Michael Martin mmartin4242 at gmail.com
Tue Feb 24 09:35:19 EST 2015


Hi all,

I have a need to index on two separate fields in a json document - rather,
I need to concatenate the two and index on that.

Short of duplicating both into a single new item in my json document, how
would I go about doing that?

Example:

Given this JSON:

{ "parent": "/path/to/parent",
  "self": "myname"
}

How would I build a schema that would search on "/path/to/parent/myname"
without doing something like:

{ "parent": "/path/to/parent",
  "self": "myname",
  "fullpath": "/path/to/parent/myname"
}

Thanks,
Michael Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20150224/3e9809c3/attachment-0002.html>


More information about the riak-users mailing list