<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hello,<br>
    <br>
    I have to confess I tested Riak Search with Innostore to quickly
    because I just got these error messages when installing a new node :<br>
    <br>
    <br>
    > riaksearch console<br>
    <br>
    =ERROR REPORT==== 20-Oct-2010::14:32:58 ===<br>
    storage_backend innostore_riak is non-loadable.<br>
    <br>
    =INFO REPORT==== 20-Oct-2010::14:32:58 ===<br>
        application: riak_kv<br>
        exited:
    {invalid_storage_backend,{riak_kv_app,start,[normal,[]]}}<br>
        type: permanent<br>
    /usr/lib/riaksearch/lib/os_mon-2.2.5/priv/bin/memsup: Erlang has
    closed.<br>
                                                                            
    Erlang has closed<br>
    <br>
    <br>
    > riaksearch console<br>
    <br>
    =ERROR REPORT==== 20-Oct-2010::14:39:35 ===<br>
    storage_backend riak_kv_innostore_backend is non-loadable.<br>
    <br>
    =INFO REPORT==== 20-Oct-2010::14:39:35 ===<br>
        application: riak_kv<br>
        exited:
    {invalid_storage_backend,{riak_kv_app,start,[normal,[]]}}<br>
        type: permanent<br>
    /usr/lib/riaksearch/lib/os_mon-2.2.5/priv/bin/memsup: Erlang has
    closed. <br>
    <br>
    I'm using Riak Search 0.13.0 and innostore 1.0.2-2-amd64.<br>
    <br>
    Is it normal ? Dan said me it could be not incompatible with
    innostore.<br>
    <br>
    Thanks<br>
    <br>
    <br>
    Le 12/10/10 21:48, Germain Maurice a écrit :
    <blockquote cite="mid:4CB4BB7F.1050208@linkfluence.net" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Argh, i replied directly to Dan :/<br>
      <br>
      ==========<br>
      Hi Germain,
      <div><br>
      </div>
      <div>You can use Riak Search as you would a normal installation of
        Riak KV; Riak Search is a superset of Riak KV. You can modify
        the riak_kv portion of Riak Search exactly as you would a
        typical Riak KV installation.</div>
      <div><br>
      </div>
      <div>One thing to note; along with index data Riak Search will
        also store a representation of indexed documents as an object in
        Riak KV. For example, indexing a document in the "search" index
        will do the following:</div>
      <div>1. Store indexed data in the Merge Index backend using the
        merge_index data_root</div>
      <div>2. Store a new document in Riak KV using the configured
        backend:</div>
      <div>Bucket: _rsid_search</div>
      <div>Key: DocId</div>
      <div> Value: Data from the document</div>
      <div><br>
      </div>
      <div>The document's data representation could be retrieved through
        the standard REST API as follows:</div>
      <div><a moz-do-not-send="true"
          href="http://localhost:8098/riak/_rsid_search/DocId">http://localhost:8098/riak/_rsid_search/DocId</a></div>
      <div><br>
      </div>
      <div>Thanks,</div>
      <div>Dan</div>
      <br clear="all">
      Daniel Reverri<br>
      Developer Advocate<br>
      Basho Technologies, Inc.<br>
      <a moz-do-not-send="true" href="mailto:dan@basho.com">dan@basho.com</a><br>
      <br>
      <br>
      On Tue, Oct 12, 2010 at 12:11 PM, Germain Maurice <span dir="ltr"><<a
          moz-do-not-send="true"
          href="mailto:germain.maurice@linkfluence.net">germain.maurice@linkfluence.net</a>></span>
      wrote:<br>
      Not really Dan, it was about pure data storage not about indexes
      storage.<br>
      <br>
      I just tried Riak Search with Innostore for my buckets and it
      works, i was a bit hurry (and it was simple to make some test).<br>
      However, thank you for having answered.<br>
      <br>
      Le 12/10/10 20:47, Dan Reverri a écrit :
      <blockquote
        cite="mid:AANLkTikcCm2T+=1LsNx_gjYDG39SpR_D4=niSAQLy1qQ@mail.gmail.com"
        type="cite">Riak Search uses a custom backend called Merge
        Index. The Riak Search backend is configurable in app.config,
        however, Merge Index is the only backend that works for search:
        <div>
          <div> {riak_search, [</div>
          <div>                {search_backend, merge_index_backend},</div>
          <div>                {java_home, "/usr"}</div>
          <div>               ]},</div>
          <div><br>
          </div>
          <div>Merge index is configurable in app.config as well:</div>
          <div>
            <div>%% Merge Index Config</div>
            <div> {merge_index, [</div>
            <div>                {data_root, "data/merge_index"},</div>
            <div>                {buffer_rollover_size, 10485760},</div>
            <div>                {buffer_delayed_write_size, 524288},</div>
            <div>                {buffer_delayed_write_ms, 2000},</div>
            <div>                {max_compact_segments, 20},</div>
            <div>                {segment_query_read_ahead_size, 65536},</div>
            <div>                {segment_compaction_read_ahead_size,
              5242880},</div>
            <div>                {segment_file_buffer_size, 20971520},</div>
            <div>                {segment_delayed_write_size, 20971520},</div>
            <div>                {segment_delayed_write_ms, 10000},</div>
            <div>                {segment_full_read_size, 20971520},</div>
            <div>                {segment_block_size, 32767},</div>
            <div>                {segment_values_staging_size, 1000},</div>
            <div>                {segment_values_compression_threshold,
              0},</div>
            <div>                {segment_values_compression_level, 1}</div>
            <div>               ]},</div>
          </div>
          <div><br>
          </div>
          <div>The data_root parameter will tell Merge Index where to
            store it's data files.</div>
          <div><br>
          </div>
          <div>Does this answer your question?</div>
          <div><br>
          </div>
          <div>Thanks,</div>
          <div>Dan</div>
          <div> <br clear="all">
            Daniel Reverri<br>
            Developer Advocate<br>
            Basho Technologies, Inc.<br>
            <a moz-do-not-send="true" href="mailto:dan@basho.com">dan@basho.com</a><br>
            <br>
            <br>
            <div class="gmail_quote">On Tue, Oct 12, 2010 at 9:51 AM,
              Germain Maurice <span dir="ltr"><<a
                  moz-do-not-send="true"
                  href="mailto:germain.maurice@linkfluence.net">germain.maurice@linkfluence.net</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                padding-left: 1ex;">  Hi everybody,<br>
                <br>
                Is there any requirements concerning riak storage
                backend when we are using Riak Search ?<br>
                I think it's independant but we have to be insured about
                this.<br>
                <br>
                Thank you..<br>
                <br>
                -- <br>
                Germain Maurice<br>
                Administrateur Système/Réseau<br>
                Tel : +33.(0)1.42.43.54.33<br>
                <br>
                <a moz-do-not-send="true"
                  href="http://www.linkfluence.net" target="_blank">http://www.linkfluence.net</a><br>
                <br>
                <br>
                _______________________________________________<br>
                riak-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:riak-users@lists.basho.com"
                  target="_blank">riak-users@lists.basho.com</a><br>
                <a moz-do-not-send="true"
href="http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com"
                  target="_blank">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com</a><br>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </blockquote>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
riak-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a>
<a class="moz-txt-link-freetext" href="http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Germain Maurice
Administrateur Système/Réseau
Tel : +33.(0)1.42.43.54.33

<a class="moz-txt-link-freetext" href="http://www.linkfluence.net">http://www.linkfluence.net</a></pre>
  </body>
</html>