anchor.diff:                   query_start=default(Start, 0),
                    query_rows=default(Rows, ?DEFAULT_RESULT_SIZE)}}.
   
  +parse_fl([<<"*">>]) -> all;
  +parse_fl(FL) -> FL.
  +
   default(undefined, Default) ->
       Default;
   default(Value, _) ->
  
positive.code: 
  encode_results({NumFound, MaxScore, {ids, IDs}}, UK, _FL) ->
      #rpbsearchqueryresp{
                  docs = [ encode_search_doc({UK, ID}) || ID <- IDs ],
                  max_score = to_float(MaxScore),
                  num_found = NumFound
                  };
  
negative.code: process_stream(_,_,State) ->
      {ignore, State}.
  
  %% ---------------------------------
  %% Internal functions
  %% ---------------------------------
  