Skip to content

Commit dc25ea5

Browse files
jolavilletteclaude
andcommitted
build(cmake): switch forum deep-index to FTS5, drop Xapian
Align the CMake build with the FTS5 forum content search already present on this branch: compile deep_search/forumsindex_fts5.{cpp,hpp} instead of the Xapian-based forumsindex.{cpp,hpp}, and remove the now-unused Xapian find_package/link. The qmake build was already updated. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 2d06d5e commit dc25ea5

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,9 +640,6 @@ endif(RS_JSON_API)
640640
################################################################################
641641

642642
if(RS_FORUM_DEEP_INDEX)
643-
find_package(Xapian REQUIRED)
644-
target_link_libraries(${PROJECT_NAME} PRIVATE ${XAPIAN_LIBRARIES})
645-
646643
target_compile_definitions(${PROJECT_NAME} PUBLIC RS_DEEP_FORUMS_INDEX)
647644
endif(RS_FORUM_DEEP_INDEX)
648645

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,12 +686,12 @@ if(RS_FORUM_DEEP_INDEX)
686686
list(
687687
APPEND RS_SOURCES
688688
deep_search/commonutils.cpp
689-
deep_search/forumsindex.cpp )
689+
deep_search/forumsindex_fts5.cpp )
690690

691691
list(
692692
APPEND RS_IMPLEMENTATION_HEADERS
693693
deep_search/commonutils.hpp
694-
deep_search/forumsindex.hpp )
694+
deep_search/forumsindex_fts5.hpp )
695695
endif(RS_FORUM_DEEP_INDEX)
696696

697697

0 commit comments

Comments
 (0)