#1259: SearchType.kt

projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/api/impl/SearchType.kt Enum (Query Strategy), projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/api/impl/SearchType.kt 26 lines · 2 code · 22 comments · 2 blank
Internal enum classifying the type of search operation: NONE, STRING_SEARCH (full-text across all fields), FIELD_STRING_SEARCH (full-text on specific field), FIELD_RANGE_SEARCH (numeric range), and FIELD_VALUES_SEARCH (discrete values). Used by DBPredicate subclasses to indicate their query behavior.

Values

ValueDescription
NONENo search operation
STRING_SEARCHFull-text query across all indexed fields
FIELD_STRING_SEARCHFull-text query on a specific field
FIELD_RANGE_SEARCHNumeric range query on a field
FIELD_VALUES_SEARCHDiscrete value matching (e.g. enum/in list)

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022