lucence特殊字符转义

网友投稿 614 2022-05-30

一个需要注意的细节:

https://github.com/apache/lucene-solr/blob/master/lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/QueryParserUtil.java

使用QueryParserUtil.escape

参考文档:

https://github.com/Stratio/cassandra-lucene-index/issues/119

https://blog.csdn.net/foamflower/article/details/5724823

https://stackoverflow.com/questions/17839053/how-to-perform-a-lucene-query-containing-special-character-using-queryparser

=========================================

lucence特殊字符转义

1)原来项目里使用的是lucene,和项目耦合的厉害,每次重启项目都要进行相关的初始化很占用时间,现在考虑切换solr独立部署出去;

2)上次把项目中的paoding切成了word,这次还保留word分词;

参考:在Solr中配置中文分词器word

全文检索Solr集成HanLP中文分词

Solr-6.5.1配置中文分词器smartcn

给solr配置中文分词器

https://callan.iteye.com/blog/155602

https://zq99299.github.io/note-book/elasticsearch-senior/depth-search/26-lucene-score.html#query-normalization-factor

https://baobeituping.iteye.com/blog/847085

https://blog.csdn.net/dm_vincent/article/details/42113401

https://blog.csdn.net/superxlcr/article/details/78932179

https://blog.csdn.net/lwwgtm/article/details/60353812

https://blog.csdn.net/IsResultXaL/article/details/48683637

https://blog.csdn.net/yelllowcong/article/details/78698506

https://zhuyuehua.iteye.com/blog/1985163

https://stackoverflow.com/questions/3307890/how-to-query-lucene-with-like-operator

https://scholarworks.sjsu.edu/cgi/viewcontent.cgi?article=1645&context=etd_projects

https://github.com/Urthen

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:《从零开始学Hadoop大数据分析(视频教学版)》 —3.3 Hadoop中HDFS的常用命令
下一篇:kubernetes 组件相关证书图解
相关文章