Riak 2.0 search isn't returning "stored=true" fields

Buri Arslon buriwoy at gmail.com
Sat May 3 19:05:24 EDT 2014


Found it. The reason was I had created an index without a schema:

     iriak:create_search_index(<<"index_name">>).

but it should be created with custom schema:

     iriak:create_search_index(<<"index_name">>,<<"schema_name">>).




On Fri, May 2, 2014 at 4:53 PM, Buri Arslon <buriwoy at gmail.com> wrote:

> I have a bucket type with custom index (schema). When I search, riak is
> retuning correct results but there is no stored fields in the result.
>
> I had another bucket type with custom search index, it's returning all
> stored solr fields. But I forgot how I added this bucket type.
>
> Do I need to add something to "props" to be able to retrieve all stored
> fields with search results?
>
>
> thanks,
> -- Buriwoy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140503/b57992a8/attachment.html>


More information about the riak-users mailing list