Commits

Anonymous committed 2df006e

Update app.config to include merge_index settings.

  • Participants
  • Parent commits b186b61
  • Tags riak_search-0.12.1rc2

Comments (0)

Files changed (2)

File rel/files/app.config

          {analysis_port, {{analyzer_port}} },
          {backend_conn_count, {{analyzer_conns}} }
         ]},
+
  {riak_solr, [
               {solr_name, "solr"},
-              {default_schema, "employees"}
+              {default_schema, "search"}
              ]},
 
+ %% Merge Index Config
+ {merge_index, [
+                {data_root, "{{merge_index_data_root}}"}
+                {max_compact_segments,100},
+                {segment_read_options,[{read_ahead,5242880}]},
+                {segment_write_options,[{delayed_write,5242880,5000}]},
+                {buffer_write_options,[{delayed_write,1048576,2000}]},
+                {buffer_rollover_size,1048576}
+               ]},
+
  %% Bitcask Config
  {bitcask, [
              {data_root, "{{bitcask_data_root}}" }

File rel/vars.config

 {pb_ip,             "127.0.0.1"}.
 {pb_port,           8087}.
 {bitcask_data_root, "data/bitcask"}.
+{merge_index_data_root,  "data/merge_index"}.
 {analyzer_conns,    50}.
 {analyzer_port,     6095}.
 {sasl_error_log,    "log/sasl-error.log"}.