类似百度查询结果 请教高手!!!!! 这个最近我也在做..但做了一下...感觉做不出google的或阿里巴巴的那种情况...能做出那种技术都可以直接进阿里巴巴或google上班了...所以最后只好选择模糊查询办法...其实也还不错..技术能力有限..没办法... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 就是查询那些相关记录的相关信息,比如内容,id,标题之类的,然后在通过一定的表现形式输出就行了比如,查出来你条记录, <bean:define id="qtSdInfoList" name="listSdInfoForm" property="qtSdInfoList" /> <logic:iterate id="info" name="qtSdInfoList"> <tr class="uet"> <td class="p1"><a href="http://localhost:8080/vi/c1/demand/detail-${info.infoId}.html"><img src='${info.sumpic0}'/></a></td> <td class="p2"><div class="t"><a href="http://localhost:8080/vi/c1/demand/detail-${info.infoId}.html" target="_blank">${info.showName}</a><span class="time">[ <bean:write name="info" property="infoStartDate" format="MM-dd HH:mm"/> ]</span></div> <div class="c"><span class="company"><a href="http://localhost:8080/vi/membersite/${info.co.username}.html">${info.co.qymc}</a></span></div> <div class="newbutton"> <a href="http://localhost:8080/vi/c1/demand/detail-${info.infoId}.html" target="_blank"> <bean:message key="infodetailpage.nav.offer.leaf"/> </a><a href="http://localhost:8080/vi/member/${info.co.username}.html" target="_blank" style="width:80px;"> <bean:message key="label.index.subject5"/> </a> </div></td> <td class="p3">${info.co.area1sn}</td> <td class="p4">9</td> </tr> <!--uet end--> </logic:iterate>将这些记录循环显示,给每个标题加链接,就是改信息的详细页面的链接,在显示内容的地方加个限制,截取字符就行了。 上面的链接用到urlrewrite技术。 这个不用自己去写,嵌入Google搜索引擎,就可以通过Google对本站点实行搜索了 呵呵,这个就是Google无处不在,看看现在很多的网站就知道了,都有内嵌的Google搜索,具体的肯定是算法相关。这个需要深沉次的研究,楼主得去请教高人了。 LUCENE可以实现搜索功能可以了解一下 恩我只是,把开头给做了下,因为我只需要,他的查询返回来的内容,也不是太难啦就看你自己的基本功啦。。楼主给多少分,给的多的话,可以考虑把查询给你。。给多少MONEY,给的多的话,可以给你做个全的。(*^__^*) 嘻嘻…… 另外补充一点,内嵌搜索引擎的我试验了三个。baidu,google,yahoo,效果很差,远不如自己写的查的准确,站内搜索要查找所有信息,而不能局限于个别页面,如果有需要的话和我联系,源码+讲解,再次鄙视11楼,记住会编程的不只是你,更何况你不一定编的有多好~~~~~ 怎么用ibatis 调用存储过程返回结果集? XStream xml转化成java对象时..当节点值为空 怎么在eclipse中布置和访问ejb2 20年后有多少头母牛? 请问一下怎么喊工资啊 求一个思路! Spring + OpenJpa 错误,菜鸟求助!! 有谁知道:extends DispatchAction后如何写validation.xml中的<form name=""> 救命啊......(毕业设计) Java接口和抽象类 Spring + Sturts2 问题,Action调用失败 EJB中哪些客户端可以使用依赖注入
比如,查出来你条记录, <bean:define id="qtSdInfoList" name="listSdInfoForm" property="qtSdInfoList" />
<logic:iterate id="info" name="qtSdInfoList">
<tr class="uet">
<td class="p1"><a href="http://localhost:8080/vi/c1/demand/detail-${info.infoId}.html"><img src='${info.sumpic0}'/></a></td>
<td class="p2"><div class="t"><a href="http://localhost:8080/vi/c1/demand/detail-${info.infoId}.html" target="_blank">${info.showName}</a><span class="time">[
<bean:write name="info" property="infoStartDate" format="MM-dd HH:mm"/>
]</span></div>
<div class="c"><span class="company"><a href="http://localhost:8080/vi/membersite/${info.co.username}.html">${info.co.qymc}</a></span></div>
<div class="newbutton"> <a href="http://localhost:8080/vi/c1/demand/detail-${info.infoId}.html" target="_blank">
<bean:message key="infodetailpage.nav.offer.leaf"/>
</a><a href="http://localhost:8080/vi/member/${info.co.username}.html" target="_blank" style="width:80px;">
<bean:message key="label.index.subject5"/>
</a> </div></td>
<td class="p3">${info.co.area1sn}</td>
<td class="p4">9</td>
</tr>
<!--uet end-->
</logic:iterate>将这些记录循环显示,给每个标题加链接,就是改信息的详细页面的链接,在显示内容的地方加个限制,截取字符就行了。
具体的肯定是算法相关。这个需要深沉次的研究,楼主得去请教高人了。
因为我只需要,他的查询
返回来的内容,也不是太难啦
就看你自己的基本功啦。。楼主给多少分,给的多的话,可以考虑把查询给你。。
给多少MONEY,给的多的话,可以给你做个全的。
(*^__^*) 嘻嘻……