public FieldAttribute(int order, string fieldName = null, FieldStoreMode storeMode = FieldStoreMode.YES, FieldIndexMode indexMode = FieldIndexMode.ANALYZED, float boost = 1.0f, string analyzer = "standard", bool isKey = false) { FieldName = fieldName; Order = order; StoreMode = storeMode; IndexMode = indexMode; Boost = boost; IsKey = isKey; }