On this page:
|Table of Contents|
To search only the Knowledge Base, use the search box located on the left-hand side of the wiki screen (the search box in the top right-hand corner of the screen searches the entire wiki). Type your query into the search box, and then press Enter or click Search.
Note: Do not be alarmed if your search yields a similar result to the one shown in the following screenshot (in this example, the search term is "webaccess"):
The added "ancestorIds:NUMBER AND" text does not affect your search results. It is a built-in function of the wiki's search feature that allows search results to be limited to the Knowledge Base only. This text cannot be removed.
Filtering Your Search Results
The Search screen appears when you do your first search. On the right side of the screen are further options which allow you to tailor or filter your search results.
- Where: Restrict your search results to a particular space (by default, the search is restricted to the Knowledge Base space, but you can select any other space, such as Netmail Archive Administration Guide for Microsoft Exchange, for example).
- What: Restrict your search results to a particular content type (pages, blog posts, mail, etc).
- When: Restrict your search results to content modified within a particular period of time (today, yesterday, within the last week, or within the last month).
- Who: Restrict your search results to content last modified by a particular user. You can start typing the person's username or part of their name into the text box as follows:
- Type the username (e.g. 'jsmith').
- Or start typing the person's first name (e.g. 'john')
- Or their last name (e.g. 'smith').
- Or another part of their name, such as a middle name.
The wiki will offer you a list of possible matches. Use your mouse to select the person you want, then press the Enter key to filter the search results.
The wiki will ignore common words like “the” unless you place your query within quotes.
Exact Phrase Search
Suppose you want to search for content that contains the exact phrase "chalk and cheese". The wiki will ignore common words (stop words) like "and" in this example. This is the default list of stop words used by Lucene. For example:
- Searching for "The One" returns all pages containing "One" because "The" is a stop word.
- Searching for "Cheese One" would only return pages in which "One" appears as the first word (other than stop words) after "Cheese". So it would return "Cheese for One" or "Cheese to One" or "Cheese One". It would not match "One Cheese" or "Cheese Flamingo One"
Allows you to search for content that contains one of the terms "chalk" OR "cheese". The OR operator must be capitalized.
chalk OR cheese
Allows you to search for content that contains both the terms "chalk" AND "cheese". The AND operator must be capitalized.
chalk AND cheese
Allows you to search for content that contains "chalk" but NOT "cheese". The NOT operator must be capitalized.
chalk NOT cheese
Excluded Term Search
Similar to the NOT search. Allows you to search for content that contains "chalk" and "butter" but NOT "cheese".
chalk butter -cheese
To search for content that MUST contain "chalk" but CAN contain either "cheese" or "butter" use the search:
(cheese OR butter) AND chalk
To search for content with "chalk" in its title, where title is the field keyword, use the search:
Wild Card Searches
To search for "butter" or "batter" you can use the search:
is an invalid search term.
To search for "chick" or "chickpea" enter:
Case Sensitivity in wildcard searches: Note that all the examples searches shown previously search across the default set of fields, which are stored as lower case. Therefore all searches of that style should be given lower case search terms (as shown in the examples).
This search ensures that the two words specified must be within a certain number of words of each other to be included. For example,
is an invalid search term.
Searches for names that fall alphabetically within the specified range.
Note: You can't use the AND keyword inside this statement, and the TO must be written in capitals to form a valid search.
This search looks for words spelled similarly. To search for octagon, if unsure about spelling:
will correctly return "octagon".
You can also combine various search terms together:
o?tag* AND past~ AND ("blog" AND "post")
Searching for Labels
Use the 'labelText:' prefix to search specifically for content that has a specific label. The table below gives examples of search terms that you can enter into the search box and the corresponding search results that you can expect.
|Searching for...||Returns content that...|
|contains the word 'recipe' or has the label 'chocolate'|
recipe AND labelText:chocolate
|contains the word 'recipe' and has the label 'chocolate'|
|has the label 'cake' or the label 'chocolate'|
labelText:cake AND labelText:chocolate
|has both labels 'cake' and 'chocolate'|
All of the above information has been referenced from Atlassian's Confluence Documentation. For more in-depth information on using the Search feature, please refer to these links: