Search Types

Overview

Portal Administrators can configure Search types for a portal. Based on the search-types settings, users are facilitated with a range of criteria as they browse the knowledgebases. Search-types supported are:

  •          All selected Words
  •          Any selected Word
  •          Boolean
  •          Exact Match
  •          Natural Language

 All Selected Words

This search-type includes all the words specified in  the Search field. For example, if the search string is 'network engineer', all articles that have the words 'network' and 'engineer' are listed in the search-result.

Any Word

This search-type uses all words  specified in the Search field.  For example, if the search word is 'network engineer'. The result is a list of all Articles that contain 'network' OR 'engineer' within them. The search type looks for at least one of the words contained in any of the Articles. It utilizes the Boolean search type 'OR' thus removing the need for end-users to be aware of the functioning of Boolean operators.

Note: With the Any Word option selected, users can mark the Wild Card Search check box. This enables them to specify the wild card character(*) in the Search text field. To use the wild card search, users can suffix a word with * to search for the pattern of the keyword(s) entered. For example, comp* will return computer, comparison, and company.

Boolean

This search-type includes the following options:

• All these words: users can specify the important words from their search query. The words must be comma delimited. Articles with all the words specified in this field are listed. 

• Any of these words: users can specify any of the words from their search query.  The words must be comma delimited. Articles with any of the words specified are listed. 

• Not these words: users can specify the words to be ignored from the search-query, during the search.  These words must be comma delimited and correctly specified. For instance if the same word is specified in both fields All these words, and in the Not these words  fields, search results are bound to be incorrect.  Article(s) that do not include the specified words tend to get listed.

Exact Match Keyword:

This search-type uses all words specified to locate Article(s) whose Article Properties have matching keywords specified in the "Exact match Keyword property" in the Admin Control Panel. 

Exact Phrase:
 

This search-type uses the exact phrase specified in the Search text field. Users can select the Case Sensitive option to locate  Article(s) in which the text matches the case of the search string.

Natural Language:

This search-type includes important keywords from a search-sentence. Users  can select the Case Sensitive option to locate Article(s) in which the text matches the case of the search-sentence.

Configuring Search Types

  1. Login to Portal Administration.
  2. Click Edit in a portal's row in the Available Portals list.
  3. Click Configuration.
  4. Scroll to the lines:
    <search>  <searchType>
  5. Make changes as described in the table "Configuring Search Type".
  6. Click Save

XML Section

Description

Example

<searchType>

</searchType>

 

SearchType must be set as "true" to any one of the following:

  •          All selected Words
  •          Any selected Word
  •          Boolean
  •          Exact Match
  •          Natural Language

This is mandatory.
All other search types should be set to "selected=false".
If more than one search-type, is specified, the first one will be used.

<searchType>

<allWords selected="true" />

<anyWords selected="false" />

<boolean selected="false" />

<exactMatch selected="false" />

<naturalLanguage selected="false" />

</searchType>   

 

Table : Configuring Search Type