Administration: Omnidex Indexing
PowerSearch
Implementation Tips
The following tips are helpful when implementing PowerSearch in applications:
PowerSearch provides a more thorough search of the data, usually by increasing the number of search terms being used. For example, a query that would search for a given name of 'William' can be expanded to include “William, Bill, Billy, Will, Williams, Willie, Willis, Wilson”. Because of this, administrators should expect that a PowerSearch may take more time than a regular search. This is generally not noticeable until the search terms have been expanded by at least ten times.
When creating your own
custom synonym lists, it is generally recommended to restrain a search term to ten or less synonyms. This is not a requirement, and long synonym lists are allowed; however, adminstrators should expect an increase in search time as the synonym lists grow in size.
Administrators should be cautious about using multiple options in the same $CONTAINS function as it can have a multiplicative effect on the number of search terms. For example, using SYNONYMS for a given name of “William” produces the search terms, “William, Bill, Billy, Will, Williams, Willie, Willis, Wilson”. Using SYNONYMS and MISSPELLINGS combined produces the search terms of IN “William, Willian, Willia, Williams, Lilliam, Bill, Billi, Billy, Billye, Will, Willy, Willa, Williams, William, Willian, Willie, Willis, Wilson”. This is because the MISSPELLINGS is applied to each of the synonyms.
Administrators should be cautious about the order of the options used in a $CONTAINS function. For example, using options of “SYNONYMS=list, MISSPELLINGS” tells Omnidex to expand the search terms based on the synonym list, and then to search for the misspellings for each of the synonyms. Using options of “MISSPELLINGS, SYNONYMS=list” tells Omnidex to search for the misspellings of each of the synonyms and then search for the synonyms of each misspelling.
Additional Resources