文件名称:test
-
所属分类:
- 标签属性:
- 上传时间:2013-09-17
-
文件大小:73.19kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
分享一段asp站内类似百度引擎的模糊搜索代码
早在N年前就有网友问过:类似百度的站内模糊搜索怎样才能实现?最近工作需要,做了一个 asp 站内搜索。要求完全匹配的关键词要排在前面,关键词要模糊匹配。在网上搜了半天没有找到需要的代码,只好自己编写,现在分享给有需要的人。
功能介绍:
1、利用分词技术,先把关键词拆分为多个词组。如:“搜索炼药师”,拆分为:“搜索”、“索炼”、“炼药”、“药师”等多个词组。
2、如:数据库标题字段完全匹配“搜索炼药师”的排在前面,数据库标题字段模糊匹配“搜索”、“索炼”、“炼药”、“药师”等多个词组的分别在后面展示。
3、如:数据库内容字段完全匹配“搜索炼药师”的展示出来也排在后面。-Share some asp station fuzzy search engines like Baidu code N years ago, there are users as early as asked: Similar to Baidu' s station fuzzy search How can we achieve? Recent work requirements, do a search for asp station. Requires an exact match to the top surface of keywords, keyword to fuzzy matching. Search the web for a long time did not find the necessary code, had to write your own, and now share with people in need. Features: 1, the use of word segmentation, first split into multiple keyword phrases. Such as: " Search refining pharmacists" , split into: " Search" , " cable refining" , " mixing drugs" , " pharmacist" and other phrases. 2, such as: Database header field exactly matches " Search refining pharmacists," the top surface, the database header field fuzzy matches " Search" , " cable refining" , " mixing drugs" , " pharmacist" and other phrases were showing in the back . 3, such as: da
早在N年前就有网友问过:类似百度的站内模糊搜索怎样才能实现?最近工作需要,做了一个 asp 站内搜索。要求完全匹配的关键词要排在前面,关键词要模糊匹配。在网上搜了半天没有找到需要的代码,只好自己编写,现在分享给有需要的人。
功能介绍:
1、利用分词技术,先把关键词拆分为多个词组。如:“搜索炼药师”,拆分为:“搜索”、“索炼”、“炼药”、“药师”等多个词组。
2、如:数据库标题字段完全匹配“搜索炼药师”的排在前面,数据库标题字段模糊匹配“搜索”、“索炼”、“炼药”、“药师”等多个词组的分别在后面展示。
3、如:数据库内容字段完全匹配“搜索炼药师”的展示出来也排在后面。-Share some asp station fuzzy search engines like Baidu code N years ago, there are users as early as asked: Similar to Baidu' s station fuzzy search How can we achieve? Recent work requirements, do a search for asp station. Requires an exact match to the top surface of keywords, keyword to fuzzy matching. Search the web for a long time did not find the necessary code, had to write your own, and now share with people in need. Features: 1, the use of word segmentation, first split into multiple keyword phrases. Such as: " Search refining pharmacists" , split into: " Search" , " cable refining" , " mixing drugs" , " pharmacist" and other phrases. 2, such as: Database header field exactly matches " Search refining pharmacists," the top surface, the database header field fuzzy matches " Search" , " cable refining" , " mixing drugs" , " pharmacist" and other phrases were showing in the back . 3, such as: da
(系统自动生成,下载前可以参看下载内容)
下载文件列表
data.mdb
index.asp
search.asp
conn.asp
index.asp
search.asp
conn.asp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.