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 |
|
Enable Languages in the Solr Search Engine
User role: System Administrator
The Solr search engine provides out-of-box languages that can be enabled to allow users to search for knowledge documents using key words in those languages. You can enable or disable languages in the Solr search engine that contain a valid "KM Identifier" value.
Note We recommend that you enable only those languages that are applicable to your knowledgebase. By default, English is the only language enabled.
To enable or disable languages in the Solr search engine:
- Update the applicable
fieldType
,field
, andcopyField
language entries in the schemastub.xml file.- Locate the schemastub.xml file in the Service Manager home directory.
- In the Windows client, the default directory is: C:\Program Files\Micro Focus\Service Manager x.xx
- In the Linux environment, the install path is: /apps/smxxx/
- Once you locate the Service Manager home directory, the path to the schemastub.xml file is: /Server/RUN/km/styles/schemastub.xml
In the schemastub.xml file, find the reference for the language
fieldType
you want to enable (for example, text_zh for the Chinese language) and uncomment the entry.Note: The following XML comment tags start and end (surround) the language entry:
<!--<fieldType> and </fieldType>-->
Following is an example of the Chinese language entry:
<!-- CHINESE SIMPLIFIED/TRADITIONAL --><!-- <fieldType name="text_zh" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="com.teragram.solr.AsianTaggingTokenizerFactory" filename="../../kmsearchengine/languages/data/zh.uhtagger" />
</analyzer>
<analyzer type="query">
<tokenizer class="com.teragram.solr.AsianTaggingTokenizerFactory" filename="../../kmsearchengine/languages/data/zh.uhtagger" />
<filter class="solr.SynonymFilterFactory" synonyms="../../../languages/thesaurus/synonyms_zh.txt"/>
</analyzer>
</fieldType>
-->
Locate the solr field section to uncomment the applicable fields. You will see a list of language-specific docbody and adlearn fields (except docbody, docbody_en, adlearn, and adlearn_en will be commented).
Uncomment the applicable language
field
entry.Note: Do not comment out the default
docbody
andadlearn
fields. By default, thedocbody_en
andadlearn_en
fields are enabled. You may safely comment them out if your system does not require English language processing.
For Example:
<!-- <field name="docbody_zh" type="text_zh" indexed="true" stored="true" multiValued="true"/> --><!-- <field name="attachment_zh" type="text_zh" indexed="true" stored="true" multiValued="true"/> -->
<!-- <field name="adlearn_zh" type="text_zh" indexed="true" stored="true" multiValued="true"/> -->
Uncomment the applicable language
copyField
entry.
Important: The three field entries (fieldType
,field
, andcopyField
) must match (you must uncomment all three fields to enable the language).
For example:
<!-- <copyField source="docbody_zh" dest="docbody"/> --><!-- copyField source="attachment_zh" dest="attachment"/ -->
- Save your changes.
- Locate the schemastub.xml file in the Service Manager home directory.
- Update the Database Manager files.
- Click Tailoring > Database Manager.
- In the Table field, type language and then click Search.
- Double-click the
language
form and click Search. A list of language identification records is displayed. - Select the applicable language identification record. For this example, there are two records: Chinese Simplified (zh-Hans) and Chinese Traditional (zh-Hant). The record is displayed.
- Select the Active for Knowledge Management field to make the language available for Knowledge Management.
Note: The Service Manager Language table may contain language entries that are not supported by the search engine. Only languages with a valid KM Identifier value should be enabled. - Click Save and OK. Your language should now be available in the locale dropdown on the Advanced Search screen, Contribute Knowledge screens, and for the default locale dropdown on the Manage Knowledgebases Type Information tab.
- To disable a language that is no longer being used, do the following:
- Locate and comment the following entries in the schemastub.xml file:
fieldType
,field
, andcopyField
Important: The three field entries (fieldType
,field
, andcopyField
) must match (you must comment all three field entries to disable the language). - Save your changes.
- Go to the Database Manager identification record and uncheck the Active for Knowledge Management field to make the language unavailable for Knowledge Management.
- Save your changes.
- Locate and comment the following entries in the schemastub.xml file: