---
title: "coreseek无法索引中文"
author: "phpseyo"
date: "2012-08-27T17:28:13Z"
tags: []
categories: ["开源软件"]
slug: "coreseek"
draft: false
lastmod: "2012-08-27T17:28:13Z"
id: 1664236
url: "https://phpseyo.iteye.com/blog/1664236"
---

按照官方的指导完成coreseek的安装，并成功创建了索引，

但是执行下面的命令时，

 

/usr/local/coreseek/bin/search -c /usr/local/coreseek/etc/csft\_moban.conf 小鱼

检索出来的分词(是mmseg的)总是方块文，看了下索引的配置文件，csft.conf

 

原来是因为配置index时没有加入红色字体那一句

 

 

charset\_dictpath = /usr/local/mmseg3/etc/

charset\_type        = zh\_cn.utf-8

 

所导致的。