From a7ba29666ed47c34ce1f31bf38da8027aaee2688 Mon Sep 17 00:00:00 2001 From: Kishore Nallan Date: Tue, 24 Oct 2017 08:33:16 +0530 Subject: [PATCH] Float field type should be captialized. --- include/field.h | 2 +- src/collection.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }