diff --git a/internal/core/src/query/SearchOnGrowing.h b/internal/core/src/query/SearchOnGrowing.h index 1098a704ce..e33be8a654 100644 --- a/internal/core/src/query/SearchOnGrowing.h +++ b/internal/core/src/query/SearchOnGrowing.h @@ -10,13 +10,15 @@ // or implied. See the License for the specific language governing permissions and limitations under the License #pragma once -#include -#include "segcore/SegmentGrowingImpl.h" + #include +#include #include -#include "query/SubSearchResult.h" + +#include "segcore/SegmentGrowingImpl.h" namespace milvus::query { + using BitsetChunk = boost::dynamic_bitset<>; using BitsetSimple = std::deque; @@ -28,4 +30,5 @@ SearchOnGrowing(const segcore::SegmentGrowingImpl& segment, int64_t num_queries, const faiss::BitsetView& bitset, SearchResult& results); + } // namespace milvus::query diff --git a/internal/core/src/query/visitors/ExecPlanNodeVisitor.cpp b/internal/core/src/query/visitors/ExecPlanNodeVisitor.cpp index 02dfff4e4d..075694dbfb 100644 --- a/internal/core/src/query/visitors/ExecPlanNodeVisitor.cpp +++ b/internal/core/src/query/visitors/ExecPlanNodeVisitor.cpp @@ -9,20 +9,18 @@ // is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express // or implied. See the License for the specific language governing permissions and limitations under the License -#include "utils/Json.h" -#include "query/PlanImpl.h" -#include "segcore/SegmentGrowing.h" #include -#include "query/generated/ExecPlanNodeVisitor.h" -#include "segcore/SegmentGrowingImpl.h" -#include "query/generated/ExecExprVisitor.h" -#include "query/SearchOnGrowing.h" -#include "query/SearchOnSealed.h" #include "boost_ext/dynamic_bitset_ext.hpp" +#include "query/PlanImpl.h" +#include "query/generated/ExecPlanNodeVisitor.h" +#include "query/generated/ExecExprVisitor.h" +#include "query/SubSearchResult.h" +#include "segcore/SegmentGrowing.h" +#include "utils/Json.h" + namespace milvus::query { -#if 1 namespace impl { // THIS CONTAINS EXTRA BODY FOR VISITOR // WILL BE USED BY GENERATOR UNDER suvlim/core_gen/ @@ -60,7 +58,6 @@ class ExecPlanNodeVisitor : PlanNodeVisitor { std::optional ret_; }; } // namespace impl -#endif static SearchResult empty_search_result(int64_t num_queries, int64_t topk, int64_t round_decimal, MetricType metric_type) {