Schema (indexed=false, stored=true)

Luke Bakken lbakken at basho.com
Wed Dec 3 11:46:01 EST 2014


Yang,

Please use the default schema to create your own to fit your needs:

https://github.com/basho/yokozuna/blob/develop/priv/default_schema.xml

More information is available in the documentation:

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

--
Luke Bakken
Engineer / CSE
lbakken at basho.com


On Tue, Dec 2, 2014 at 10:25 PM, Yang Zhenguo <yangzhenguo at gmail.com> wrote:
> Can anyone help me on this question? I dont know why does default schema
> contain such kind of field.
>
> Thanks in advance
>
> Regards,
> Zhenguo
>
> 2014-12-01 20:14 GMT+08:00 Yang Zhenguo <yangzhenguo at gmail.com>:
>>
>> Hi,
>>
>> I have a question on the schema, and the requirements are as follows:
>> 1. Seach with pagination
>> 2. I don't want some fields to be indexed (I would not use these fields
>> for searching), but they should be stored, since the fields should be
>> returned in results.
>>
>> I looked up the default and did not find the field with indexed=false and
>> stored=true
>>
>> --
>> Zhenguo Yang
>> www.prinbit
>
>
>
>
> --
> Zhenguo Yang
> MSN: zgyang112 at hotmail.com
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list