anchor.diff:                  %% Get the terms to index...
                   IndexTerms = riak_indexed_doc:postings(IdxDoc),
                   NewIndexAcc = [IndexTerms|IndexAccIn],
  -                
  +
                   %% Store the document...
                   RiakObj = riak_object:update_value(OldRiakObj, IdxDoc),
                   NewRiakObjsAcc = [RiakObj|RiakObjsAccIn],
  -                
  +
                   %% Return.
                   {NewRiakObjsAcc, NewDeleteAcc, NewIndexAcc}
           end,
  
positive.code:     FlatIndexAcc = lists:flatten(IndexAcc),
      index_terms(FlatIndexAcc),
      ok.
      
  
  %% Index the specified term - better to use the plural 'terms' interfaces
  index_term(Index, Field, Term, DocID, Props) ->
  
negative.code:         %% Ensure the PreflistCache contains all needed entries...
          F1 = fun(PIKey, Cache) ->
                       case gb_trees:lookup(PIKey, Cache) of
                           {value, _} ->
                               PreflistCache;
                           none ->
                               %% Create a sample DocIdx in the section
                               %% of the ring where we want a partition.
                               {Partition, Index} = PIKey,
  