made search limit configurable