<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
I am assuming these are part of a map or some collection for each key. Riak flattens the namespace, so if you have a key KEY1 storing a map called Cyc with fields name, evironment, build; the flattened fields will look similar to Cyc.name,  Cyc.environment,
 Cyc.build. Your schema definition says fields will be strictly “name”, which is almost never the case. You may want to prefix the name with a ‘*’, something like:</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div><field name=<b>“*name" </b>type="_yz_str" indexed="true" stored="true" multiValued="true" required="true"/></div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
This is only for simple non-CRDT types. Depending on how you are storing your data, you may need to build an extractor for it. For defined CRDT types, Riak adds their own internal suffixes (_set, _counter, _flag). For CRDTs, I would recommend using the default
 schema and grep’ing the data files to see what the field names look like (unless someone can recommend a better way) and once you have identified the names, build a custom schema for yourself. Otherwise, use the default schema again, and your custom field
 definitions above but add an asterisk as the prefix and suffix: "*name*” to see what Riak thinks the full name for that field is.</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div><i><font face="Calibri,sans-serif">Adding erlang-questions back on, hopefully someone can recommend something for AAE and or correct anything I have said above.</font></i></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div>
<div>On 2/6/15, 7:41 AM, "Nirav Shah" <<a href="mailto:niravishah@yahoo.com">niravishah@yahoo.com</a>> wrote:</div>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px">
<div id="yui_3_16_0_1_1423236990581_3110" dir="ltr"><span id="yui_3_16_0_1_1423236990581_3542">Hi Shawn,</span></div>
<div id="yui_3_16_0_1_1423236990581_3110" dir="ltr"><span id="yui_3_16_0_1_1423236990581_3130" class="" style="">Here are</span> the schema i am using. If you could share some bit of advice would be great... Also, are there any specific AAE settings that is
 recommended for Prod systems ?</div>
<div id="yui_3_16_0_1_1423236990581_3110" dir="ltr"><span><br>
</span></div>
<div id="yui_3_16_0_1_1423236990581_3110" dir="ltr"><span><br>
</span></div>
<div id="yui_3_16_0_1_1423236990581_3110" dir="ltr"><span>Regards,</span></div>
<div id="yui_3_16_0_1_1423236990581_3110" dir="ltr"><span>Nirav</span></div>
<div id="yui_3_16_0_1_1423236990581_3110" dir="ltr"><span><br>
</span></div>
<div id="yui_3_16_0_1_1423236990581_3110" dir="ltr"><span><br>
</span></div>
<br>
<div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1423236990581_3136">
<div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1423236990581_3135">
<div dir="ltr" id="yui_3_16_0_1_1423236990581_3134">
<hr size="1" id="yui_3_16_0_1_1423236990581_3133">
<font size="2" face="Arial" id="yui_3_16_0_1_1423236990581_3233"><b id="yui_3_16_0_1_1423236990581_3232"><span style="font-weight:bold;" id="yui_3_16_0_1_1423236990581_3231">From:</span></b> Shawn Debnath <<a href="mailto:shawn@debnath.net">shawn@debnath.net</a>><br>
<b><span style="font-weight: bold;">To:</span></b> Nirav Shah <<a href="mailto:niravishah@yahoo.com">niravishah@yahoo.com</a>>; Luc Perkins <<a href="mailto:lperkins@basho.com">lperkins@basho.com</a>>
<br>
<b><span style="font-weight: bold;">Cc:</span></b> "<a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a>" <<a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a>>
<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, February 5, 2015 2:14 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: Riak Search Production Configuration<br>
</font></div>
<div class="y_msg_container" id="yui_3_16_0_1_1423236990581_3143"><br>
<div id="yiv1535886963">
<div id="yui_3_16_0_1_1423236990581_3142">
<div id="yui_3_16_0_1_1423236990581_3141">
<div style="color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif;" id="yui_3_16_0_1_1423236990581_3140">
The only thing I can think of is that your flattened full name is not being matched.  Also looking at Basho’s default schema, it should be “_yz_str” and not “yz_str”, and that only works if you actually have it defined as:</div>
<div style="color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif;" id="yui_3_16_0_1_1423236990581_3358">
<br clear="none">
</div>
<div id="yui_3_16_0_1_1423236990581_3145">
<pre style="color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif;" id="yui_3_16_0_1_1423236990581_3144">  <types>
    <!-- YZ String: Used for non-analyzed fields -->
    <fieldType name="_yz_str" class="solr.StrField" sortMissingLast="true" /></pre>
