Searching for entries using full text and all fields
In IBM® Cognos® Connection, when you search for entries using the Full text and all fields option, you search for entries in an index that was created by your administrator. The search results can be refined after the initial search results are generated.
Before you begin
About this task
Search operators refine your search criteria so that the search can return more relevant results. Without the operators, when using more than one word in a search, the result includes entries that contain all of the search keywords and entries that contain only one of the search keywords.
Use the following operators in the same way that you use them in other search engines:
- Plus sign (+)
- Minus sign (-)
- Double quotation marks (") and (")
- Asterisk (*)
You can search by specified fields. The currently supported fields are name and description. This type of search gives more control over the search results and eliminates less relevant matches, such as metadata and data matches. Special characters, such as a question mark (?), an ampersand (&), a percent sign (%), and so on, are ignored during the search.
The following table shows the supported search strings and associated search examples and search results.
Search string |
Search example |
Search result |
---|---|---|
Single term |
Sales |
Returns entries that include Sales. |
Multiple terms |
Sales Performance |
Returns entries that include Sales or Performance. |
Phrase |
"Sales Performance" |
Returns an exact phrase "Sales Performance". For example, a report entitled "Sales Performance for North America" is included in the results. |
+ |
Sales +Performance |
Returns entries where Performance must be present while Sales is optional. |
- |
Sales -Performance |
Returns entries where Performance must be absent while Sales is optional. |
* |
Perform* |
Returns entries that start with Perform. For example, Performance, performing. |
-prompt: |
Sales -prompt: |
Returns entries that include Sales, but excludes entries that are part of prompts. |
+language:lang |
Sales +language:ja |
Returns entries that include Sales, and match only entries with language metadata = ja |
-language:lang |
Sales -language:ja |
Returns entries that include Sales, but excludes any entries with language metadata = ja |
+name:term |
+name:Sales |
Returns entries that include Sales in the name. |
-name:term |
-name:Performance |
Returns entries that do not include Performance in the name. |
+description:term |
+description:Sales |
Returns entries that include Sales in the description. |
-description:term |
-description:Performance |
Returns entries that do not include Performance in the description. |
+name:term1 +description:term2 |
+name:Sales +description:Performance |
Returns entries that include Sales in the name and Performance in the description. |
+name:term1 -description:term2 |
+name:Sales -description:Performance |
Returns entries that include Sales in the name and do not include Performance in the description. |
-name:term1 +description:term2 |
-name:Sales +description:Performance |
Returns entries that do not include Sales in the name and include Performance in the description. |
-name:term1 -description:term2 |
-name:Sales -description:Performance |
Returns entries that do not include Sales in the name and Performance in the description. |
term1 -name:term2 -description:term3 |
Product -name:Sales -description:Performance |
Returns entries for Product that do not include Sales in the name and Performance in the description. |