提交 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 ...@@ -123,16 +123,11 @@ To create the file <code>h2client.jar</code>, go to the directory <code>h2</code
build jarClient build jarClient
</pre> </pre>
<h3>Using Lucene 2 / 3</h3> <h3>Using Apache Lucene</h3>
<p> <p>
Both Apache Lucene 2 and Lucene 3 are supported. Apache Lucene 3.0.2 is used for testing.
Currently Apache Lucene version 2.x is used by default for H2 version 1.2.x, Newer versions may work, however they are not tested.
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:
</p> </p>
<pre>
build -Dlucene=2 clean compile
</pre>
<h2 id="maven2">Using Maven 2</h2> <h2 id="maven2">Using Maven 2</h2>
<h3>Using a Central Repository</h3> <h3>Using a Central Repository</h3>
......
...@@ -1242,11 +1242,11 @@ org.h2.fulltext.FullText.search(conn, text, limit, offset); ...@@ -1242,11 +1242,11 @@ org.h2.fulltext.FullText.search(conn, text, limit, offset);
org.h2.fulltext.FullText.searchData(conn, text, limit, offset); org.h2.fulltext.FullText.searchData(conn, text, limit, offset);
</pre> </pre>
<h3>Using the Lucene Fulltext Search</h3> <h3>Using the Apache Lucene Fulltext Search</h3>
<p> <p>
To use the Lucene full text search, you need the Lucene library in the classpath. To use the Apache 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, Currently, Apache Lucene 3.0.2 is used for testing.
and Lucene version 3.x is used by default for H2 version 1.3.x. 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 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 jar file to the environment variables <code>H2DRIVERS</code> or
<code>CLASSPATH</code>. <code>CLASSPATH</code>.
......
...@@ -776,5 +776,5 @@ huff frequencies freq frequency divisors asymmetric ideal nth prob ans ...@@ -776,5 +776,5 @@ huff frequencies freq frequency divisors asymmetric ideal nth prob ans
bradmesserle dan incorporated keegan industries tagtraum cyr israels rafel bradmesserle dan incorporated keegan industries tagtraum cyr israels rafel
dance schedule hitting reverted youngest footers inliner deadlocked reorder nger dance schedule hitting reverted youngest footers inliner deadlocked reorder nger
nullid syspublic sysibmts sysibminternal syscat sysfun sysstat systools sysibmadm nullid syspublic sysibmts sysibminternal syscat sysfun sysstat systools sysibmadm
sysproc jcc expecting gpg showed sysproc jcc expecting gpg showed
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论