We'll use Apache Lucene to do this.
我们将使用ApacheLucene来实现这一点。
Building applications using lucene.
使用Lucene构建应用程序。
Lightning fast Lucene in-memory indexing.
极快的Lucene内存索引。
Indexing spatial information in lucene.
在Lucene中为空间数据建立索引。
StoreStats: Lucene Storage directory instances.
存储统计数据:Lucene存储架构的目录实例(directory instance)。
The lightning fast, RAM-based, Lucene implementation.
速度极快、基于RAM的Lucene实现。
Unzip the file (or run tar -xvzf lucene-2.2.0.tar.gz).
解压缩文件(或运行tar -xvzf lucene-2.2.0.tar.gz)。
To solve this problem, Lucene holds a buffer in the RAM.
为了解决这个问题,Lucene在内存中持有一块缓冲区。
But how can you control the buffer that Lucene USES?
但我们如何控制Lucene的缓冲区呢?
Lucene USES an inverted index as its index structure.
Lucene正是使用了反向索引作为其基本的索引结构。
Lucene lets you index any data available in textual format.
Lucene允许您为任何文本格式的数据编制索引。
As before, this script makes use of several Lucene classes.
和前面一样,此脚本使用了多个lucene类。
Lucene offers two main services: text indexing and text searching.
Lucene主要提供了两个服务:文本索引,文本检索。
Lucene: Get complete information on Lucene, including downloads.
Lucene:获取关于Lucene的完整信息,包括下载。
The Lucene QueryParser provides an easy way to parse query strings.
LuceneQueryParser提供了解析查询字符串的简单方法。
To start using it, one needs to know only a few Lucene classes and methods.
你仅需要知道一些Lucene类和方法就可以踏上使用的道路了。
Lucene is a wonderful search engine, used by many applications successfully.
Lucene是相当不错的搜索引擎,在很多项目中应用成功。
Get Luke: a very handy tool for examining the contents of a Lucene index.
获取Luke:一种检查Lucene索引的便捷工具。
Lucene is not a crawling search engine, nor does it automatically index content.
Lucene并不是一个爬行搜索引擎,也不会自动地索引内容。
Lucene 2.9 added two new features that play an important role in spatial search.
Lucene 2.9添加了两个在空间搜索方面起到重大作用的新特性。
You'll see that the Lucene developers are very well mannered and get no results.
你会看到Lucene开发者们考虑非常周到,提示你没有搜索结果。
I'll show you step by step how to create an index for your documents with Lucene.
接下来我将一步一步的来演示如何利用Lucene为你的文档创建索引。
It should be noted that while Lucene is a search engine, it has no crawling capability.
需要注意的是,虽然Lucene是一个搜索引擎,但它没有爬行能力。
For each document retrieved, Lucene must seek to a different location in various files.
每个文档的取回,lucene都必须去索引文件中不同的地方甚至是不同的文件中查找。
Lucene provides a flexible interface so you can design your own Web search application.
Lucene提供了灵活的接口使我们更加方便的设计我们的Web搜索应用程序。
Lucene has a powerful query syntax that can support a wide variety of search terms.
Lucene提供了强大的查询语法,能够支持各种搜索术语。
Learn about Apache Solr, an open source search server based on the Lucene search library.
学习ApacheSolr,这是一种基于Lucene搜索库的开源服务器。
Lucene supports field search. You can specify the fields that a query will be executed on.
Lucene支持域搜索,你可以指定一次查询是在哪些域(Field)上进行。
With that upgrade, the Lucene component gained three powerful advanced-search options.
通过这一升级,Lucene组件获得了三种强大的高级搜索选项。
The code lives in contrib/spatial of Lucene; I've included the JAR file with the sample code.
(该代码位于Lucene的 contrib/spatial;我已经在样例代码中包含了JAR文件)。
应用推荐