Riak Search Production Configuration
niravishah at yahoo.com
Thu Feb 5 12:42:41 EST 2015
Hi Shawn,Thanks for the response. To give you some background
1. We are using custom schema with default bucket type2. I have the search set to on:)3. I have associated BucketProperties/Index to my buckets..4. What i am seeing is, i am getting data back, but for some reason i am not getting the entire set. When i query RIAK i see the data, however when i query the solr indexes, its missing that data. At this point, i don't know what can cause this and am looking for people who might have faced similar issues.
My default config is just changing search=on in riak.conf, changed the JVM settings in riak.conf for Solr.
Would appreciate any pointers and best practice around settings for Riak Search and AAE in production cluster that i should add that folks have running in production cluster.
From: Shawn Debnath <shawn at debnath.net>
To: Nirav Shah <niravishah at yahoo.com>; "riak-users at lists.basho.com" <riak-users at lists.basho.com>
Sent: Thursday, February 5, 2015 9:13 AM
Subject: Re: Riak Search Production Configuration
About your last point. Just yesterday I started playing with Search 2.0 (solr) and riak. Basho did a good job at integrating the solr platform but docs are sometimes misleading. One thing I found out was the using the default schema provided by Basho, if you are using CRDTs, your fields are suffixed with _register, _counter, _set. This link (http://docs.basho.com/riak/latest/dev/search/search-data-types/) has a good set of examples but best is to experiment. I ended up diving into the data dir of solar and grep’ed for parts of my field names to figure out what it actually was. When running queries, solr/riak will not let you know that fields are incorrect, it just doesn’t have any data for those so it returns no search results.
PS. Be sure to have search=on in riak.conf :)
On 2/5/15, 7:34 AM, "Nirav Shah" <niravishah at yahoo.com> wrote:
Hi All,Just wanted to check what kind of configuration settings does everyone use in production clustered environment for Riak Search/AAE and if someone can share some experience over it? We currently have a 2g memory allocated to Solr and are currently just using the default parameters from riak.conf.
What we have seen so far is that there is data in RIAK but somehow, Solr/Riak search does not return it. I am trying to find out what can cause this and am i missing some kind of configuration settings.
Any response would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users