CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - AT Sample code
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
ASP
ASPX.NET
PHP
JSP/Java
FlashMX
Perl
Other Web Code
SilverLight
Search - AT Sample code - List
[
WEB Code
]
znmhss
DL : 0
一个站内使用模糊查询的ASP实例,可用于asp 站内搜索,可把匹配的关键词排在前面,关键词可以模糊匹配,就像是百度搜索一样。实现思路:1、利用分词技术,先把关键词拆分为多个词组。2、数据库标题字段完全匹配关键字的排在前面,数据库标题字段模糊匹配关键字中多个词组的分别排在后面。3、数据库内容字段完全匹配关键字的也排在后面。具体请参见ASP代码示例文件-Examples of fuzzy query using ASP in a station that can be used to search within the asp station, the top surface of the matching keyword, keyword can be fuzzy matching, like Baidu search the same. Realization of ideas: 1, the use of word segmentation, first split into multiple keyword phrases. 2, the database header fields exactly match the top surface of keywords, database header fields in multiple fuzzy matching keyword phrases are at the back. 3, an exact match keyword database content field also at the back. For details, see ASP code sample files
Date
: 2025-12-17
Size
: 68kb
User
:
spudn29
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.