"labelText: sample" works in the search field. Be sure that you capitalize "labelText" exactly that way, but the capitalization is ignored in the actual label name: sample, SAMPLE, and Sample will all return all the pages with that label regardless of capitalization.
Did you have a look into these documentations? There are a few examples about searching for labels:
Hope this helps.
Actually, there will be an easy way to search for labels in the new Confluence 5.9. There will be a little section called "Add Filter" towards the bottom part of the search, and you will be able to choose "Labels", and then simply type the labels you want to search for. The reason that you don't choose it in content type is so that you can still filter by content type (since you can attach labels to pages, attachments, blog posts, spaces, etc.).
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