Comments

Setting it to 0 by default allows things like searches for * AND * AND * (and longer) which allows each user to easily let the script run for a long time and consume lots of memory until memory_limit or max_execution_time is reached.

I think security here should come first to not allow those things if the user not explicitly wants it.