make max amount of search results configurable