Changes between Version 5 and Version 6 of ChangesFromNGR
- Timestamp:
- Aug 24, 2009, 4:20:14 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ChangesFromNGR
v5 v6 54 54 55 55 '''1.''' Performance improvement to search[[BR]] 56 In current !GeoNetwork, the search from the main page works as follows: the request with search parameters is sent to !GeoNetwork and is turned into a JDOM structure by Jeeves; this request object is processed in XSLT (lucene.xsl), the result of which is a different JDOM structure; this in turn is processed to create the actual Lucene query.[[BR]]56 In current !GeoNetwork, the search from the main page works as follows: the request with search parameters is sent to !GeoNetwork and is turned into a JDOM structure by Jeeves; this request object is processed in XSLT (lucene.xsl), the result of which is a different JDOM structure; this in turn is further processed in Java to create the actual Lucene query.[[BR]][[BR]] 57 57 This proposal removes the step of XSLT processing by lucene.xsl. The function of lucene.xsl is exactly re-built in Java (!LuceneQueryBuilder.java). The resulting Lucene query is not changed in this proposal.[[BR]] 58 58 !LuceneQueryBuilder.java was developed [http://www.extremeprogramming.org/rules/testfirst.html test-first] and as a result, it's well covered by a unit test.[[BR]][[BR]]