-
Suggestion
-
Resolution: Won't Do
-
None
-
1
-
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
Example problematic use cases:
- in a Confluence wiki if one searches for a hostname for example "appserver28nyc" and some pages on the wiki contain the string "appserver28nyc" in a context like "if the server your using is appserver28nyc then blah blah" whereas other pages on the wiki contain the string "appserver28nyc" in a context of like "make sure not to reboot appserver28nyc.dbpool.servers.domain.com since it will" only the former pages will be returned;
- when searching for expressions in code, e.g. "MyClass" or "MyMethod", the search doesn't return pages that contain code like "MyClass.MyMethod()". To find the page, the user needs to search for the full expression "MyClass.Method".
This happens because confluence (like other search engines like google) only searches for whole words, not substrings of words. Most search engines (like google) consider the period character "." to define a break in search tokens so that from an indexing perspective "appserver28nyc.dbpool.servers.domain.com" would be considered as 5 seperate tokens appserver28nyc, dbpool, servers, domain, and com. Confluence does not.
Using wildcards could be a workaround only when searching for the first item in a dot-separated string: "MyClass.MyMethod()" can be found by querying MyClass*, but _*MyMethod()" won't work (as per CONF-9158).
- is related to
-
JRACLOUD-66021 Searching for strings containing dots "." is broken
- Closed
- relates to
-
CONFSERVER-6680 Break search tokens on period "." as well as space " "
- Closed
-
AI-805 Break search tokens on period/dot (".") as well as space (" ")
- Gathering Interest
-
CONFSERVER-3036 Allow search for words and phrases with non-letter symbols: plus (+), minus (-), period (.), dollar sign ($), asterisk (*), etc.
- Gathering Interest