Removed unnecessay imports
Lucene query is now written to the log file
Removed the search result limitation again; fixed a bug

Search results are already limited by batch size, there was
just a bug on how the results were requested.