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 /...}