Leechael / ik-analyzer

Automatically exported from code.google.com/p/ik-analyzer
0 stars 0 forks source link

词典配置可以支持通配符吗 #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
IKAnalyzer的IKAnalyzer.cfg.xml中关于词典的配置,是否可以支持通配
符方式.

Original issue reported on code.google.com by liuy....@gmail.com on 2 Mar 2011 at 1:41

GoogleCodeExporter commented 8 years ago
目前不支持,考虑后期加入,谢谢提建议

Original comment by linliang...@gmail.com on 4 Mar 2011 at 9:11

GoogleCodeExporter commented 8 years ago

Original comment by linliang...@gmail.com on 4 Mar 2011 at 9:11

GoogleCodeExporter commented 8 years ago
IKAnalyzer.cfg.xml要放在哪里才能被IKAnalyzer找到,所有的位置我�
��放遍了还是不行,公司用的形式是把IKAnalyzer放在hibernate.prop
erties中的
#hibernate.hbm2ddl.auto create-drop
hibernate.hbm2ddl.auto update
#hibernate.hbm2ddl.auto create
hibernate.jdbc.batch_size 100
hibernate.jdbc.fetch_size 50
hibernate.search.default.directory_provider 
org.hibernate.search.store.impl.FSDirectoryProvider
hibernate.search.default.indexBase d:/MyIndex
hibernate.lucene.analyzer org.wltea.analyzer.lucene.IKAnalyzer
hibernate.search.default.indexwriter.max_merge_docs 100
hibernate.search.default.indexwriter.ram_buffer_size 64
这样的形式

Original comment by gllfeixi...@gmail.com on 28 Dec 2012 at 1:16