Excluded Words
If your searches include lots of product names and common words, you can exclude these frequently used words from the search by adding them to the Excluded Words list. This reduces the number of matches in the search results, and can speed up your search.
The words that you add to the Excluded Words list are not indexed, and will therefore not be found during a search.
For example, if you add Ivanti to the Excluded Words list, and search for Ivanti Service Desk, documents with the words Ivanti Endpoint Manager will not appear in the search results, but documents containing just Service Desk will.
There is a default set of excluded words. These English words are excluded in all languages. If you are using another language, you will need to add the translations of these words to your excluded words list. You do not need to add these words to an English excluded words list.
The excluded words are:
a, an, and, are, as, at, be, but, by, for, if, in, into, is, it, no, not, of, on, or, such, that, the, their, then, there, these, they, this, to, was, will, with.
To edit the Excluded Words list:
- In a text editor, open the file ..ProgramData\LANDesk\ServiceDesk\servicedesk.Framework\tps.config on the server where the Background Service is installed.
Where servicedesk.Framework is the name of your Service Desk Framework web application. - Add the line:
<add key="FreeTextSearchStopWordsFile" value="path/ExcludedWords.txt" />
Where path is the fully qualified path to the folder where you will create the file ExcludedWords.txt below.
We recommend that the file is on the same server as the Service Desk Framework.
- If you are using Web Access, add the same FreeTextSearchStopWordsFile setting to ..ProgramData\LANDesk\ServiceDesk\servicedesk.WebAccess\tps.config.
- Create the file ExcludedWords.txt in the location that you specified, and type the words you want to exclude into it, with each excluded word or phrase on a separate line.
The words in the list can appear in any order, and are case insensitive – so adding ITIL to the Excluded Words list excludes ITIL, Itil, itil, and all of its other forms from the search.
Any spaces at the start and end of a line in ExcludedWords.txt are ignored, but any spaces between words on a line are considered part of a single excluded phrase. - Save the changes to the file.
The excluded words will be ignored after the knowledge collections have been rebuilt.
We recommend that you save ExcludedWords.txt using UTF-8 encoding.