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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c863f86e
Commit
c863f86e
authored
Dec 05, 2000
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual.texi "fine-tuning" section added to fulltext manual
parent
c7581d29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
2 deletions
+49
-2
Docs/manual.texi
Docs/manual.texi
+49
-2
No files found.
Docs/manual.texi
View file @
c863f86e
...
...
@@ -37497,6 +37497,7 @@ DELAYED} threads.
@cindex searching, full-text
@cindex full-text search
@cindex FULLTEXT
@node MySQL full-text search, , MySQL threads, MySQL internals
@section MySQL Full-text Search
...
...
@@ -37586,6 +37587,52 @@ know this happen too often when we are trying to find something in Internet
with search engine), and, as such, has low semantical value in @strong{this
particular dataset}.
@menu
* Fine-tuning::
@end menu
@node Fine-tuning, , , MySQL full-text search
Unfortunately, full-text search has no user-tunable parameters yet
(but adding some is very high in our TODO). But if one has @strong{MySQL}
source distribution (@xref{Installing source}.) he can somewhat alter
full-text search default behaviour.
But note, that full-text search was carefully tuned up for the best
search effectivity. Modifying default behaviour will, most probably,
make search results only worse. Do not play with @strong{MySQL} sources,
unless you know what you are doing!
@itemize
@item
Minimal length of word to be indexed is defined in
@code{myisam/ftdefs.h} file by the line
@example
#define MIN_WORD_LEN 4
@end example
Change it to the value, you prefer, recompile @strong{MySQL} and rebuild
your @code{FULLTEXT} indexes.
@item
Stopword list is defined in @code{myisam/ft_static.c}
Modify it to your taste, recompile @strong{MySQL} and rebuild
your @code{FULLTEXT} indexes.
@item
50% treshold is caused by weighting scheme chosen. To disable it, change
@example
#define GWS_IN_USE GWS_PROB
@end example
line in @code{myisam/ftdefs.h} to
@example
#define GWS_IN_USE GWS_IDF
@end example
and recompile @strong{MySQL}.
There is no need to rebuild the indexes though.
@end itemize
@page
@cindex environment variables, list of
@node Environment variables, Users, MySQL internals, Top
...
...
@@ -38874,10 +38921,10 @@ Dynamic character support.
Responsible for @strong{MySQL} configure.
@end itemize
@item Sergei
A.
Golubchik
@item Sergei Golubchik
@itemize @bullet
@item
T
ext search
Full-t
ext search
@item
Added keys to the @code{MERGE} library.
@end itemize
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