Home > Database > Mysql Tutorial > sqlserver 2005 关于全文索引中使用同义词库

sqlserver 2005 关于全文索引中使用同义词库

WBOY
Release: 2016-06-07 15:07:41
Original
1338 people have browsed it

同义词 库 XML ID="Microsoft Search Thesaurus" thesaurus xmlns="x-schema:tsSchema.xml" diacritics_sensitive0/diacritics_sensitive expansion sub@keyword1/sub sub@keyword2/sub /expansion expansion sub每日任务是什么?/sub submeirirenwu/sub /ex

同义词

 

   
 0
       
            @keyword1
            @keyword2
       

       
            每日任务是什么?
            meirirenwu
       

   

 

select * from freetexttable(tablename,column1,@keyword1)

select * from freetexttable(tablename,column1,@keyword2)

 

产生的结果集个数相同,但两者产生的rank没有可比性

 

以下粘贴子连接文档中有关同义词以及排名(rank)的信息

1.系统将通过同义词库对 freetext_string 字符串进行断字处理、词干分析,然后执行同义词库查询。

2.FREETEXT 查询将通过派生词(原始查询词的变形)向查询中添加词,这些词将被作为单独的、与派生出它们的词没有特殊联系的词来处理。同义词库功能派生出的同义词将被当作单独的、具有同等加权值的词来处理。查询中的每个词都会对排名产生影响。

 

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template