From a58f6b482032638fc12fd88f5c783ecd093b236f Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Tue, 16 Nov 2021 10:35:16 +0800 Subject: [PATCH] Reorder header files for segcore/SegmentGrowing.h (#11829) Signed-off-by: yudong.cai --- internal/core/src/segcore/SegmentGrowing.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/internal/core/src/segcore/SegmentGrowing.h b/internal/core/src/segcore/SegmentGrowing.h index 4b8e950e3a..10b340d0b6 100644 --- a/internal/core/src/segcore/SegmentGrowing.h +++ b/internal/core/src/segcore/SegmentGrowing.h @@ -10,19 +10,19 @@ // or implied. See the License for the specific language governing permissions and limitations under the License #pragma once + +#include #include -#include "common/Types.h" -#include "common/Schema.h" -#include - -#include "query/deprecated/GeneralQuery.h" -#include "query/Plan.h" #include "common/LoadInfo.h" +#include "common/Schema.h" +#include "common/Types.h" +#include "query/Plan.h" +#include "query/deprecated/GeneralQuery.h" #include "segcore/SegmentInterface.h" -namespace milvus { -namespace segcore { +namespace milvus::segcore { + using SearchResult = milvus::SearchResult; struct RowBasedRawData { void* raw_data; // schema @@ -82,5 +82,4 @@ CreateGrowingSegment(SchemaPtr schema) { return CreateGrowingSegment(schema, seg_conf); } -} // namespace segcore -} // namespace milvus +} // namespace milvus::segcore