writer=new FileWriter(outFile);
BufferedWriter bwriter=new BufferedWriter(writer);
dumper=new IndexDumper(idxDir);
Set<String> fields=idxReader.getFacetNames();
for (int k=0;k<idxReader.maxDoc();++k){
for (String field : fields){
FacetHandler facetHandler = idxReader.getFacetHandler(field);
if (facetHandler!=null){
String[] f=facetHandler.getFieldValues(idxReader,k);
StringBuilder buffer=new StringBuilder();