您的位置:首页 > 其它

FULL TEXT SEARCH

2014-11-21 10:30 225 查看
1.



During data access through Information Access Service, Fuzzy Search queries are routed to the search engine, while linguistic processing is handled by the text proccessor.

2.



For data type TEXT and SHORTTEXT, the index creation is done during table creation, for data type VARCHAR NVARCHAR or CLOB and index has to be created manually post table creation.

Full text indexes can not be created DATE data type columns.

The syntax used to enable Full Text index on TEXT and SHORTTEXT is the following:



it is currently not possible to change these settings at a later point in time by using ALTER TABLE command.

The syntax used to enable Full Text index on VARCHAR, NVARCHAR or CLOB is following:



this can be changed at a later point in time bu using ALTER FULLTEXT INDEX command.

3.

You call Fulltext Search by using the CONTAINS() function in the where-clause of a select statement.

Without the Fuzzy option the search will only return results that contain the exact phrase searched for.



you can call the fuzzy search by using the CONTAINS() function with the FUZZY() option in the WHERE-clause of a select statement.



if set to for example 0.6, no matches lowere than 0.6 will be returned. Default is 0.8.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: