增加“页面搜索”能力。
用户发起网络页面搜索请求。
从一开始我们就意识到,要实现全面搜索,就不能只停留在页面搜索。
From the outset, we realized that to have comprehensive search we would have to venture beyond web pages.
我们让每个工具使用Random页面搜索完整的名称列表,然后选择任意一本书。
We had each tool use the random page to search through the complete title list, and then select one random book.
而仅仅过了5年,到了1998年,web页面数量已经数以千万计了,这个时候页面搜索就变得非常关键了。
Just five years later, in 1998, web pages numbered in the tens of millions, and search became crucial.
微软刚刚推出了PageHunt游戏,它会给玩家显示一个网页页面,然后要求玩家猜测关键词,以便将这些页面搜索到。
Microsoft just launched Page Hunt, a game that presents web pages to players and asks that they guess key words to hunt them down.
您可能想添加一个预搜索——您定义的一个搜索词——当用户加载您的页面时,将首先出现预搜索结果。
You might want to add a pre-search—a search term that you define—the results of which will first come up when a user loads your page.
如果搜索结果页面是公共的,则您可以直接看到它。
在下一节我们将使用这个jsp来构建一个搜索页面。
这一点很重要,因为此代码的第一项功能就是在整个页面内搜索可切换的元素。
This is important, because the first thing the code does is search through the page for swappable elements.
然后,访问这个URL,并在产生的页面中搜索所指定的字符串。
It then accesses the URL and searches for the specified string in the resulting page.
当然,您可以使用其他语言来提供本文展示的搜索页面。
Of course, you can use other languages to provide a search page as presented in this article.
一旦单击链接,就会在新页面上显示搜索。
Once the link is clicked, the search is displayed on a new page.
新的数据被追加到表的末尾,而不是在已有的页面上搜索空闲空间。
New data is appended to the end of the table instead of searching for free space on existing pages.
因为本文讲述如何构建搜索页面,所以在客户端需要有一个页面(参见清单1)来充当搜索工具的用户界面。
Because this article is about building a search page, you need a page on the client side (see Listing 1) to act as the user interface for the search facility.
请看清单4所示的搜索页面。
滑到搜索结果页面底部便可以找到那链接。
Scroll down to the bottom of the search results page to find the link.
如果你点击麦田怪圈的标识,它会将你带到到麦田怪圈的搜索页面。
If you click on the crop circle icon, it brings up a search for crop circles.
图10搜索结果页面,带有过滤选项。
它不能在客户端对页面进行排序和搜索。
第一个完成的搜索页面,外观如图1所示。
The first completed search page will look like that shown in Figure 1.
搜索页面标记是一个类似过程。
谷歌则受益于中国网站的流量增长,其可以在网站的音乐搜索页面上销售搜索广告。
Google benefits from increased traffic on its Chinese site, and can sell search ads on the music search pages on its site.
显然,执行一次搜索之后,页面看上去好多了。视频、博客和搜索结果使页面更加美观。
Obviously, the page looks a whole lot better once you do a search; the video, blogs, and search results give the page a nicer look.
在某种程度上,所有显示搜索结果页面摘要的搜索引擎所做的都是相同的事情。
In a way, all the search engines that present little synopses of the pages they find for a search do the same thing.
使用SQL语言来筛选结果得到的搜索页面。
IBMSupportWeb站点中特定页面上的搜索框。
Search box on a particular page in the IBM Support web site.
第8行的语句在页面中搜索包含文本Cookbook的Web链接。
The statement in line 8 searches the page for a Web link that contains the text Cookbook.
jsp:提供搜索主页面。
则受益于中国网站的流量增长,其可以在网站的音乐搜索页面上销售搜索广告。
Benefits from increased traffic on its Chinese site, and can sell search ads on the music search pages on its site.
应用推荐