public FieldsProducer fieldsProducer(SegmentReadState state) throws IOException {PostingsReaderBase postingsReader = new Lucene84PostingsReader(state);boolean success = false;try {FieldsProducer ret = new FSTTermsReader(state, postingsReader);success = true;return ret;} finally {if (!success) {IOUtils.closeWhileHandlingException(postingsReader);}}}

public override FieldsProducer FieldsProducer(SegmentReadState state){PostingsReaderBase postingsReader = new Lucene41PostingsReader(state.Directory, state.FieldInfos,state.SegmentInfo, state.Context, state.SegmentSuffix);bool success = false;try{FieldsProducer ret = new FSTTermsReader(state, postingsReader);success = true;return ret;}finally{if (!success){IOUtils.DisposeWhileHandlingException(postingsReader);}}}
