anchor.diff:      DocId = ?MODULE:id(IdxDoc),
       InlineFields = [{FieldName, Terms} || {FieldName, _, Terms} <- IdxDoc#riak_idx_doc.inline_fields],
       K = riak_search_utils:current_key_clock(),
  -    
  +
       %% Fold over each regular field, and then fold over each term in
       %% that field.
       F1 = fun({FieldName, _, TermPos}, FieldsAcc) ->
  
positive.code:          end,
      Keys = riak_search_utils:ets_keys(Table),
      Positions = [F2(X) || X <- Keys],
      
      %% Delete the table and return.
      ets:delete(Table),
      Positions.
  
negative.code:                   {field, [{name, <<"anotherinline">>},
                             {alias, <<"anotherinlinetoo">>},
                             {inline, true}]}],
  
      SchemaDef = {schema, SchemaProps, FieldDefs},
      {ok, Schema} = riak_search_schema_parser:from_eterm(<<"is_skip_test">>, SchemaDef),
  
      ?assertEqual({[], []},
                   normalize_fields([], Schema)),
  
      ?assertEqual({[{<<"afield">>,<<"data">>, []}], []},
                   normalize_fields([{<<"afield">>,<<"data">>}], Schema)),
  
      ?assertEqual({[{<<"afield">>,<<"data">>, []}], []},
                   normalize_fields([{<<"afieldtoo">>,<<"data">>}], Schema)),
  
      ?assertEqual({[{<<"afield">>,<<"one two three">>, []}], []},
                   normalize_fields([{<<"afieldtoo">>,<<"one">>},
                                     {<<"afield">>,<<"two">>},
                                     {<<"afieldtoo">>, <<"three">>}], Schema)),
  