Announcement

Collapse
No announcement yet.

Search Suggestions, Index full product names only

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Search Suggestions, Index full product names only

    Hi,

    I was wondering if anyone knows an easy way to have the search suggestions only work for full product names including spaces.

    Let's say a product existed called "my product name"

    At the moment if I start to type in "produ" it will simply suggest "product"

    Is it possible to have it suggest "my product name"?

    Any help appreciated.
    www.simonstaton.co.uk

    #2
    I think the search function only starts at the beginning. There have been a few other threads related to this, a search might bring them up.

    Comment


      #3
      Okay I will have a look around, thanks Duncan
      www.simonstaton.co.uk

      Comment


        #4
        This isn't really possible.

        The word index contains individual words. There's no context associated with them, so it doesn't know that "product" is next to "my" etc. Doing phrase searching is difficult.

        However, the words that are suggested are given in order of relevance. Words in product titles are more relevant, and if they occur often that also increases their relevance. So, if you had the word "previous" in product descriptions, that would have a lower relevance than "product". Therefore after typing "pr" the suggestions would be "product, previous".

        Therefore the user is guided towards words that are more relevant to your product titles.

        You may want to tweak the defaults for Quick Search. In particular check if the TB value in the layout is "O" or "A". "O" (OR) means find products containing Any of the words. "A" (AND) means find products containing All of the words. It's in the layout "Standard Quick Search Bar" and is a hidden input field.

        So, with a standard site in First Maintenance release (12.0.2) if you search on "gold heart" you will get hits for products with just the word "gold", as "O" is the default. Changing it to "A" gives fewer results. The customer has the option to do this after doing a quick search because this setting is offered to them on the search page by default ("Look for products containing O all @ any of the above words").

        We made "O" the default so that if a customer entered words which were found in your shop (as guided by auto-suggest) they would always get some search results.
        Hugh Gibson
        CTO - Sellerdeck, part of ClearCourse

        Comment

        Working...
        X