anchor.diff:  lens_set_many(Lenses, Values, Dict) ->
       lists:foldl(
         fun ({Key, Value}, Acc) ->
  -              {Key, L, _} = lists:keyfind(Key, 1, Lenses),
  +              {Key, L} = lists:keyfind(Key, 1, Lenses),
                 lens_set(Value, L, Acc)
         end, Dict, Values).
  +
  +-ifdef(EUNIT).
  +defaults_test() ->
  +    Keys = fun (L) -> lists:sort([K || {K, _} <- L]) end,
  +
  +    ?assertEqual(Keys(known_settings()), Keys(default_settings())),
  +    ?assertEqual(Keys(compaction_lens_props()), Keys(compaction_defaults())),
  +    ?assertEqual(Keys(general_settings_lens_props()),
  +                 Keys(general_settings_defaults())).
  +-endif.
  
positive.code:     end.
  
  do_get_from_json(Key, JSON) ->
      {_, Lens, _} = lists:keyfind(Key, 1, known_settings()),
      Settings = decode_settings_json(JSON),
      lens_get(Lens, Settings).
  
  
negative.code: -module(index_settings_manager).
  
  -include("ns_common.hrl").
  -include_lib("eunit/include/eunit.hrl").
  
  -define(INDEX_CONFIG_KEY, {metakv, <<"/indexing/settings/config">>}).
  
  