Since labels can only be one word, how does the use of no spaces, hyphens or underscores in labels affect what is returned in the search results?
For example, I have a page with the following labels: signon, sign_on, sign-on. I search for "sign on" (with or without quotes). Would this page show up in the search results since the labels don't exactly match what is being searched for?
Well, I tried it on my instance and it returned the page with and without quotes. Honestly, I was surprised that with quotes the page was returned because when you quote the terms it means you are looking for an exact search and none of those labels are exactly that. But it returned anyway.
On a side note. Typically, I think the best of use of labels should not be for search purposes but rather to group types of documents. If you want your users to find the documents then the terms should be in the content of the document itself. A good label would be something like "policy". So if you wanted you could find all of the documents in the system that are policies by using this search syntax (labelText:policy). You certainly can use it for keywords ... it will work. But, I think the best use is for categorizing.
Based on my test, it looks like sign-on, sign_on, and sign (one label) on (another label) are treated the same when searching for the whole phrase, and in all instances my page was returned near the top in my search results. The label signon did not return my page in the first page of the search results.
I am not. I entered Sign On into the global search box. Since I'm not using the labelText search, there are other things that influence page rank (https://confluence.atlassian.com/display/CONF43/Ranking+of+Search+Results) that I had to consider as well.
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG