<i id='XrkzQ'><tr id='XrkzQ'><dt id='XrkzQ'><q id='XrkzQ'><span id='XrkzQ'><b id='XrkzQ'><form id='XrkzQ'><ins id='XrkzQ'></ins><ul id='XrkzQ'></ul><sub id='XrkzQ'></sub></form><legend id='XrkzQ'></legend><bdo id='XrkzQ'><pre id='XrkzQ'><center id='XrkzQ'></center></pre></bdo></b><th id='XrkzQ'></th></span></q></dt></tr></i><div id='XrkzQ'><tfoot id='XrkzQ'></tfoot><dl id='XrkzQ'><fieldset id='XrkzQ'></fieldset></dl></div>
    <tfoot id='XrkzQ'></tfoot>
    • <bdo id='XrkzQ'></bdo><ul id='XrkzQ'></ul>
  1. <small id='XrkzQ'></small><noframes id='XrkzQ'>

    <legend id='XrkzQ'><style id='XrkzQ'><dir id='XrkzQ'><q id='XrkzQ'></q></dir></style></legend>

      如何在 MYSQL 中重置停用词?

      How to reset stop words in MYSQL?(如何在 MYSQL 中重置停用词?)

          <legend id='k54E3'><style id='k54E3'><dir id='k54E3'><q id='k54E3'></q></dir></style></legend>
              <tbody id='k54E3'></tbody>
            <tfoot id='k54E3'></tfoot>
            <i id='k54E3'><tr id='k54E3'><dt id='k54E3'><q id='k54E3'><span id='k54E3'><b id='k54E3'><form id='k54E3'><ins id='k54E3'></ins><ul id='k54E3'></ul><sub id='k54E3'></sub></form><legend id='k54E3'></legend><bdo id='k54E3'><pre id='k54E3'><center id='k54E3'></center></pre></bdo></b><th id='k54E3'></th></span></q></dt></tr></i><div id='k54E3'><tfoot id='k54E3'></tfoot><dl id='k54E3'><fieldset id='k54E3'></fieldset></dl></div>

                <bdo id='k54E3'></bdo><ul id='k54E3'></ul>

                <small id='k54E3'></small><noframes id='k54E3'>

              • 本文介绍了如何在 MYSQL 中重置停用词?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我想重置 mysql 中的停用词列表以进行全文搜索.我已经在我的系统中安装了 WAMP 服务器,它有 phpmyadmin 来访问 mysql.但我不知道如何在 phpmyadmin 中重置停用词.谁能告诉我怎么做.

                I want to reset stop word list in mysql for FULLTEXT search. I have installed WAMP Server in my system which have phpmyadmin to access mysql. But I dont know how to reset stop word in phpmyadmin. Can anyone please tell me how to do that.

                我也http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_ft_stopword_file 阅读此链接,但不知道如何使用它???

                I also http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_ft_stopword_file read this link but don't know ho wto use this ???

                推荐答案

                我假设您正在使用 WampServer.

                点击托盘图标,选择MySQL,然后点击my.ini.配置文件将在记事本中打开.转到文件末尾并添加这一行(在端口行之后):

                Click the tray icon, select MySQL, then click my.ini. The configuration file will open in notepad. Go to the end of the file and add this line (after the port line):

                 ft_stopword_file=''
                

                禁用停用词.如果要使用自定义停用词文件,请将该行替换为:

                to disable stop words. If you want to use custom stop-word file, replace that line with:

                ft_stopword_file='path/to/stopword_file.txt'
                

                (当然是设置停用词文件的路径).

                (set the path of the stopword file, of course).

                设置该行后,保存配置文件(文件 -> 保存).然后点击托盘图标,选择MySQL,然后选择Service,然后点击Restart Service.

                After setting that line, save the configuration file (File -> Save). Then click the tray icon, select MySQL, then Service, then click Restart Service.

                为了确保您的配置正确完成,在浏览器中打开phpMyAdmin,点击顶部的Variables标签,然后找到ft stopword file 并查看为其设置的值.

                To Ensure that your configuration is done correctly, open phpMyAdmin in the browser, click on the Variables tab at the top, then find ft stopword file and see the values that is set to it.

                这篇关于如何在 MYSQL 中重置停用词?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Set the variable result, from query(设置变量结果,来自查询)
                What is dynamic SQL?(什么是动态 SQL?)
                Mysql - How to quit/exit from stored procedure(Mysql - 如何退出/退出存储过程)
                Does MySQL have time-based triggers?(MySQL 有基于时间的触发器吗?)
                is it possible to call a sql script from a stored procedure in another sql script?(是否可以从另一个 sql 脚本中的存储过程调用 sql 脚本?)
                Procedure to loop through comma separated string is not working(遍历逗号分隔字符串的过程不起作用)

                    <i id='1BtbX'><tr id='1BtbX'><dt id='1BtbX'><q id='1BtbX'><span id='1BtbX'><b id='1BtbX'><form id='1BtbX'><ins id='1BtbX'></ins><ul id='1BtbX'></ul><sub id='1BtbX'></sub></form><legend id='1BtbX'></legend><bdo id='1BtbX'><pre id='1BtbX'><center id='1BtbX'></center></pre></bdo></b><th id='1BtbX'></th></span></q></dt></tr></i><div id='1BtbX'><tfoot id='1BtbX'></tfoot><dl id='1BtbX'><fieldset id='1BtbX'></fieldset></dl></div>
                  1. <small id='1BtbX'></small><noframes id='1BtbX'>

                      <bdo id='1BtbX'></bdo><ul id='1BtbX'></ul>
                      <tfoot id='1BtbX'></tfoot>
                        <tbody id='1BtbX'></tbody>

                        <legend id='1BtbX'><style id='1BtbX'><dir id='1BtbX'><q id='1BtbX'></q></dir></style></legend>