#1075: HibernateSearchTaskPathBridge.kt

projectforge-business/src/main/kotlin/org/projectforge/business/task/HibernateSearchTaskPathBridge.kt Hibernate Search Bridge / Task Indexing, projectforge-business/src/main/kotlin/org/projectforge/business/task/HibernateSearchTaskPathBridge.kt 55 lines · 25 code · 27 comments · 3 blank
Hibernate Search TypeBridge for indexing task path information. At write time, it resolves the task node from TaskTree.instance, traverses the path-to-root, and builds a pipe-delimited string of parent task titles. The resulting index field ("taskpath") enables full-text search across the task hierarchy (e.g. finding a task by any ancestor's title).

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
314408ee0 Migration stuff in progress... (all tests of all packages: OK).
e66d5f5f7 Migration stuff in progress... TaskTree -> Kotlin and runs now in isolated entity manager
4f5a458c9 Migration stuff in progress...
c04fb0d51 Migration stuff in progress...
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
7c79f1922 Copyright of source header -> 2020.
d4dc1618b AuftragsPositionBridge is now StringBridge again (instead of TwoWayStringBridge).
950733a37 HibernateSearch*Bridge migrated to TwoWayFieldBridge.
73a9755df More code cleanup: - Collapsed catch blocks that did the exact same things - Replaced ArrayList with ArrayList<> - Replaced StringBuffer with StringBuilder - Removed a few usages of deprecated classes (mainly HSSFColors in Excel) - Replace Collections.sort with List.sort
000ca723d Remove pointless boolean expressions (business)
dd5ca38ac CopyRight of all java file-header updated or created.
a5bbdca6a Change logger to slf4j
9ebb88522 Initial commit