lucence特殊字符轉(zhuǎn)義
一個需要注意的細(xì)節(jié):
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
=========================================
1)原來項目里使用的是lucene,和項目耦合的厲害,每次重啟項目都要進(jìn)行相關(guān)的初始化很占用時間,現(xiàn)在考慮切換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
版權(quán)聲明:本文內(nèi)容由網(wǎng)絡(luò)用戶投稿,版權(quán)歸原作者所有,本站不擁有其著作權(quán),亦不承擔(dān)相應(yīng)法律責(zé)任。如果您發(fā)現(xiàn)本站中有涉嫌抄襲或描述失實的內(nèi)容,請聯(lián)系我們jiasou666@gmail.com 處理,核實后本網(wǎng)站將在24小時內(nèi)刪除侵權(quán)內(nèi)容。