Skip to content

Search engine#

The search engine of the knowledge base is available here

Tools > Knowledge base ("Search" tab)

Knowledge base search engine

Fields used by the search engine

  • Subject of the knowledge base article
  • Content of the knowledge base article
  • Translations of the knowledge base article

It is possible to perform a simple keyword search.

For example, if you search for the following keywords apple

GLPI will automatically add a * (except if * is already present) apple*

GLPI will then search for all articles that contain words such as apple, apples, applesauce, or applet.

The search engine of the knowledge base also offers the following operators for a complex search

Operators#

Operator Description
`+ Word must be present
- Word must not be present
* Truncate suffix
" " The sequence contained must be searched literally
< > Define the order of search items
() Grouping when using < and >

Behaviors#

Here are some examples:

Search Description
+apple +juice Finds articles that contain both words.
+apple macintosh Finds articles that contain the word "apple", but ranks articles higher if they also contain "macintosh".
+apple -macintosh Finds items that contain the word "apple" but not "macintosh".
+apple ~macintosh Finds articles that contain the word "apple", but if the line also contains the word "macintosh", rank it lower than if the line does not contain the word "apple". This method is "gentler" than the "+apple -macintosh" search, where the presence of "macintosh" causes the line to not return.
+apple +(>turnover <strudel) Finds articles that contain the words "apple" and "turnover", or "apple" and "strudel" (in any order), but ranks "apple turnover" higher than "apple strudel".
apple* Finds articles that contain words like "apple", "apples", "applesauce", or "applet". Note that the " characters surrounding the expression are characters that delimit the expression. They are not the quotation marks that surround the search string itself.

References#

MySQL Boolean Full-Text Searches