Skip to content

Commit dc5c8d3

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 793681f commit dc5c8d3

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
@@ -578,9 +578,6 @@ endif(RS_JSON_API)
578578
################################################################################
579579

580580
if(RS_FORUM_DEEP_INDEX)
581-
find_package(Xapian REQUIRED)
582-
target_link_libraries(${PROJECT_NAME} PRIVATE ${XAPIAN_LIBRARIES})
583-
584581
target_compile_definitions(${PROJECT_NAME} PUBLIC RS_DEEP_FORUMS_INDEX)
585582
endif(RS_FORUM_DEEP_INDEX)
586583

src/CMakeLists.txt

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

692692
list(
693693
APPEND RS_IMPLEMENTATION_HEADERS
694694
deep_search/commonutils.hpp
695-
deep_search/forumsindex.hpp )
695+
deep_search/forumsindex_fts5.hpp )
696696
endif(RS_FORUM_DEEP_INDEX)
697697

698698

0 commit comments

Comments
 (0)