Thesaurus versus User DictionaryBy Ryan Weisenberger Manager, Software Development You can also use the <noshow> element if you do not want the term suggested as an alternative, but want it to display the other terms if searched for. After making these changes you'll need to restart Ultraseek. Stemming and the User Dictionary The user dictionary, on the other hand, is used to tell the indexer that two words should be treated the same. While this sounds a lot like synonyms, there is a subtle difference. The user dictionary makes the connection between the terms invisible to the user, so you are in essence tricking them. They think they are searching for one term, but you give them the results from another. This can be a little confusing, and it should not be used instead of the thesaurus. So when should you use the user dictionary? The user dictionary is meant to supplement the linguistic capabilities of Ultraseek. For example, the search engine can automatically map a plural word to its singular form. This way, a search for "geese" will match documents that contain "goose." You may have a word on your site that can be plural, but does not appear in a standard dictionary. A good example of this is a product name. In that case, you can enter the plural form of the word in the user dictionary, along with its singular counterpart, so that Ultraseek knows to treat these words as the same. To add a word to the English user dictionary, edit the en.usr in the /language directory. The correct format is WORD,ROOT:w. The entry below maps the plural of webserver to the correct singular form. webservers,webserver:w After making this change, you must restart Ultraseek, and reindex your content, before you will see it fully take effect. Posted August 2, 2005 08:08 AM by editor
|
CategoriesArchivesRecent EntriesTuning the Search Relevance on Your Site? 'Richer Suite of Functionality' Fueling Your Business Search Engine to Find the Right Answers Resources |