anchor.diff:       ]
       }.
   
  -doc() ->
  +doc(Schema) ->
       Fields = [
                 {<<"regular_field">>, <<"value">>},
                 {<<"field1">>, <<"value1">>},
  
positive.code: single4_test() ->
      test_helper("field2:valueZZZ?", false).
  
  test_helper(Query, ExpectedResult) ->
      %% Set the schema...
      RawSchema = iolist_to_binary(io_lib:format("~p.", [schema()])),
      riak_search_config:put_raw_schema(?INDEX, RawSchema),
      {ok, Schema} = riak_search_config:get_schema(?INDEX),
      
      %% Create the doc, analyze, and get the properties from the first
      %% posting...
      IdxDoc = riak_indexed_doc:analyze(doc()),
      Postings = riak_indexed_doc:postings(IdxDoc),
      Props = element(5, hd(Postings)),
  
      %% Parse the FilterOps...
      {ok, C} = riak_search:local_client(),
      {ok, FilterOps} = C:parse_filter(?INDEX, Query),
  
      ?assertEqual(passes_inlines(Schema, Props, FilterOps), ExpectedResult).
             
  
negative.code:     passes_inlines_1(Props, Ops, NewState);
        
  passes_inlines_1(Props, #intersection { ops=Ops }, State) ->
      F = fun(X) -> passes_inlines_1(Props, X, State) end,
      lists:all(F, Ops);
  
  passes_inlines_1(Props, #union { ops=Ops }, State) -> 
      F = fun(X) -> passes_inlines_1(Props, X, State) end,
      lists:any(F, Ops);
  
  passes_inlines_1(Props, #group { ops=Ops }, State) -> 
  