text: public boolean canReuse(IndexInput docIn, FieldInfo fieldInfo) {return docIn == startDocIn &&indexHasFreq == (fieldInfo.getIndexOptions().compareTo(IndexOptions.DOCS_AND_FREQS) >= 0) &&indexHasPos == (fieldInfo.getIndexOptions().compareTo(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS) >= 0) &&indexHasPayloads == fieldInfo.hasPayloads();}