[opencms-dev] I want to share with you a large number of upgrades I have done.
脸谱
afeinet at 163.com
Sun Jan 21 12:21:42 CET 2018
Hi.
Today submitted a version upgrade from Solr and Lucene, from 5.5 to 7.2.1.
It should be noted that the code related to boost is removed mainly based on (LUCENE-6819: Index-time boosts removal).
I'm not too sure about the purpose of this Boost, but it's not a direct part of this code because I spent a lot of time testing this feature.
1, search contains two implementations of Lucene and Solr, do not know when Lucene's implementation will be used, because I test the result is that the actual operation of Solr that set of implementations.
2, I did some tests where I used Boost, but the code in those places was not executed. For example, there is a line m_doc.addField (fieldName, val, field.getBoost ()) in CmsSolrDocument, which I changed to "throw new RuntimeException ()" but this place is not called. Other such similar places, I also made a code replacement, but did not run these codes.
3, after removing the finished, also made the WAR package gradle bindist, and deployed to TOMCAT9 successfully completed. After the page search function is normal.
Hope that these changes bring convenience to everyone.
--
缘起法实不可思议也。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180121/eb95d60f/attachment.htm>
More information about the opencms-dev
mailing list