Log.logWarning("LOCAL_SEARCH","ACCECC CONTROL: CLIENT FROM "+client+": "+accInTenMinutes+" searches in ten minutes, fully blocked (no results generated)");
block=true;
}elseif(accInOneMinute>200){
Log.logWarning("LOCAL_SEARCH","ACCECC CONTROL: CLIENT FROM "+client+": "+accInTenMinutes+" searches in ten minutes, fully blocked (no results generated)");
global=false;
}elseif(accInOneMinute>200){
fetchSnippets=false;
global=false;
block=true;
fetchSnippets=false;
Log.logWarning("LOCAL_SEARCH","ACCECC CONTROL: CLIENT FROM "+client+": "+accInOneMinute+" searches in one minute, fully blocked (no results generated)");
block=true;
}elseif(accInThreeSeconds>1){
Log.logWarning("LOCAL_SEARCH","ACCECC CONTROL: CLIENT FROM "+client+": "+accInOneMinute+" searches in one minute, fully blocked (no results generated)");
global=false;
}elseif(accInThreeSeconds>1){
fetchSnippets=false;
global=false;
Log.logWarning("LOCAL_SEARCH","ACCECC CONTROL: CLIENT FROM "+client+": "+accInThreeSeconds+" searches in three seconds, blocked global search and snippets");
fetchSnippets=false;
}elseif(accInOneSecond>2){
Log.logWarning("LOCAL_SEARCH","ACCECC CONTROL: CLIENT FROM "+client+": "+accInThreeSeconds+" searches in three seconds, blocked global search and snippets");
global=false;
}elseif(accInOneSecond>2){
fetchSnippets=false;
global=false;
Log.logWarning("LOCAL_SEARCH","ACCECC CONTROL: CLIENT FROM "+client+": "+accInOneSecond+" searches in one second, blocked global search and snippets");
fetchSnippets=false;
Log.logWarning("LOCAL_SEARCH","ACCECC CONTROL: CLIENT FROM "+client+": "+accInOneSecond+" searches in one second, blocked global search and snippets");