In MS SQL full-text search, I use ISABOUT in my queries.
For example, this should return the top 10 ProductIDs (PK) with the RANK field in the ProductDetails table
SELECT * FROM CONTAINSTABLE( ProductDetails, *, ISABOUT("Nikon" WEIGHT (1.0), "Cameras" Weight(0.9)), 10 )
However, according to the SQL documentation, ISABOUT deprecated.
So, I have two questions:
- What is replaced by
ISABOUT on? - REALLY I NEEDED any additional
SQL Command there? (IOW, would you just put the search phrase "Nikon Cameras" better?)
What I originally tried to accomplish here is the weighted first word, the highest, then the second word below, and continue to decline to 0.5, where I would simply rate the remaining words at 0.5.
My logic (and perhaps it was spoiled) was that people, the most relevant search words, usually occur at the beginning of a phrase (in English).
- Am I going about it wrong?
- Is there a better way?
- Am I asking too many questions? (^ _ ^)
Thank you all for your time ...
source share