The search bar module on your site is very important to your customer's shopping experience. It helps customers locate products that they want and brands they are interested in, as well as find categories which contain all of these items. For this tool to function properly, there are steps that are run in the background of our database to correctly store your site's product information so that it can be queried later.
There are two functions that the search features performs everyday:
- a complete index
- a partial index
Complete Index - Runs once per week and crawls our entire database collecting new keywords for new products and how it fits within your sitemap.
Partial Index - Runs 4 times a day and updates any products added or updated since the last index.
WSMU offers their clients, a search feature that indexes product fields in this order:
- title (Product Name)
- summary (Description)
- summary2 (Extended Description)
- meta (Meta Description, Title, Keywords)
- stockid (Your Stock#)
- dealerid (Dealer/Supplier#)
- wsmid (automatically input by WSM when product is added)
- remarks (Shipping Remarks)
- categories (Categories)
- tags (Tags)
- brand (Brand)
While the index function will search each of these fields for what the user enters into the search bar, there are some clues to using the search field as well:
- A space is not considered to be a word separator. Any search criteria that contains two words is not treated as two words by the database. For example, suppose we were trying to search for 'book ends'. If I searched for 'book', I would not pull up book ends because 'book ends' is not separated into "book" and "ends" by the database. Rather, it is treated as "bookends."
- The more relevant information you have in the meta or tag fields allows for more searchability. For instance, we know you cannot find 'Book Ends' by searching for 'Book', but if you input the words 'Book' and 'Ends' in the tags section then the search bar will find those keywords when it queries your search.