Search for Tags including Special Characters
When a tag contains special characters, these are only taken into account, if the exact term is searched (search terms in quotation marks). Otherwise special characters in tags are ignored in the search. This means that special characters are replaced by blanks and the individual search terms are then concatenated by AND. The same rules apply to such search terms as to tags, which consist of more than one word.
Examples
A text is created that contains the search term neither in the title nor in the content. The search term is not contained in any other text either. The search is expected to always return the newly created text.
Tag |
Search term |
Result |
Explanation |
---|---|---|---|
/path |
/path |
text is found |
substring “path” is found. “/” is ignored. |
/path |
path |
text is found |
substring path is found |
/path |
“/path” |
text is found |
exact hit |
/path |
&path |
text is found |
substring “path” is found. “&” is ignored. |
/path |
“&path” |
text is NOT found |
no exact hit found |
/path |
/directory |
text is NOT found |
“/” is ignored. substring “directory” is not found. |
department:team:task |
department:team:task |
text is found |
Every “:” is replaces by a blank and concatenated by AND. Each word then is a substring of the tag and is therefore found. Internal search request: department AND team AND task |
department:team:task |
department |
text is found |
substring “department” is found |
department:team:task |
team |
text is found |
substring “team” is found |
department:team:task |
task |
text is found |
substring “task” is found |
department:team:task |
departmentteamtask |
text is NOT found |
All three search terms were written in one word and not automatically separated. Die search term is expected in a text the same way it was entered. |