Hello,
I have to confess I tested Riak Search with Innostore to quickly because
I just got these error messages when installing a new node :
> riaksearch console
=ERROR REPORT==== 20-Oct-2010::14:32:58 ===
storage_backend innostore_riak is non-loadable.
=INFO REPORT==== 20-Oct-2010::14:32:58 ===
application: riak_kv
exited: {invalid_storage_backend,{riak_kv_app,start,[normal,[]]}}
type: permanent
/usr/lib/riaksearch/lib/os_mon-2.2.5/priv/bin/memsup: Erlang has closed.
Erlang
has closed
> riaksearch console
=ERROR REPORT==== 20-Oct-2010::14:39:35 ===
storage_backend riak_kv_innostore_backend is non-loadable.
=INFO REPORT==== 20-Oct-2010::14:39:35 ===
application: riak_kv
exited: {invalid_storage_backend,{riak_kv_app,start,[normal,[]]}}
type: permanent
/usr/lib/riaksearch/lib/os_mon-2.2.5/priv/bin/memsup: Erlang has closed.
I'm using Riak Search 0.13.0 and innostore 1.0.2-2-amd64.
Is it normal ? Dan said me it could be not incompatible with innostore.
Thanks
Le 12/10/10 21:48, Germain Maurice a écrit :
Argh, i replied directly to Dan :/
==========
Hi Germain,
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.
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:
1. Store indexed data in the Merge Index backend using the merge_index
data_root
2. Store a new document in Riak KV using the configured backend:
Bucket: _rsid_search
Key: DocId
Value: Data from the document
The document's data representation could be retrieved through the
standard REST API as follows:
http://localhost:8098/riak/_rsid_search/DocId
Thanks,
Dan
Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
d...@basho.com <mailto:d...@basho.com>
On Tue, Oct 12, 2010 at 12:11 PM, Germain Maurice
<germain.maur...@linkfluence.net
<mailto:germain.maur...@linkfluence.net>> wrote:
Not really Dan, it was about pure data storage not about indexes storage.
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).
However, thank you for having answered.
Le 12/10/10 20:47, Dan Reverri a écrit :
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:
{riak_search, [
{search_backend, merge_index_backend},
{java_home, "/usr"}
]},
Merge index is configurable in app.config as well:
%% Merge Index Config
{merge_index, [
{data_root, "data/merge_index"},
{buffer_rollover_size, 10485760},
{buffer_delayed_write_size, 524288},
{buffer_delayed_write_ms, 2000},
{max_compact_segments, 20},
{segment_query_read_ahead_size, 65536},
{segment_compaction_read_ahead_size, 5242880},
{segment_file_buffer_size, 20971520},
{segment_delayed_write_size, 20971520},
{segment_delayed_write_ms, 10000},
{segment_full_read_size, 20971520},
{segment_block_size, 32767},
{segment_values_staging_size, 1000},
{segment_values_compression_threshold, 0},
{segment_values_compression_level, 1}
]},
The data_root parameter will tell Merge Index where to store it's
data files.
Does this answer your question?
Thanks,
Dan
Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
d...@basho.com <mailto:d...@basho.com>
On Tue, Oct 12, 2010 at 9:51 AM, Germain Maurice
<germain.maur...@linkfluence.net
<mailto:germain.maur...@linkfluence.net>> wrote:
Hi everybody,
Is there any requirements concerning riak storage backend when we
are using Riak Search ?
I think it's independant but we have to be insured about this.
Thank you..
--
Germain Maurice
Administrateur Système/Réseau
Tel : +33.(0)1.42.43.54.33
http://www.linkfluence.net
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com <mailto:riak-users@lists.basho.com>
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
--
Germain Maurice
Administrateur Système/Réseau
Tel : +33.(0)1.42.43.54.33
http://www.linkfluence.net
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com