Announcement

Collapse
No announcement yet.

Power Search - Relevance of complete word versus subtring

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

    Power Search - Relevance of complete word versus subtring

    I've noticed when working with the Emporium Plus Power Search module, that products that match the complete word searched don't get boosted in the results above those products that have the word searched as part of another word.

    For example:

    Say I searched on the word "cat".

    The results might return products that contain any of these words:

    cat
    catalog
    catch
    category
    catering
    etc

    Ideally the resultset would show the ones that contain the word "cat" as its own word, above those that only list "catalog" or "catch" or any of the others but don't have "cat" as a separate word.

    I don't see a way to fix that. Is there one?

    Thanks,
    Susan Petracco
    Last edited by netblazon; 06-25-15, 06:34 PM.
    Susan Petracco
    NetBlazon

    1.866.400.2444

    _____________________________________________

    Like us on Facebook

    #2
    Re: Power Search - Relevance of complete word versus subtring

    If you are using the MySQL FULLTEXT search in power search, it won't push cat up because a 3 or less letter word may not be relevant to mysql. The keyword scoring of MySQL has a bunch of rules you can read about. Google it. Power Search is simply running a built in FULLTEXT search which has many different variables in its scoring.

    Also, if you look at the Power Search doc, you'll see I created a handy variable that you can display in your testing so you can better understand the keyword scoring of each record displayed. Then when you understand it, remove its display or hide from view with html tags.
    Last edited by wcw; 06-26-15, 03:23 AM.
    Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
    Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
    Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
    Facebook http://www.facebook.com/EmporiumPlus
    Twitter http://twitter.com/emporiumplus

    Comment


      #3
      Re: Power Search - Relevance of complete word versus subtring

      Thank you Bill, I will check that out. That does explain a problem my client is seeing! "cat" was only an example but it is a 3-letter word. (And I have a few 4-letter words I'm about to utter...LOL)
      Susan Petracco
      NetBlazon

      1.866.400.2444

      _____________________________________________

      Like us on Facebook

      Comment


        #4
        Re: Power Search - Relevance of complete word versus subtring

        Bill, do you happen to recall which mode the query runs in: boolean, natural language (default if not specified), query expansion?
        Susan Petracco
        NetBlazon

        1.866.400.2444

        _____________________________________________

        Like us on Facebook

        Comment


          #5
          Re: Power Search - Relevance of complete word versus subtring

          Don't know.
          Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
          Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
          Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
          Facebook http://www.facebook.com/EmporiumPlus
          Twitter http://twitter.com/emporiumplus

          Comment

          Working...
          X