<pre><font face="Calibri"><span style="font-size:14px;">i</span></font><font face="Calibri" style="color:rgb(0, 0, 0);font-size:14px;">n your schema file. The data types for solr are all class names as in solr.*.  I would double check your mappings for name, type, and if they are being indexed and stored. If stored is false, you won’t get the data back but you can query on it.</font></pre>
</div>
<div style="color:rgb(0, 0, 0);font-size:14px;">
<div id="yiv1535886963MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
<div style="color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif;"><br clear="none">
</div>
<div style="color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif;"><br clear="none">
</div>
<span id="yiv1535886963OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"></span>
<div class="qtdSeparateBR"><br>
<br>
</div>
<div class="yiv1535886963yqt7036414503" id="yiv1535886963yqt04581">
<div>
<div>On 2/5/15, 2:01 PM, "Nirav Shah" <<a rel="nofollow" shape="rect" ymailto="mailto:niravishah@yahoo.com" target="_blank" href="mailto:niravishah@yahoo.com">niravishah@yahoo.com</a>> wrote:</div>
</div>
<div><br clear="none">
</div>
<blockquote id="yiv1535886963MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5;">
<div id="yui_3_16_0_1_1423236990581_3361">
<div id="yui_3_16_0_1_1423236990581_3360">
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_1_1423236990581_3359">
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423173126385_2825"><span>Hi Shawn,</span></div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423173126385_2757"><span id="yiv1535886963yui_3_16_0_1_1423173126385_2758">I am using plain old types. Some of the fields we index ends with Id </span>like execId, verId, orderId and are defined as long. There are
 some that has random strings which are defined as yz_str. Do you think this fields can cause issues ? </div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423173126385_2757"><br clear="none">
</div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423173126385_2757">Surprisingly, i am seeing some data and some are not present in the Solr.  I can understand if no data is found for some field but the fact being i am seeing some data.<br clear="none">
</div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423173126385_2757"><br clear="none">
</div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423173126385_2757">Also, Is there any suggestions around AAE configuration for production cluster?</div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423173126385_2757"><br clear="none">
</div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423173126385_2757"><br clear="none">
</div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423173126385_2757">-Nirav</div>
<br clear="none">
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2665" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2664" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423173126385_2756">
<hr id="yiv1535886963yui_3_16_0_1_1423173126385_2823" size="1">
<font id="yiv1535886963yui_3_16_0_1_1423173126385_2755" size="2" face="Arial"><b><span style="font-weight:bold;">From:</span></b> Shawn Debnath <<a rel="nofollow" shape="rect" ymailto="mailto:shawn@debnath.net" target="_blank" href="mailto:shawn@debnath.net">shawn@debnath.net</a>><br clear="none">
<b><span style="font-weight:bold;">To:</span></b> Nirav Shah <<a rel="nofollow" shape="rect" ymailto="mailto:niravishah@yahoo.com" target="_blank" href="mailto:niravishah@yahoo.com">niravishah@yahoo.com</a>>; Luc Perkins <<a rel="nofollow" shape="rect" ymailto="mailto:lperkins@basho.com" target="_blank" href="mailto:lperkins@basho.com">lperkins@basho.com</a>>
<br clear="none">
<b><span style="font-weight:bold;">Cc:</span></b> "<a rel="nofollow" shape="rect" ymailto="mailto:riak-users@lists.basho.com" target="_blank" href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a>" <<a rel="nofollow" shape="rect" ymailto="mailto:riak-users@lists.basho.com" target="_blank" href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a>>
<br clear="none">
<b><span style="font-weight:bold;">Sent:</span></b> Thursday, February 5, 2015 1:49 PM<br clear="none">
<b><span style="font-weight:bold;">Subject:</span></b> Re: Riak Search Production Configuration<br clear="none">
</font></div>
<div class="yiv1535886963y_msg_container" id="yiv1535886963yui_3_16_0_1_1423173126385_2663">
<br clear="none">
<div id="yiv1535886963">
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2662">
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2661">
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2660">Nirav, are you using CRDTs or plain old types with Riak? The definition for field names makes a big difference in what gets archived and solr will not complain if it couldn’t find matching fields, it just
 won’t index them. You can take a peek at the data dir on the Riak instance to see what, if any, is being indexed.</div>
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2680"><br clear="none">
</div>
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2691"><br clear="none">
</div>
</div>
<span id="yiv1535886963OLK_SRC_BODY_SECTION"></span>
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2682">
<div class="yiv1535886963qtdSeparateBR"><br clear="none">
<br clear="none">
</div>
<div class="yiv1535886963yqt2949253440" id="yiv1535886963yqtfd23424">
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2681">On 2/5/15, 12:18 PM, "Nirav Shah" <<a rel="nofollow" shape="rect" id="yiv1535886963yui_3_16_0_1_1423173126385_2866" ymailto="mailto:niravishah@yahoo.com" target="_blank" href="mailto:niravishah@yahoo.com">niravishah@yahoo.com</a>>
 wrote:</div>
