Ecshop Chinese Word Segmentation configuration (windows)

Source: Internet
Author: User
The Chinese word segmentation of ecshop is simpler. You only need to retrieve the goods table, then match the corresponding cat_id according to the keywords, and organize the uri to perform paging. For details, see my website: www.yanphp.com # source definition sourcemysql {typemysqlsql_host192.168.1.117sql_user database username SQL _pa

The Chinese word segmentation of ecshop is simpler. You only need to retrieve the goods table, then match the corresponding cat_id according to the keywords, and organize the uri to perform paging. For details, see my website: www.yanphp.com # source Definition source mysql {type = mysql SQL _host = 192.168.1.117 SQL _user = database username SQL _pa

The Chinese word segmentation of ecshop is simpler. You only need to retrieve the goods table, and then match
The corresponding cat_id, and then organize the uri and perform pagination.
For more information, see my website: www.yanphp.com <无>
# Source mysql {type = mysql SQL _host = 192.168.1.117 SQL _user = database username SQL _pass = Database Password SQL _db = database name SQL _port = 3306 SQL _query_pre = set names utf8 SQL _query = SELECT goods_id, cat_id, goods_name FROM fg_goods SQL _attr_uint = cat_id # cursor = addtime SQL _query_info_pre = set names utf8 SQL _query_info = SELECT * FROM fg_goods WHERE goods_id = $ id} # index defines index mysql {source = mysql path = c: \ user \ local \ coreseek \ var \ data_fgbk \ mysql docinfo = extern mlock = 0 morphology = none min_word_len = 1 html_strip = 0 # Chinese Word Segmentation configuration. For details, see: http://www.coreseek.cn/products-install/coreseek_mmseg/ # Charset_dictpath =/usr/local/mmseg3/etc/# BSD, set in Linux environment,/character end charset_dictpath = c: \ user \ local \ coreseek \ etc \ # in Windows, it is best to give an absolute path, for example, C:/usr/local/coreseek/etc /... charset_type = zh_cn.utf-8} # global index definition indexer {mem_limit = 128 M} # searchd service definition searchd {listen = 9312 read_timeout = 5 max_children = 30 max_matches = 1000 bytes = 0 preopen_indexes = 0 unlink_old = 1 pid_file = c: \ user \ local \ coreseek \ var \ log \ searchd_fgbk.pid # change it to the actual absolute path, for example,/usr/local/coreseek/var /... log = c: \ user \ local \ coreseek \ var \ log \ searchd_fgbk.log # change it to the actual absolute path, for example,/usr/local/coreseek/var /... query_log = c: \ user \ local \ coreseek \ var \ log \ query_fgbk.log # change it to the actual absolute path, for example: /usr/local/coreseek/var /...}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.