求站内搜索代码

解决方案 »

  1.   

    select 要显示的条目 from 表 where 条目 like '%搜索的关键词%'
      

  2.   

    select * from  tab1 t where t.....
    union all 
    select * from  tab2 t where t.....
    union all
    .....................
      

  3.   

    偶用lucene做了一个全站搜索的东东,有详细的注释说明,楼主的要的话加我的MSN([email protected]),偶传给你
      

  4.   

    我MSN登不上去,能不能用邮箱给我发过来。
    E-mail:[email protected]谢谢!
      

  5.   

    用 LucXXXX 具体怎么拼忘了
      

  6.   

    lucene
    官方网站 http://lucene.apache.org/
    目前支持 java和python等 感觉不错的东西
      

  7.   

    lucene有个兄弟叫nutch,是专门干这个的。你可以直接用,在linux下配置也比较简单!