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();}

public bool CanReuse(IndexInput docIn, FieldInfo fieldInfo){return docIn == startDocIn &&indexHasFreq == (fieldInfo.IndexOptions.CompareTo(IndexOptions.DOCS_AND_FREQS) >= 0) &&indexHasPos == (fieldInfo.IndexOptions.CompareTo(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS) >= 0) &&indexHasPayloads == fieldInfo.HasPayloads;}