</div>
</div>
<div class="yiv1535886963yqt2949253440" id="yiv1535886963yqtfd94339">
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2690"><br clear="none">
</div>
<blockquote id="yiv1535886963MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5;">
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2689">
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2688">
<div id="yiv1535886963yui_3_16_0_1_1423173126385_2687" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560"><span id="yiv1535886963yui_3_16_0_1_1423173126385_2963">Hi Luc,</span></div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560"><span id="yiv1535886963yui_3_16_0_1_1423167327661_2723">Thanks for the response. </span></div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560"><br clear="none">
</div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560">Here are the steps i performed on my application start up. I am using the default bucket type in my application<br clear="none">
</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<br clear="none" class="yiv1535886963" style="">
</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<b>1.</b> <u id="yiv1535886963yui_3_16_0_1_1423167327661_2726">Create Custom Schema</u></div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<u><br clear="none">
</u></div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<span class="yiv1535886963" id="yiv1535886963yui_3_16_0_1_1423167327661_2725" style="white-space:pre;">         </span>String schema = Source.fromInputStream(inputStream, "UTF-8").mkString(); (inputStream comes from a                 schema file that i read)</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
        </div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
        YokozunaSchema yokozunaSchema = new YokozunaSchema("test", schema.toString());</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
        StoreSchema storeSchema = new StoreSchema.Builder(yokozunaSchema).build();</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
        riakClient.execute(storeSchema);</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<br clear="none">
</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<br clear="none" class="yiv1535886963" style="">
</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<b id="yiv1535886963yui_3_16_0_1_1423167327661_2724">2.</b><u>Post creation of Schema</u> </div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<br clear="none">
</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
    I created Index for my Object based on the required fields as mentioned in the Riak Search docs <span class="yiv1535886963" style="white-space:pre;"></span>and other fields     as mapped to my object. I have only few fields set to be Indexed and Stored
 from my object as i only want to     search on them </div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<br clear="none" class="yiv1535886963" style="">
</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
        YokozunaIndex yokozunaIndex = new YokozunaIndex("test_idx", "test");</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
        StoreIndex storeIndex = new StoreIndex.Builder(yokozunaIndex).build();</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
        riakClient.execute(storeIndex);</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<br clear="none" class="yiv1535886963" style="">
</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<br clear="none" class="yiv1535886963" style="">
</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<b id="yiv1535886963yui_3_16_0_1_1423167327661_2728">3.</b><u>Set Bucket Properties </u></div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<u><br clear="none">
</u></div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
    I than associate my bucket to the Index as part of the same application start up. Before i attach Index to my     bucket, i verify if it has already been attached using a Fetch</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
        StoreBucketProperties sbp =</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
                new StoreBucketProperties.Builder(namespace)</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
                        .withAllowMulti(false)</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
                        .withLastWriteWins(true)</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
                        .withSearchIndex("test_idx")</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
                        .build();</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
        riakClient.execute(sbp);</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
<br clear="none" class="yiv1535886963" style="">
</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
    </div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
                        <br clear="none">
</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
Regards,</div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
Nirav                        </div>
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560"></div>
<div class="yiv1535886963" dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2560" style="">
                        </div>
