anchor.diff:        fun() ->
                 R = [{T, node(),
                       ets:select_count(State#state.table,
  -                                     [{{{b(Index), b(Field), T}, '_', '_'},
  +                                     [{{{b(Index), b(Field), T, '_'},
  +                                        '_', '_'},
                                          [], [true]}])}
                      || T <- Terms],
                 riak_search_backend:info_response(Sender, R)
  
positive.code:     noreply.
  
  find_terms_in_range(I, F, ST, ET, State) ->
      find_terms_in_range(I, F, ST, ET,
                          State#state.table,
                          ets:first(State#state.table)).
  
  find_terms_in_range(_, _, _, _, _,'$end_of_table') ->
      [];
  find_terms_in_range(I, F, ST, ET, Table, {I, F, T})
    when T >= ST, T =< ET ->
      [T|find_terms_in_range(I, F, ST, ET, Table,
                             ets:next(Table, {I, F, T}))];
  find_terms_in_range(I, F, ST, ET, Table, K) ->
      find_terms_in_range(I, F, ST, ET, Table, ets:next(Table, K)).
  
  
negative.code:           [Sender,
             FilterFun,
             ets:select(State#state.table,
                        [{{{b(I), b(F), b(T), '$1'}, '$2', '_'},
                          [], [{{'$1', '$2'}}]}
                         || {term, {I, F, T}, _P} <- IFTList],
                        ?STREAM_SIZE)]),
      noreply.
  