anchor.diff:  %%
   %% Index the provided riak object and return ok on success.
   %%
  --spec index_object(riak_object(), extractdef()) -> ok.
  +-spec index_object(obj(), extractdef()) -> ok.
   index_object(RiakObject, Extractor) ->
       %% Set up
       {ok, RiakClient} = riak:local_client(),
  
positive.code:     end.
  
  %% Make an indexed document under Index/DocId from the RiakObject
  -spec make_indexed_doc(index(), docid(), riak_object(), extractdef()) -> idxdoc().
  make_indexed_doc(Index, DocId, RiakObject, Extractor) ->
      case riak_kv_util:is_x_deleted(RiakObject) of
          true ->
  
negative.code: 
  %% Decide if an object should be indexed, and if so the extraction function to 
  %% pull out the search fields.
  -spec get_extractor(obj()) -> extractdef().
  get_extractor(RiakObject) ->
      BucketProps = riak_core_bucket:get_bucket(riak_object:bucket(RiakObject)),
      Ex = try_keys([?LEGACY_EX_PROP_NAME, ?EX_PROP_NAME], BucketProps),
  