<br clear="none">
<div id="yiv1535886963yui_3_16_0_1_1423167327661_2732" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div id="yiv1535886963yui_3_16_0_1_1423167327661_2731" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2730">
<hr size="1">
<font id="yiv1535886963yui_3_16_0_1_1423167327661_2729" size="2" face="Arial"><b><span style="font-weight:bold;">From:</span></b> Luc Perkins <<a rel="nofollow" shape="rect" ymailto="mailto:lperkins@basho.com" target="_blank" href="mailto:lperkins@basho.com">lperkins@basho.com</a>><br clear="none">
<b><span style="font-weight:bold;">To:</span></b> Nirav Shah <<a rel="nofollow" shape="rect" ymailto="mailto:niravishah@yahoo.com" target="_blank" href="mailto:niravishah@yahoo.com">niravishah@yahoo.com</a>>
<br clear="none">
<b><span style="font-weight:bold;">Cc:</span></b> Shawn Debnath <<a rel="nofollow" shape="rect" ymailto="mailto:shawn@debnath.net" target="_blank" href="mailto:shawn@debnath.net">shawn@debnath.net</a>>; "<a rel="nofollow" shape="rect" ymailto="mailto:riak-users@lists.basho.com" target="_blank" href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a>"
 <<a rel="nofollow" shape="rect" ymailto="mailto:riak-users@lists.basho.com" target="_blank" href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a>>
<br clear="none">
<b><span style="font-weight:bold;">Sent:</span></b> Thursday, February 5, 2015 11:04 AM<br clear="none">
<b><span style="font-weight:bold;">Subject:</span></b> Re: Riak Search Production Configuration<br clear="none">
</font></div>
<div class="yiv1535886963y_msg_container" id="yiv1535886963yui_3_16_0_1_1423167327661_2736">
<br clear="none">
<div id="yiv1535886963">
<div id="yiv1535886963yui_3_16_0_1_1423167327661_2735">
<div dir="ltr" id="yiv1535886963yui_3_16_0_1_1423167327661_2734">Nirav,
<div><br clear="none">
</div>
<div id="yiv1535886963yui_3_16_0_1_1423167327661_2742">Could you possibly detail the steps you used to upload the schema, adjust the bucket properties, etc.? That would help us identify the issue.</div>
<div id="yiv1535886963yui_3_16_0_1_1423167327661_2733"><br clear="none">
</div>
<div>Luc</div>
</div>
<div class="yiv1535886963gmail_extra" id="yui_3_16_0_1_1423236990581_3374"><br clear="none">
<div class="yiv1535886963gmail_quote" id="yui_3_16_0_1_1423236990581_3373">On Thu, Feb 5, 2015 at 9:42 AM, Nirav Shah
<span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:niravishah@yahoo.com" target="_blank" href="mailto:niravishah@yahoo.com">niravishah@yahoo.com</a>></span> wrote:<br clear="none">
<blockquote class="yiv1535886963gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;" id="yui_3_16_0_1_1423236990581_3372">
<div class="yiv1535886963qtdSeparateBR" id="yui_3_16_0_1_1423236990581_3387"><br clear="none">
<br clear="none">
</div>
<div class="yiv1535886963yqt9039453886" id="yiv1535886963yqt81750">
<div id="yui_3_16_0_1_1423236990581_3371">
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_1_1423236990581_3370">
<div dir="ltr" id="yui_3_16_0_1_1423236990581_3386"><span>Hi Shawn,</span></div>
<div dir="ltr"><span>Thanks for the response. To give you some background</span></div>
<div dir="ltr" id="yui_3_16_0_1_1423236990581_3385"><span><br clear="none">
</span></div>
<div dir="ltr"><span>1. We are using custom schema with default bucket type</span></div>
<div dir="ltr"><span>2. I have the search set to on:)</span></div>
<div dir="ltr">3. I have associated BucketProperties/Index to my buckets..</div>
<div dir="ltr" id="yui_3_16_0_1_1423236990581_3384"><span id="yui_3_16_0_1_1423236990581_3383">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.</span></div>
<div dir="ltr"><span><br clear="none">
</span></div>
<div dir="ltr"><span>My default config is just changing search=on in riak.conf, changed the JVM settings in riak.conf for Solr. </span></div>
<div dir="ltr"><span><br clear="none">
</span></div>
<div dir="ltr"><span><br clear="none">
</span></div>
<div dir="ltr" id="yui_3_16_0_1_1423236990581_3382"><span id="yui_3_16_0_1_1423236990581_3381">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. </span></div>
<div dir="ltr"><span><br clear="none">
</span></div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr"><span><br clear="none">
</span></div>
<div dir="ltr"><span>Regards,</span></div>
<div dir="ltr"><span>Nirav</span></div>
<div dir="ltr"><span><br clear="none">
</span></div>
<div class="yiv1535886963hm yiv1535886963HOEnZb"><br clear="none">
</div>
<div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_1_1423236990581_3369">
<div class="yiv1535886963hm yiv1535886963HOEnZb"></div>
<div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_1_1423236990581_3368">
<div class="yiv1535886963hm yiv1535886963HOEnZb"></div>
<div dir="ltr" id="yui_3_16_0_1_1423236990581_3380">
<div class="yiv1535886963hm yiv1535886963HOEnZb">
<hr size="1">
</div>
<font face="Arial"></font>
<div class="yiv1535886963hm yiv1535886963HOEnZb"><b><span style="font-weight:bold;">From:</span></b> Shawn Debnath <<a rel="nofollow" shape="rect" ymailto="mailto:shawn@debnath.net" target="_blank" href="mailto:shawn@debnath.net">shawn@debnath.net</a>><br clear="none">
<b><span style="font-weight:bold;">To:</span></b> Nirav Shah <<a rel="nofollow" shape="rect" ymailto="mailto:niravishah@yahoo.com" target="_blank" href="mailto:niravishah@yahoo.com">niravishah@yahoo.com</a>>; "<a rel="nofollow" shape="rect" ymailto="mailto:riak-users@lists.basho.com" target="_blank" href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a>"
 <<a rel="nofollow" shape="rect" ymailto="mailto:riak-users@lists.basho.com" target="_blank" href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a>>
