欢迎各位朋友讨论如何做网站全文检索系统??200分相赠!!
首先把我自己的思路说下:
1、利用google
<table border="0" align="center" cellpadding="20" cellspacing="0">
<tr>
<TD>
<FORM action=http://www3.google.com/custom method=get>
<TABLE cellSpacing=0 border=0>
<TR>
<TD valign="absMiddle"><a href="http://www.webpromote.com.cn" target="_blank"><IMG height=20 width=54 alt=Google src="http://www.webpromote.com.cn/images/logo_googl_s.gif" border=0></a></TD>
<TD>
<INPUT maxLength=100 size=24 name=q>
<INPUT type=submit value=Google搜索 name=sa> <FONT size=-1>
<INPUT type=hidden value=www.yourname.com name=domains>
<BR>
<INPUT type=radio value="" name=sitesearch>
<FONT face=Arial, Helvetica, sans-serif size=-1>Web</FONT>
<INPUT type=radio CHECKED value=www.yourname.com name=sitesearch>
搜索本站 <INPUT type=hidden value=ZH-cn name=hl>
</TD>
</TR>
</TABLE>
</FORM>
</TD>
</tr>
</table>
2、直接对数据库搜索,这就需要把静态页面信息放入到数据库的一个表中;
3、自己做一个爬虫程序,利用这个爬虫程序把网站连接抓到数据表,然后直接对这个数据表进行搜索;
4、利用index server
以上只是从网上找到的一些解决方法,请大家批评,提出自己好的方法。谢谢!!!