freetexttable

Full-text Search Using Freetexttable Failing on Noise Words - SQL Server 2008 R2 Transform Noise Words not working

喜欢而已 提交于 2019-12-25 03:56:57
问题 I am running a full-text search for my site using SQL Server 2008 R2 and freetexttable. I am getting this error when a stop word is entered: Informational: The full-text search condition contained noise word(s). So I did what everyone said to do and turned on the Transform Noise Words so the stop/noise words are ignored and the query can continue. But this changed nothing: sp_configure 'show advanced options', 1; RECONFIGURE; GO sp_configure 'transform noise words', 1; RECONFIGURE; GO I still

Why or How does FREETEXTTABLE give a rank value higher than others

醉酒当歌 提交于 2019-12-02 10:27:19
问题 There is a store procedure that uses FREETEXTTABLE twice on two tables and then merges the results and returns the top 50. The problem is if I do a search on "Women of Brewster", the results returns "Confession of an ex doofus motha" with a rank of 143 from table A and second "Women of Brewster Place" with a rank of 102 from table B. Is this because of the count? (Table A return results total is 2399. Table B return results total is 3445.) 回答1: The short answer: Freetext ranking is based on

Why or How does FREETEXTTABLE give a rank value higher than others

好久不见. 提交于 2019-12-02 05:55:45
There is a store procedure that uses FREETEXTTABLE twice on two tables and then merges the results and returns the top 50. The problem is if I do a search on "Women of Brewster", the results returns "Confession of an ex doofus motha" with a rank of 143 from table A and second "Women of Brewster Place" with a rank of 102 from table B. Is this because of the count? (Table A return results total is 2399. Table B return results total is 3445.) The short answer: Freetext ranking is based on the OKAPI BM25 ranking formula. Each term in the query is ranked, and the values are summed. Freetext queries

FREETEXTTABLE always has a rank of 0

假如想象 提交于 2019-11-30 20:14:59
I'm using SQLServer 2008 and if I perform the following query: SELECT * FROM FREETEXTTABLE(SomeTable, Name, 'a name that I know exists') I get the rows back that I would expect, but the rank is always 0. Searching for a solution to this problem, I found this question on the Microsoft ASP.NET forum, and sure enough if I add: ALTER FULLTEXT CATALOG MyCatalog REBUILD I start to get a rank - but only temporarily. I don't want to have to rebuild my catalog every time I do a search especially when I have lots of data in my database and if I add it to my Sproc directly before the query, my query

FREETEXTTABLE always has a rank of 0

余生颓废 提交于 2019-11-30 03:56:57
问题 I'm using SQLServer 2008 and if I perform the following query: SELECT * FROM FREETEXTTABLE(SomeTable, Name, 'a name that I know exists') I get the rows back that I would expect, but the rank is always 0. Searching for a solution to this problem, I found this question on the Microsoft ASP.NET forum, and sure enough if I add: ALTER FULLTEXT CATALOG MyCatalog REBUILD I start to get a rank - but only temporarily. I don't want to have to rebuild my catalog every time I do a search especially when