Best Bets Matching All Keywords
Posted: Fri Sep 23, 2005 2:09 pm
I recently read a post that discusses exactly that topic: http://thunderstone.master.com/texis/ma ... 42cc345d10
But unfortunately, there are too few details in it. So, as the folks from the link above, we want the best bet feature to return results only when ALL words in keywords column are present in the query.
The current search script would display a best bets item if any one of the search query keywords is within the best bets keyword field, which is a problem since we want to show the best bets item only on a specific combination of keywords entered.
The messages below give the solution, but I am not familiar with the LIKEIN operator, nor with the more complicated "Metamorph Index".
How is the index created? And which part of the search script needs to change to incorporate the LIKEIN operator?
2 John 2005-05-18 11:43
In the query against the bestbet table use LIKEIN, and create a metamorph counter index on it.
-------------------
Thank you for the help!!!
But unfortunately, there are too few details in it. So, as the folks from the link above, we want the best bet feature to return results only when ALL words in keywords column are present in the query.
The current search script would display a best bets item if any one of the search query keywords is within the best bets keyword field, which is a problem since we want to show the best bets item only on a specific combination of keywords entered.
The messages below give the solution, but I am not familiar with the LIKEIN operator, nor with the more complicated "Metamorph Index".
How is the index created? And which part of the search script needs to change to incorporate the LIKEIN operator?
2 John 2005-05-18 11:43
In the query against the bestbet table use LIKEIN, and create a metamorph counter index on it.
-------------------
Thank you for the help!!!