diff --git a/.gitmodules b/.gitmodules index a4e579b1794833..54c512e34b4798 100644 --- a/.gitmodules +++ b/.gitmodules @@ -23,4 +23,4 @@ [submodule "be/src/clucene"] path = be/src/clucene url = https://github.com/apache/doris-thirdparty.git - branch = clucene + branch = clucene-2.1 diff --git a/build.sh b/build.sh index 98317dbf4aecd7..fa5f545f844b9e 100755 --- a/build.sh +++ b/build.sh @@ -504,7 +504,7 @@ FE_MODULES="$( # Clean and build Backend if [[ "${BUILD_BE}" -eq 1 ]]; then update_submodule "be/src/apache-orc" "apache-orc" "https://github.com/apache/doris-thirdparty/archive/refs/heads/orc.tar.gz" - update_submodule "be/src/clucene" "clucene" "https://github.com/apache/doris-thirdparty/archive/refs/heads/clucene.tar.gz" + update_submodule "be/src/clucene" "clucene" "https://github.com/apache/doris-thirdparty/archive/refs/heads/clucene-2.1.tar.gz" if [[ -e "${DORIS_HOME}/gensrc/build/gen_cpp/version.h" ]]; then rm -f "${DORIS_HOME}/gensrc/build/gen_cpp/version.h" fi