一、jiebaForLuceneNet的使用
JiebaAnalyzer
:与Lucene.NET集成的主接口,添加索引和搜索时使用此类的实例作为analyzer参数JiebaTokenizer
:为JiebaAnalyzer提供分词功能Integration.LuceneNet.Sample
项目中有示例,演示如何通过jieba分词添加索引和搜索
二、若对Lucene.NET不甚熟悉,请先看:
Lucene.NET的基本用法
- 看codeproject上的文章:Lucene.Net ultra fast search for MVC or WebForms site
如何自定义Tokenizer和Analyzer
- Lucene.Net – Custom Synonym Analyzer
- https://github.com/JimLiu/Lucene.Net.Analysis.PanGu
- https://github.com/JimLiu/Lucene.Net.Analysis.MMSeg