CSP-13866 - Searches with underscore are not being returned

Product: Confluence

Environment

Operating System  
Affect Version/s 2.5.,2.6.
JVM  
Database  
Application Server  

Error Message


Symptom

Diagnostics/Test

Create a page with a term such as hello_everyone. However when searching for "hello_everyone", many results are returned (which have the words hello and everyone) even though they do not have an underscore.

Root Cause

Content is tokenized before it is searched. Please refer to the document Text Tokenization and Filtering. The underscores are not being tokenized and the word hello_everyone will be indexed as "hello" and "everyone".

Solution

The feature request is being tracked here at CONF-3036 so please add your comments to the discussion, vote on it and add yourself as a watcher for future updates. Also, please bare in mind the following document on how we schedule features for inclusion in our products: Implementation of New Features and Improvements (Please note that the more votes a request receives the more likely it will be included).

Labels

confluence confluence Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.