added LuceneSearchService.getResultLimit()