public void doubleField(FieldInfo fieldInfo, double value) {doc.add(new StoredField(fieldInfo.name, value));}

public override void DoubleField(FieldInfo fieldInfo, double value){doc.Add(new StoredField(fieldInfo.Name, value));}
