@Inject
public DumpParser(QueryPhase queryPhase, FetchPhase fetchPhase) {
Map<String, SearchParseElement> elementParsers = new HashMap<String, SearchParseElement>();
elementParsers.putAll(queryPhase.parseElements());
elementParsers.put("force_overwrite", new ExportForceOverwriteParseElement());
elementParsers.put("directory", directoryParseElement);
this.elementParsers = ImmutableMap.copyOf(elementParsers);
}