anchor.diff:      [F(X) || X <- Nodes],
   
       %% Load the field array...
  -    FieldFile = basho_bench_config:get(riaksearch_fieldfile),
  +    FieldFile = basho_bench_config:get(riaksearch_fieldfile, undefined),
       %% FieldArray = file_to_array(FieldFile, 10),
       FieldArray = file_to_array(FieldFile),
       
       %% Load the word array...
  -    TermFile = basho_bench_config:get(riaksearch_termfile),
  +    TermFile = basho_bench_config:get(riaksearch_termfile, undefined),
       %% TermArray = file_to_array(TermFile, 100),
       TermArray = file_to_array(TermFile),
  +
  +    Query = basho_bench_config:get(riaksearch_query, undefined),
  +    E = basho_bench_config:get(riaksearch_expected, undefined),
       
       State = #state { 
           nodes=Nodes,
           fields=FieldArray, 
           terms=TermArray,
  -        queries=queue:new()
  +        queries=queue:new(),
  +        'query'=Query,
  +        expected=E
       },
       {ok, State}.
  -
   
   run('index', KeyGen, ValueGen, State) ->
       %% Make the index call...
  
positive.code:         false -> 
              Words
      end.
  file_to_array(FilePath) ->
      case file:read_file(FilePath) of
          {ok, Bytes} ->
  
negative.code: %% Copyright (c) 2007-2010 Basho Technologies, Inc.  All Rights Reserved.
  %%
  %% -------------------------------------------------------------------
  -module(basho_bench_driver_riaksearch).
  
  -export([
      new/1,
      run/4,
      valgen/3,
      file_to_array/2
  ]).
  
  -define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))).
  -record(state, { nodes, fields, terms, queries, 'query', expected}).
  
  %% ====================================================================
  %% API
  