Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
0f9001ea
提交
0f9001ea
authored
16 年前
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improved fulltext docs
上级
c9a506a7
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
23 行增加
和
1 行删除
+23
-1
classes.html
h2/src/docsrc/javadoc/classes.html
+3
-0
FullText.java
h2/src/main/org/h2/fulltext/FullText.java
+8
-0
FullTextLucene.java
h2/src/main/org/h2/fulltext/FullTextLucene.java
+12
-1
没有找到文件。
h2/src/docsrc/javadoc/classes.html
浏览文件 @
0f9001ea
...
@@ -48,6 +48,9 @@ org.h2.jdbcx<br />
...
@@ -48,6 +48,9 @@ org.h2.jdbcx<br />
<br
/>
<br
/>
<b>
Tools
</b><br
/>
<b>
Tools
</b><br
/>
org.h2.fulltext
<br
/>
<a
href=
"org/h2/fulltext/FullText.html"
target=
"javadoc"
>
FullText
</a><br
/>
<a
href=
"org/h2/fulltext/FullTextLucene.html"
target=
"javadoc"
>
FullTextLucene
</a><br
/>
org.h2.tools
<br
/>
org.h2.tools
<br
/>
<a
href=
"org/h2/tools/Backup.html"
target=
"javadoc"
>
Backup
</a><br
/>
<a
href=
"org/h2/tools/Backup.html"
target=
"javadoc"
>
Backup
</a><br
/>
<a
href=
"org/h2/tools/ChangeFileEncryption.html"
target=
"javadoc"
>
ChangeFileEncryption
</a><br
/>
<a
href=
"org/h2/tools/ChangeFileEncryption.html"
target=
"javadoc"
>
ChangeFileEncryption
</a><br
/>
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/fulltext/FullText.java
浏览文件 @
0f9001ea
...
@@ -44,6 +44,7 @@ import org.h2.value.DataType;
...
@@ -44,6 +44,7 @@ import org.h2.value.DataType;
/**
/**
* This class implements the native full text search.
* This class implements the native full text search.
* Most methods can be called using SQL statements as well.
*/
*/
public
class
FullText
implements
Trigger
,
CloseListener
{
public
class
FullText
implements
Trigger
,
CloseListener
{
...
@@ -474,6 +475,7 @@ public class FullText implements Trigger, CloseListener {
...
@@ -474,6 +475,7 @@ public class FullText implements Trigger, CloseListener {
}
}
/**
/**
* INTERNAL.
* Convert the object to a string.
* Convert the object to a string.
*
*
* @param data the object
* @param data the object
...
@@ -838,10 +840,16 @@ public class FullText implements Trigger, CloseListener {
...
@@ -838,10 +840,16 @@ public class FullText implements Trigger, CloseListener {
}
}
}
}
/**
* INTERNAL
*/
public
void
close
()
throws
SQLException
{
public
void
close
()
throws
SQLException
{
setting
.
removeIndexInfo
(
index
);
setting
.
removeIndexInfo
(
index
);
}
}
/**
* INTERNAL
*/
public
void
remove
()
throws
SQLException
{
public
void
remove
()
throws
SQLException
{
setting
.
removeIndexInfo
(
index
);
setting
.
removeIndexInfo
(
index
);
}
}
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/fulltext/FullTextLucene.java
浏览文件 @
0f9001ea
...
@@ -45,6 +45,7 @@ import org.h2.util.StringUtils;
...
@@ -45,6 +45,7 @@ import org.h2.util.StringUtils;
/**
/**
* This class implements the full text search based on Apache Lucene.
* This class implements the full text search based on Apache Lucene.
* Most methods can be called using SQL statements as well.
*/
*/
public
class
FullTextLucene
extends
FullText
public
class
FullTextLucene
extends
FullText
//## Java 1.4 begin ##
//## Java 1.4 begin ##
...
@@ -147,7 +148,7 @@ implements Trigger, CloseListener
...
@@ -147,7 +148,7 @@ implements Trigger, CloseListener
* CALL FTL_INIT();
* CALL FTL_INIT();
* </pre>
* </pre>
*
*
* @param conn
* @param conn
the connection
*/
*/
//## Java 1.4 begin ##
//## Java 1.4 begin ##
public
static
void
init
(
Connection
conn
)
throws
SQLException
{
public
static
void
init
(
Connection
conn
)
throws
SQLException
{
...
@@ -574,7 +575,12 @@ implements Trigger, CloseListener
...
@@ -574,7 +575,12 @@ implements Trigger, CloseListener
index
[
i
]
=
found
;
index
[
i
]
=
found
;
}
}
}
}
//## Java 1.4 end ##
/**
* INTERNAL
*/
//## Java 1.4 begin ##
public
void
close
()
throws
SQLException
{
public
void
close
()
throws
SQLException
{
try
{
try
{
if
(
indexer
!=
null
)
{
if
(
indexer
!=
null
)
{
...
@@ -587,7 +593,12 @@ implements Trigger, CloseListener
...
@@ -587,7 +593,12 @@ implements Trigger, CloseListener
throw
convertException
(
e
);
throw
convertException
(
e
);
}
}
}
}
//## Java 1.4 end ##
/**
* INTERNAL
*/
//## Java 1.4 begin ##
public
void
remove
()
throws
SQLException
{
public
void
remove
()
throws
SQLException
{
// ignore
// ignore
}
}
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论