Closed GoogleCodeExporter closed 9 years ago
忘了我配置是这样的.
<bean id="writerAnalyzer" class="net.paoding.analysis.analyzer.PaodingAnalyzer">
<property name="knife">
<ref local="paoding" />
</property>
<property name="mode" value="1" />
</bean>
<bean id="queryAnalyzer" class="net.paoding.analysis.analyzer.PaodingAnalyzer">
<property name="knife">
<ref local="paoding" />
</property>
<property name="mode" value="2" />
</bean>
<bean id="paoding" class="net.paoding.analysis.knife.PaodingMaker" factory-
method="make" />
Original comment by jinhanm...@msn.com
on 4 Nov 2008 at 8:12
呵呵.又是我.原来我是把字典目录弄在classes目录下.eclipse
编译过后,还是原来的内容,
里面增加的新内容为空.我生设了下字典目录.
对了.在新加了新词后在典目录中会出现个新目录.compiled下��
�又一目录,里面有好几个文件,
这时候我新加新词,不会在把这时新加的加入到索引中..��
�.只有删除.compiled再重创建索
引.
Original comment by jinhanm...@msn.com
on 4 Nov 2008 at 10:07
对,"只有删除.compiled再(才)重创建索引."
Original comment by qieqie.wang
on 5 Nov 2008 at 1:32
对了.我看那个目录下面有好多的.dic文件,我试着建了个test
.dic里面添加了新词,没有.compiled文情
况下重建索引.新的分词没有加进去.也就是加新词只能加��
�t-base.dic文件中嘛.那其它的那些字典有用
嘛?
Original comment by jinhanm...@msn.com
on 6 Nov 2008 at 2:20
Original issue reported on code.google.com by
jinhanm...@msn.com
on 4 Nov 2008 at 7:56