如何实现全文检索?

<%@ LANGUAGE="VBscript" %>
  
  
  
  
  </span><span style="FONT-FAMILY: 宋体; mso-bidi-font-size: 9.0pt; mso-ascii-font-family: ' '; mso-hansi-font-family: ' '">星河影动之全文检索</span><span style="FONT-FAMILY: ' '; mso-bidi-font-size: 9.0pt">
  


  

<%
  mousepointer=13
  Set Conn1 = Server.CreateObject("ADODB.Connection")
  conn1.open "DSN=intels"
  Set rcst1 = conn1.execute("select * from pages_catalogue")
  sch_str=request.form("text1")
  doubbytes=len(sch_str)\2
  sch_str=left(sch_str,doubbytes)

' 匹配字串的长度.预处理Request取得的数据(用户输入的有用信息), 通过计算有效信息长度来截取所需的字串.我们也可以在输入字串后附加一标志字符(如#chr(7))来处理.
  Response.Write "

检索结果

"
  Dim result
  result =false
  Response.Write ""

' 符合条件的文件标题以超级链接形式输出到客户端.
  if not result then
  Response.Write "对不起,没有找到!"
  end if
  mousepointer=0
  %>
  
  

[1]

你可能感兴趣的:(如何实现全文检索?)