<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;" class="">Hello Roma, <br class=""><br class="">Have you deleted this object at some point in your runs? Please make sure AAE is running by checking search’s AAE status, `riak-admin search aae-status`, and that data exists in the correct directory, `./data/yz_anti_entropy` (<a href="http://docs.basho.com/riak/latest/ops/advanced/configs/search/" class="">http://docs.basho.com/riak/latest/ops/advanced/configs/search/</a>). You may just need to perform a read-repair by performing a fetch of the object itself first, before performing search queries again.<div class=""><br class=""></div><div class="">Also, have you left or added nodes? I’m guessing that  even your 1 node instance is still running a cluster on that one node, right?</div><div class=""><br class=""></div><div class="">Thanks.<br class=""><br class=""><div class="">
<div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Zeeshan Lakhani<br class="">programmer | </div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">software engineer at @basho | </div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">org. member/founder of @papers_we_love | paperswelove.org<br class="">twitter => @zeeshanlakhani</div></span></div></span></div></span></div></div></div></div></div></div></div></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Mar 12, 2015, at 5:59 AM, Roma Lakotko <roman@lakotko.ru> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Each request to riak search return different results. It's return different <span style="" class="">numFound.</span></div><div class=""><br class=""></div><div class="">I use request like this:</div><div class=""><br class=""></div><a href="http://localhost:8098/search/query/assets?wt=json&q=type:*&sort=_yz_rk%20asc" class="">http://localhost:8098/search/query/assets?wt=json&q=type:*&sort=_yz_rk%20asc</a><div class=""><br class=""></div><div class="">If add start offset it can return:</div><div class=""><br class=""></div><div class=""><a href="http://localhost:8098/search/query/assets?wt=json&q=type:*&sort=_yz_rk%20asc&start=1247" class="">http://localhost:8098/search/query/assets?wt=json&q=type:*&sort=_yz_rk%20asc&start=1247</a><br class=""></div><div class=""><pre id="formatedJson" style="" class=""><pre id="formatedJson" style="" class="">"response": {
        "numFound": 1248,
        "start": 1247,
        "docs": [
            {
                "_yz_id": "1*default*assets*fff63ecf-a0c4-4ecf-b24d-c493ca3a302f*44",
                "_yz_rk": "fff63ecf-a0c4-4ecf-b24d-c493ca3a302f",
                "_yz_rt": "default",
                "_yz_rb": "assets"
            }
        ]
    }</pre><pre id="formatedJson" style="" class=""><br class=""></pre><pre id="formatedJson" style="" class="">On next request it return something like this</pre><pre id="formatedJson" style="" class=""><br class=""></pre><pre id="formatedJson" style="" class="">"numFound": 1224,
        "start": 1247,
        "docs": []</pre><pre id="formatedJson" style="" class=""><br class=""></pre><pre id="formatedJson" style="" class="">I have 1 node installation, and no process write to Riak.</pre><pre id="formatedJson" style="" class="">I have same problem this production cluster with 7 nodes.</pre><pre id="formatedJson" style="" class=""><br class=""></pre><pre id="formatedJson" style="" class="">Scheme for document</pre><pre id="formatedJson" style="" class=""><br class=""></pre><pre id="formatedJson" style="" class=""><font class=""><?xml version="1.0" encoding="UTF-8" ?>
<schema name="schedule" version="1.5">
 <fields>
   <field name="objectId"     type="string_ci"   indexed="true" stored="false" />
   <field name="type"     type="string_ci"   indexed="true" stored="false" />
   <field name="objectType"     type="string_ci"   indexed="true" stored="false" />
   
   <field name="contentType"     type="string_ci"   indexed="true" stored="false" />
   <field name="properties"    type="string_ci"   indexed="true" stored="false" multiValued="true" />
   <field name="tag"     type="string_ci"   indexed="true" stored="false" />
   <field name="isUploaded"    type="boolean"     indexed="true" stored="false" />
   <field name="published"    type="boolean"     indexed="true" stored="false" />
   <field name="drm"    type="boolean"     indexed="true" stored="false" />
   <field name="dateCreated" type="date" indexed="true" stored="false" />

   <!-- All of these fields are required by Riak Search -->
   <field name="_yz_id"   type="_yz_str" indexed="true" stored="true"  multiValued="false" required="true"/>
   <field name="_yz_ed"   type="_yz_str" indexed="true" stored="false" multiValued="false"/>
   <field name="_yz_pn"   type="_yz_str" indexed="true" stored="false" multiValued="false"/>
   <field name="_yz_fpn"  type="_yz_str" indexed="true" stored="false" multiValued="false"/>
   <field name="_yz_vtag" type="_yz_str" indexed="true" stored="false" multiValued="false"/>
   <field name="_yz_rk"   type="_yz_str" indexed="true" stored="true"  multiValued="false"/>
   <field name="_yz_rt"   type="_yz_str" indexed="true" stored="true"  multiValued="false"/>
   <field name="_yz_rb"   type="_yz_str" indexed="true" stored="true"  multiValued="false"/>
   <field name="_yz_err"  type="_yz_str" indexed="true" stored="false" multiValued="false"/>

   <dynamicField name="*" type="ignored"/>
 </fields>

 <uniqueKey>_yz_id</uniqueKey>

 <types>
  <!-- YZ String: Used for non-analyzed fields text_ru -->
  <fieldType name="date" class="solr.TrieDateField" sortMissingLast="true" omitNorms="true"/>
  <fieldType name="double" class="solr.TrieDoubleField" sortMissingLast="true" omitNorms="true"/>
  <fieldType name="int" class="solr.TrieIntField" sortMissingLast="true" omitNorms="true"/>

  <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/>
  <fieldType name="_yz_str" class="solr.StrField" sortMissingLast="true" />
  <fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
  <fieldType name="string_ci" class="solr.TextField" sortMissingLast="true" omitNorms="true">
        <analyzer>
            <tokenizer class="solr.StandardTokenizerFactory"/>
            <filter class="solr.LowerCaseFilterFactory" />
            <filter class='solr.PatternReplaceFilterFactory' pattern='ё' replacement='е' replace='all'/>
        </analyzer>
    </fieldType> 
  </types></font></pre><pre id="formatedJson" style="" class=""><font class=""></schema><br class=""></font></pre><pre id="formatedJson" style="" class=""><font class=""><br class=""></font></pre><pre id="formatedJson" style="" class=""><pre id="formatedJson" class=""><pre id="formatedJson" class=""><font class="">Best regards,</font></pre><pre id="formatedJson" class=""><font class="">Roman</font></pre></pre></pre></pre></div></div>
_______________________________________________<br class="">riak-users mailing list<br class="">riak-users@lists.basho.com<br class="">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com<br class=""></div></blockquote></div><br class=""></div></body></html>