一个朋友在群里问为什么在analyzer里看到的和从索引里面查出来的不一样 ,在过滤器里面配置了
<charFilter class=”solr.HTMLStripCharFilterFactory”/>
并且在analyzer里面调试确实去除了html,但是在查询索引的时候html又出来了。
刚接触的同学可能对于solr/lucene的数据存储不是特别清楚,简单的说, solr数据分两部分:
存储和索引
Read full article from Solr中国 » Blog Archive » 简单说一下solr的数据查询和存储 - 【Solr教程|Solr安装|Solr配置|Solr优化|Solr资料】
No comments:
Post a Comment