官术网_书友最值得收藏!

Installing Lucene

This section will show you what you need, in order to get started with Lucene.

How to do it...

First, let's download Lucene. Apache Lucene can be downloaded from its official download page. As of now, the latest version of Lucene is 4.10. Here is the link to the official page of Lucene: http://lucene.apache.org/core/

The Download button will take you to all available Apache mirrors where you can download Lucene.

Lucene's index contains {lucene version}.zip or {lucene version}.tar.gz, including the Lucene core library, HTML documentation, and demo application. Meanwhile, {lucene version-src}.zip or {lucene version-src}.tar.gz contains the source code for that particular version.

The following is a sample of what the download page looks like:

How it works…

Lucene is written entirely in Java. The prerequisite for running Lucene is Java Runtime Environment. Lucene runs on Java 6 or higher. If you use Java 7, make sure you install update 1 as well. Once your download is complete, you can extract the contents to a directory and you are good to go. In case you get some errors, the links to the FAQ and mailing list of Lucene users is as follows:

Mailing List:

http://lucene.apache.org/core/discussion.html

FAQ:

http://wiki.apache.org/lucene-java/LuceneFAQ

主站蜘蛛池模板: 平乐县| 大庆市| 瑞金市| 耒阳市| 乃东县| 沙坪坝区| 封开县| 平山县| 宕昌县| 东乌| 乌拉特前旗| 长岭县| 四川省| 贵德县| 阿瓦提县| 中西区| 柘荣县| 平舆县| 东方市| 四平市| 马关县| 横峰县| 潼关县| 洞头县| 河北省| 米林县| 绥棱县| 玛多县| 平阳县| 秦安县| 石家庄市| 聂拉木县| 于都县| 吉林市| 叶城县| 聂拉木县| 福贡县| 尼玛县| 荆门市| 靖江市| 凭祥市|