|
#837: language-index-field to be align to trunk
---------------------+------------------------------------------------------ Reporter: fxp | Owner: geonetwork-devel@… Type: defect | Status: new Priority: major | Milestone: v2.7.0 Component: General | Version: Keywords: | ---------------------+------------------------------------------------------ Some fixes to apply: * token attribute could be removed from all fields (it's defined in config-lucene.xsl) * instead of using UPPER (ABCDEFGHIJKLMNOPQRSTUVWXYZ) and LOWER var and translate function, you could switch to XSL v2 and use lower-case upper- case function * trunk is not using + 360 shift for coordinates, because lat long are indexed as numeric now. * "any" field indexing could probably be done using normalize-space instead of recursive template loop - which is much faster. I've not tested it but something like the following should be ok (you could have a look to "any" in index-fields.xsl) : {{{ <Field name="any" store="false" index="true" token="true"> <xsl:attribute name="string"> <xsl:value-of select="normalize-space(//node()[@locale=$langId])"/> </xsl:attribubte> </Field> }}} * default lang in function.xsl is set to "en" not "eng" ? -- Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/837> GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/> GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ GeoNetwork-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/geonetwork-devel GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork |
|
#837: language-index-field to be align to trunk
-------------------------+-------------------------------------------------- Reporter: fxp | Owner: geonetwork-devel@… Type: enhancement | Status: new Priority: major | Milestone: v2.7.0 Component: General | Version: Keywords: | -------------------------+-------------------------------------------------- Changes (by fxp): * type: defect => enhancement Comment: Committed revision 8916. * Remove token parameter from language-index-fields (it's set in config- lucene.xml). * Cleaning: remove unused namespace, use upper-case fct. * Used normalize-space for full text criteria instead of recursive loop. * Align bbox indexing in language-index-field to index-fields. TODO : * Don't store all fields in index - only those used in q service dumpFields -- Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/837#comment:1> GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/> GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ GeoNetwork-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/geonetwork-devel GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork |
|
In reply to this post by OSGeo
#837: language-index-field to be align to trunk
-------------------------+-------------------------------------------------- Reporter: fxp | Owner: geonetwork-devel@… Type: enhancement | Status: new Priority: major | Milestone: v2.9.0 Component: General | Version: Keywords: | -------------------------+-------------------------------------------------- Changes (by ianwallen): * milestone: v2.7.0 => v2.9.0 -- Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/837#comment:2> GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/> GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ GeoNetwork-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/geonetwork-devel GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork |
| Powered by Nabble | Edit this page |
