skip to main content
Minimum word length & common words
When performing a text search, the WebWorks Help 5.0 search engine follows a couple of guidelines designed to make the search more efficient and the results more helpful. By default, the minimum length of a word in the search results is 3 letters. ePublisher Designer also comes with a list of terms which appear commonly in many types of documents, and are therefore left out of search results. You can modify both the minimum length and the list of common words by performaing a target override on a file called locales.xml, located by default in the ePublisher Designer installation directory, here:
2024.1\Formats\Shared\common\locale
Because this file is in the Shared formats directory, your project folder hierarchy should look like this:
MyProject\Targets\MyWWHelpTarget\Shared\common\locale
To change the minimum number of letters in a WebWorks Help 5.0 search result:
1. Open locales.xml in an XML- or text-editing application (e.g., NotePad).
2. Find the Locale used by your project (default English is “en”).
3. Under the <Search> section, change the MinimumWordLength value to the desired number of characters in the shortest word the search should return.
To change the list of words which will not be returned in a WebWorks Help 5.0 search:
1. Open locales.xml in an XML- or text-editing application (e.g., NotePad).
2. Find the Locale used by your project (default English is “en”).
3. Under the <Search> section, modify the <StopWords> values to reflect the list of words which should not appear in your project’s search results.
Was this helpful?
Last modified date: 11/30/2021