提交 b924508d authored 作者: Thomas Mueller Graf's avatar Thomas Mueller Graf

Documentation

上级 c5fd0351
......@@ -123,16 +123,11 @@ To create the file <code>h2client.jar</code>, go to the directory <code>h2</code
build jarClient
</pre>
<h3>Using Lucene 2 / 3</h3>
<h3>Using Apache Lucene</h3>
<p>
Both Apache Lucene 2 and Lucene 3 are supported.
Currently Apache Lucene version 2.x is used by default for H2 version 1.2.x,
and Lucene version 3.x is used by default for H2 version 1.3.x.
To use a different version of Lucene when compiling, it needs to be specified as follows:
Apache Lucene 3.0.2 is used for testing.
Newer versions may work, however they are not tested.
</p>
<pre>
build -Dlucene=2 clean compile
</pre>
<h2 id="maven2">Using Maven 2</h2>
<h3>Using a Central Repository</h3>
......
......@@ -1242,11 +1242,11 @@ org.h2.fulltext.FullText.search(conn, text, limit, offset);
org.h2.fulltext.FullText.searchData(conn, text, limit, offset);
</pre>
<h3>Using the Lucene Fulltext Search</h3>
<h3>Using the Apache Lucene Fulltext Search</h3>
<p>
To use the Lucene full text search, you need the Lucene library in the classpath.
Currently Apache Lucene version 2.x is used by default for H2 version 1.2.x,
and Lucene version 3.x is used by default for H2 version 1.3.x.
To use the Apache Lucene full text search, you need the Lucene library in the classpath.
Currently, Apache Lucene 3.0.2 is used for testing.
Newer versions may work, however they are not tested.
How to do that depends on the application; if you use the H2 Console, you can add the Lucene
jar file to the environment variables <code>H2DRIVERS</code> or
<code>CLASSPATH</code>.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论