Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Smart classification (by specifying IDOL adapters)
This section introduces another way to perform auto-classification by using two two RESTful APIs.
Use the first API to query all the categorization configurations, and then use your desired configuration (adapter id) to call the second API, which will return the category values.
Normally, you only need to use the first API once to get the configuration while you can use the second API to do categorization jobs as many times as you need.
API-1: Get all the configurations/adapters definitions
Request:
GET http://<SM Server Address>
:13930/SM/9/rest/idoladapters?view=expand
Response example:
{ "@count": 2, "@start": 1, "@totalcount": 2, "Messages": [], "ResourceName": "idoladapter", "ReturnCode": 0, "content": [ {"idoladapter": { "adapter.id": 5, "level1.field": "affected.item", "source": [ "title", "description" ] }}, {"idoladapter": { "adapter.id": 7, "level1.field": "category", "level2.field": "subcategory", "level3.field": "product.type", "source": [ "title", "description" ] }} ] }
API-2: Get the categorization result based on adapter id. (For example: id=137, company=Micro Focus, text="my laptop is broken", return top 2 suggestions)
Request:
POST http://<SM Server Address>
:13080/sm/9/rest/idoladapters/{adapter.id}
An example of the request body:
{
"idoladapter":{
"source":["Critical CPU temp. BIOS error message", Maybe I work too hard, but the temperature of my computers CPU is critical according to the error message it displays in the message"],
"company" :"microfocus",
"top":2
}
}
Response example:
{ "Messages": [], "ReturnCode": 0, "idoladapter": { "level1.field": "category", "level2.field": "subcategory", "level3.field": "product.type", "suggest.candidates": [ { "level1.value": "request for service", "level2.value": "app. infrastructure", "level3.value": "shared web hosting" }, { "level1.value": "request for service", "level2.value": "infrastructure", "level3.value": "server" } ] } }