Apache Lucene 3.0.2 is used for testing. Newer versions may work, however they are not tested.
Apache Lucene 3.6.2 is used for testing. Newer versions may work, however they are not tested.
@build_1047_h2
Using Maven 2
...
...
@@ -11966,7 +11966,7 @@ Using the Native Fulltext Search
Using the Apache Lucene Fulltext Search
@tutorial_1311_p
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>. To initialize the Lucene fulltext search in a database, call:
To use the Apache Lucene full text search, you need the Lucene library in the classpath. Currently, Apache Lucene 3.6.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>. To initialize the Lucene fulltext search in a database, call:
@tutorial_1312_p
You need to initialize it in each database where you want to use it. Afterwards, you can create a full text index for a table using:
# Apache Lucene 3.0.2 is used for testing. Newer versions may work, however they are not tested.
# Apache Lucene 3.6.2 is used for testing. Newer versions may work, however they are not tested.
@build_1047_h2
Maven 2 �?�利用
...
...
@@ -11966,7 +11966,7 @@ Java Web Start / JNLP
#Using the Apache Lucene Fulltext Search #Luceneフルテキストサー�?を使用�?�る
@tutorial_1311_p
# 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>. To initialize the Lucene fulltext search in a database, call:
# To use the Apache Lucene full text search, you need the Lucene library in the classpath. Currently, Apache Lucene 3.6.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>. To initialize the Lucene fulltext search in a database, call:
@tutorial_1312_p
# You need to initialize it in each database where you want to use it. Afterwards, you can create a full text index for a table using:
build_1043_li=\ creates the Javadocs of the implementation.
build_1044_p=\ To create the file <code>h2client.jar</code>, go to the directory <code>h2</code> and execute the following command\:
build_1045_h3=Using Apache Lucene
build_1046_p=\ Apache Lucene 3.0.2 is used for testing. Newer versions may work, however they are not tested.
build_1046_p=\ Apache Lucene 3.6.2 is used for testing. Newer versions may work, however they are not tested.
build_1047_h2=Using Maven 2
build_1048_h3=Using a Central Repository
build_1049_p=\ You can include the database in your Maven 2 project as a dependency. Example\:
...
...
@@ -3987,7 +3987,7 @@ tutorial_1307_p=\ To drop an index on a table\:
tutorial_1308_p=\ To get the raw data, use <code>FT_SEARCH_DATA('Hello', 0, 0);</code>. The result contains the columns <code>SCHEMA</code> (the schema name), <code>TABLE</code> (the table name), <code>COLUMNS</code> (an array of column names), and <code>KEYS</code> (an array of objects). To join a table, use a join as in\:<code>SELECT T.* FROM FT_SEARCH_DATA('Hello', 0, 0) FT, TEST T WHERE FT.TABLE\='TEST'AND T.ID\=FT.KEYS[0];</code>
tutorial_1309_p=\ You can also call the index from within a Java application\:
tutorial_1310_h3=Using the Apache Lucene Fulltext Search
tutorial_1311_p=\ 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>. To initialize the Lucene fulltext search in a database, call\:
tutorial_1311_p=\ To use the Apache Lucene full text search, you need the Lucene library in the classpath. Currently, Apache Lucene 3.6.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>. To initialize the Lucene fulltext search in a database, call\:
tutorial_1312_p=\ You need to initialize it in each database where you want to use it. Afterwards, you can create a full text index for a table using\:
tutorial_1313_p=\ PUBLIC is the schema name, TEST is the table name. The list of column names (comma separated) is optional, in this case all columns are indexed. The index is updated in realtime. To search the index, use the following query\:
tutorial_1314_p=\ This will produce a result set that contains the query needed to retrieve the data\: