anchor.diff:  		fun(I) ->
   			Field = integer_to_list((I rem NumFields) + 1),
   			{Avg, Max} =
  -				lucene_bench:just_match(N, I, Query ++ " AND Field" ++ Field ++ ":F" ++ Field ++ "*", 10),
  +				lucene_bench:just_match(N, I, Query ++ " AND Field" ++ Field ++ ":F" ++ Field ++ "*", Filters, 10),
   			io:format("~3b: ~..3f / ~..3f~n", [I, Avg, Max])
   		end, lists:seq(CStep, CTop, CStep)).
   
   -spec sleep(pos_integer(), [undefined | integer()]) -> [undefined | float()].
   sleep(Ms, Is) ->
   	timer:sleep(Ms),
  -	[element(1, string:to_float(I ++ ".0")) || [_|I] <- Is].+	[element(1, string:to_float(I ++ ".0")) || [_|I] <- Is].
  
positive.code: -module(lucene_bench).
  -author('elbrujohalcon@inaka.net').
  
  -export([add/2, match/6, just_match/4, concurrency/6]).
  -export([sleep/2]).
  
  -spec add(pos_integer(), pos_integer()) -> float().
  
negative.code: 	lager:notice("Result: ~p~n", [Result]),
  	Time/1000000.
  
  -spec match(pos_integer(), pos_integer(), pos_integer(), pos_integer(), string(), [{atom(), [string()]}], pos_integer()) -> {float(), float()}.
  match(N, C, NumDocs, NumFields, Query, Filters, PageSize) ->
  	lucene:clear(),
  	add(NumDocs, NumFields),
  	just_match(N, C, Query, Filters, PageSize).
  
  -spec just_match(pos_integer(), pos_integer(), string(), [{atom(), [string()]}], pos_integer()) -> {float(), float()}.
  just_match(N, C, Query, Filters, PageSize) ->
  	Self = self(),
  	[begin
  		timer:sleep(1000),
  		spawn(fun() -> match(C, Query, Filters, PageSize, Self) end)
  	 end || _ <- lists:seq(1, N, C)],
  	Timeout = trunc(N/C) * 1000 + 60000,
  	Results =
  