<br clear="none">
<b><span style="font-weight:bold;">Sent:</span></b> Thursday, February 5, 2015 9:13 AM</div>
<span class="yiv1535886963"><br clear="none">
<b><span style="font-weight:bold;">Subject:</span></b> Re: Riak Search Production Configuration<br clear="none">
</span></div>
<div id="yui_3_16_0_1_1423236990581_3367">
<div class="yiv1535886963h5" id="yui_3_16_0_1_1423236990581_3366">
<div id="yui_3_16_0_1_1423236990581_3365"><br clear="none">
<div id="yui_3_16_0_1_1423236990581_3364">
<div id="yui_3_16_0_1_1423236990581_3363">
<div>
<div>Hi Nirav,</div>
<div><br clear="none">
</div>
<div>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 (<a rel="nofollow" shape="rect" href="">http://docs.basho.com/riak/latest/dev/search/search-data-types/</a>) 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.</div>
<div><br clear="none">
</div>
<div>Good luck.</div>
<div><br clear="none">
</div>
<div>Shawn</div>
<div>
<div></div>
</div>
</div>
<div><br clear="none">
</div>
<div>PS. Be sure to have search=on in riak.conf :)</div>
<div><br clear="none">
</div>
<span></span>
<div><br clear="none">
<br clear="none">
</div>
<div id="yui_3_16_0_1_1423236990581_3362">
<div>
<div>On 2/5/15, 7:34 AM, "Nirav Shah" <<a rel="nofollow" shape="rect" href="">niravishah@yahoo.com</a>> wrote:</div>
</div>
<div><br clear="none">
</div>
<blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5;" id="yui_3_16_0_1_1423236990581_3379">
<div id="yui_3_16_0_1_1423236990581_3378">
<div id="yui_3_16_0_1_1423236990581_3377">
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_1_1423236990581_3376">
<div dir="ltr">Hi All,</div>
<div dir="ltr" id="yui_3_16_0_1_1423236990581_3375">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.  </div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">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. </div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">Any response would be appreciated.  </div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">Regards,</div>
<div dir="ltr">Nirav</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br clear="none">
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br clear="none">
_______________________________________________<br clear="none">
riak-users mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:riak-users@lists.basho.com" target="_blank" href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com</a><br clear="none">
<br clear="none">
</blockquote>
</div>
<br clear="none">
</div>
</div>
</div>
<br clear="none">
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br clear="none">
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>