为搜索应用程序创建入口点。
开发简单的. NET搜索应用程序。
值得庆幸的是,这里不缺搜索应用程序。
本文其余部分介绍了如何开始配置搜索应用程序。
The rest of this article describes how to start configuring the search application.
接下来我将介绍搜索应用程序的组件如何协同工作。
Next I'll describe how the components of the search application work together.
清单1展示了简化的Twitter搜索应用程序。
在图4中可以看到搜索应用程序由几个主要组件构成。
You can see in Figure 4 that the search application consists of several major components.
现在,您可以在浏览器中打开并运行新的搜索应用程序。
Now you can run the new search application by opening it in a browser.
OmniFind示例搜索应用程序的安装分为两个步骤。
Installation of the OmniFind sample search application is a two step process.
图2是该OmniFind搜索应用程序的一张屏幕截图。
Figure 2 presents a screen snapshot of the OmniFind search application.
该搜索应用程序中还使用了其他几个类,以提供不同的功能。
There are several other classes used in the search application that provide various functions.
这意味着您的搜索应用程序充当一个Web服务客户端。
This means that your search application will act as a web service client.
搜索应用程序将作为TwitterWeb服务的一个客户端。
The search application will act as a client of the Twitter web service.
为了理解该搜索应用程序的操作,首先需要了解Struts框架。
In order to understand the search application's operation, you need to first understand the Struts framework.
简而言之,Google将会拥有自己的手机旅游搜索应用程序。
But in short: Google will have its very own travel search app for mobile.
用户可以对产品信息进行搜索,然后在搜索应用程序中使用返回的信息。
Users can run a search against the product information and then can use the hits returned in their search application.
一旦在索引中添加了数据之后,搜索应用程序在与数据交互时至少有5种基本要求。
Once data is represented in an index, search applications typically have at least five basic needs when it comes to interacting with the data.
Lucene提供了灵活的接口使我们更加方便的设计我们的Web搜索应用程序。
Lucene provides a flexible interface so you can design your own Web search application.
通过提供一个接口类,可以支持该搜索应用程序所需的搜索操作的其他变体。
By providing an interface class, we can support other variations of the search operations required by the search application.
接下来,将要实现一个真实的位置搜索应用程序来处理用户查询和呈现搜索结果。
From here, a real local-search application will need to investigate how best to scale, handle user queries, and visualize the results.
图5显示了业务用户使用搜索应用程序与TwitterWeb服务交互时产生的事件序列。
Figure 5 shows the sequence of events that happens when a business user USES the search application to interact with the Twitter web service.
对于任何典型的搜索应用程序,这都是一个常用特性,Notes的内部设计轻松实现了该特性。
This is a commonly requested feature of a typical search application and is easily provided by the inherent design of Notes.
开发OmniFind .NET搜索应用程序的第一步是生成一个 .NET代理客户机。
The first step necessary for developing an OmniFind .NET search application is to generate a .NET proxy client.
例如,我们可能需要增强该搜索应用程序,以便对另一个不支持SIAPI接口的搜索产品进行搜索。
For example, we might want to enhance this search application to search against another search product that does not support the SIAPI interface.
如果用户不选择要搜索的集合,那么在默认情况下,该搜索应用程序将搜索所有可用的集合。
If the user does not select any collections to search, then the search application defaults to searching all available collections.
该搜索应用程序意图成为一个全功能的示例应用程序,以演示该产品所提供的强大搜索功能。
The search application is intended to be a fully functional sample application that demonstrates the powerful search capabilities that the product offers.
在完成本文之后,您应该掌握了足够多的信息,能够成功地定制该搜索应用程序,从而满足企业的特定需求。
Upon completion of the article, you should have enough information to successfully customize the search application to meet the specific needs of your enterprise.
在研究该示例搜索应用程序的技术细节之前,理解终端用户如何与该应用程序进行交互是很重要的。
Before exploring the technical details of the sample search application, it is important to understand how end users interact with the application.
如我在稍后展示的一样,正确地设置范围查询是提升空间搜索应用程序的查询性能的关键因素之一。
As I'll show later, setting this up effectively is one of the keys to performance for filtering in spatial-search applications.
如果你想利用Lucene来创建一个Web搜索应用程序,那么它的架构也和上面所描述的类似,就如图一中所示。
If you want to use Lucene to build a Web search application, the final architecture will be similar to that shown in Figure 1.
应用推荐