Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
bfc6a29d
Commit
bfc6a29d
authored
Nov 06, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
e3849552
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
13 deletions
+2
-13
include/ft_global.h
include/ft_global.h
+0
-1
myisam/ft_boolean_search.c
myisam/ft_boolean_search.c
+0
-5
myisam/ft_nlq_search.c
myisam/ft_nlq_search.c
+0
-5
myisam/ft_static.c
myisam/ft_static.c
+2
-2
No files found.
include/ft_global.h
View file @
bfc6a29d
...
...
@@ -35,7 +35,6 @@ struct _ft_vft {
float
(
*
find_relevance
)(
FT_INFO
*
,
my_off_t
,
byte
*
);
void
(
*
close_search
)(
FT_INFO
*
);
float
(
*
get_relevance
)(
FT_INFO
*
);
my_off_t
(
*
get_docid
)(
FT_INFO
*
);
void
(
*
reinit_search
)(
FT_INFO
*
);
};
...
...
myisam/ft_boolean_search.c
View file @
bfc6a29d
...
...
@@ -413,11 +413,6 @@ float ft_boolean_get_relevance(FT_INFO *ftb)
return
ftb
->
root
->
cur_weight
;
}
my_off_t
ft_boolean_get_docid
(
FT_INFO
*
ftb
)
{
return
HA_POS_ERROR
;
}
void
ft_boolean_reinit_search
(
FT_INFO
*
ftb
)
{
_ftb_init_index_search
(
ftb
);
...
...
myisam/ft_nlq_search.c
View file @
bfc6a29d
...
...
@@ -278,11 +278,6 @@ float ft_nlq_get_relevance(FT_INFO *handler)
return
handler
->
doc
[
handler
->
curdoc
].
weight
;
}
my_off_t
ft_nlq_get_docid
(
FT_INFO
*
handler
)
{
return
handler
->
doc
[
handler
->
curdoc
].
dpos
;
}
void
ft_nlq_reinit_search
(
FT_INFO
*
handler
)
{
handler
->
curdoc
=-
1
;
...
...
myisam/ft_static.c
View file @
bfc6a29d
...
...
@@ -49,11 +49,11 @@ const MI_KEYSEG ft_keysegs[FT_SEGS]={
const
struct
_ft_vft
_ft_vft_nlq
=
{
ft_nlq_read_next
,
ft_nlq_find_relevance
,
ft_nlq_close_search
,
ft_nlq_get_relevance
,
ft_nlq_
get_docid
,
ft_nlq_
reinit_search
ft_nlq_get_relevance
,
ft_nlq_reinit_search
};
const
struct
_ft_vft
_ft_vft_boolean
=
{
ft_boolean_read_next
,
ft_boolean_find_relevance
,
ft_boolean_close_search
,
ft_boolean_get_relevance
,
ft_boolean_
get_docid
,
ft_boolean_
reinit_search
ft_boolean_get_relevance
,
ft_boolean_reinit_search
};
FT_INFO
*
(
*
_ft_init_vft
[
2
])(
MI_INFO
*
,
uint
,
byte
*
,
uint
,
my_bool
)
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment