extended argumentparser so one can pass arguments to the search constructor