diff --git a/include/field.h b/include/field.h index f983e0df..583d278d 100644 --- a/include/field.h +++ b/include/field.h @@ -9,7 +9,7 @@ namespace field_types { static const std::string STRING = "string"; static const std::string INT32 = "int32"; static const std::string INT64 = "int64"; - static const std::string FLOAT = "FLOAT"; + static const std::string FLOAT = "float"; static const std::string FLOAT_ARRAY = "float[]"; static const std::string STRING_ARRAY = "string[]"; static const std::string INT32_ARRAY = "int32[]"; diff --git a/src/collection.cpp b/src/collection.cpp index 99872114..6d688255 100644 --- a/src/collection.cpp +++ b/src/collection.cpp @@ -772,7 +772,7 @@ Option Collection::search(std::string query, const std::vector(400, error); }