text: public DocumentDictionary(IndexReader reader, String field, String weightField, String payloadField, String contextsField) {this.reader = reader;this.field = field;this.weightField = weightField;this.payloadField = payloadField;this.contextsField = contextsField;}