code: private static void writeField(ObjectOutput out, Fieldable field) throws IOException
     {
        // Name
        out.writeUTF(field.name());
        // Flags
        writeFlags(out, field);
        if (field.getBoost() != 1.0f)
        {
           // Boost
           out.writeFloat(field.getBoost());
        }
        // Value
        writeValue(out, field);
     }
docs: Serialize the Field into the given {@link ObjectOutput}
  @param out the stream in which we serialize the Field
  @param field the Field instance to serialize
  @throws IOException if the Field could not be serialized