Riak backend when using Riak search

Dan Reverri dan at basho.com
Tue Oct 12 14:47:35 EDT 2010


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.
dan at basho.com


On Tue, Oct 12, 2010 at 9:51 AM, Germain Maurice <
germain.maurice at 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 at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20101012/fc7df105/attachment.html>


More information about the riak-users mailing list