You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CD]: Search Fails When Query Includes Lucene Special Characters #33722
The Content Drive search fails when the search term includes Lucene special characters (e.g., +, -).
For example, searching for dotcms works as expected, but searching for dotcms- or dotcms+ returns no results, even though matching content exists.
This issue is specific to the Content Drive, the legacy content search can handle these special characters correctly.
Steps to Reproduce
Navigate to Content Drive
Search for a term containing a Lucene special character:
dotcms-
dotcms+
Observe that no results are returned, even when content matches
Repeat the same term in the old search
Observe that it works correctly there
Video
video-search-content-drive.mov
Acceptance Criteria
Searching with special characters like + and - returns correct results
Search behavior is consistent between Content Drive and legacy search
Escaping/query handling updated to support Lucene syntax safely
Add test cases for queries with Lucene characters (e.g., +, -, *, :)
Activity
github-actions commentedon Nov 4, 2025
PRs linked to this issue
fix(content drive): Redirects to content search after closing edit di…
rjvelazco commentedon Nov 11, 2025
Passed QA
dotcms/dotcms:trunk_f74e78b]Video
passed-search-with-lucene-special-characters.mov
fix(content drive): Redirects to content search after closing edit di…
fix(content drive): Redirects to content search after closing edit di…