Weblucene's update memo (2004-06-29)

zhaozj2021-02-16  50

29/06/2004:

Reconstruct com.chedong.Weblucene.search.WebluceneQuery, making it more like a javabean: controlled its private field with com.chedong.util.RequestParser with com.chedong.util.RequestParser with com.chedong.util.RequestParser .CHEDONG.WEBLUCENE.VALIDATOR, simplified the code of the parameter verification section; adopt a new configuration management mechanism: 用 to replace the class in the com.chedong.properties package, com.chedong.Weblucene.WebluceneAppconfig And com.chedong.weblucene.webluceneconfig. Although WebluceneAppconfig has been reserved, he and WebluceneglobalConfig are just as a subclass of com.chedong.properties.SIMPLEPROPERTIESCONSUMER, similar to Utility. What configuration files need to be submitted to the new configuration management mechanism to manage need to be set in Web.xml, such as:

admin com.chedong.Weblucene.WebluceneAdminServlet Properties.Path < PARAM-VALUE> Web-INF / Conf 1 admin / admin

The above setting means handing over the * .conf and * .properties files under the {$ Weblucene_WebApp} / web-inf / control directory to the Configuration Manager for management; pay attention to the configuration file should be ".conf" or ".properties "As an extension. With the new configuration management mechanism, transfer {$ Weblucene_WebApp} / web-inf / var / * / wl.conf to {$ Weblucene_Webapp} /web-inf/conf/$1.conf, and join some of the default in Weblucene.conf Attributes. Improved how to process Exception: Package Exception with XML XSLT package in accordance with the processing of normal results, that is, when Exception is encountered, the outputformat outputs HTML or RSS, XML forms. The Exception here is currently involved in two -Null Keywords and Parser Exception. With the improvement of Exception, HTML_NULL.XSL and HTML_ERR.XSL are added to {$ WebLucene_Webapp} / web-inf / var / blog.

转载请注明原文地址:https://www.9cbs.com/read-19048.html

New Post(0)