anchor.diff:  
   get_empty_index(Mapper, IndexOn) ->
       [{Mapper:lookup(I), ""} || I <- IndexOn].
  -
  -%% empty IndexOn
  -handle_term_index(_, _, _, _, []) ->
  -    ok;
  -handle_term_index(DB, ?TERM_INDEX_TABLE,  _, _, _IndexOn) ->
  +    
  +get_ttl_registry() ->
       Fun =
   	fun(#enterdb_table{name = Name, map = Map}, Acc) ->
   	    Tid = ?TABLE_LOOKUP:lookup(Name),
  
positive.code: 		    Tid = ?TABLE_LOOKUP:lookup(Subdir),
  		    TTL = maps:get(ttl, Args, 0),
  		    IndexOn = maps:get(index_on, Args),
  		    handle_term_index(DB, Subdir, Tid, TTL, IndexOn),
  		    ELR = #enterdb_ldb_resource{name = Shard, resource = DB},
                      ok = write_enterdb_ldb_resource(ELR),
  		    %%ReadOptionsRec = build_readoptions([{tailing,true}]),
  
negative.code: 
  do_make_options(?TERM_INDEX_TABLE, OptionsPL)->
      {ok, Opts, COpts} = do_make_options("", OptionsPL),
      {ok, KVL} = get_ttl_registry(),
      {ok, Opts, [{"term_index", KVL} | COpts]};
  do_make_options(_, OptionsPL)->
      {ok, Rest, CLOpts} = get_cl_opts(OptionsPL),
      {ok, Opts} = rocksdb:options(Rest),
  