added parameters for search, writing results into output files and BM25L search (if delta is specified)