Dear Andrew,
Le 04.06.2010 04:22, Andrew Watkins a écrit :
Is there any technical documentation on how GN really does the following?
- if not pointers to the relevant bits of source code would be good.
the geonetwork documentation is in shambles... both for users and
developers. I'd invest some time in making it better, but it seems that
a more
concerted effort would be needed.
However, there is a lot of knowledge here on the list.
1 compares the search bounding box with those in the metadata records
the mechanism this works (for the different search modi like
z3959,csw,..) is the following.
Your query is parsed and converted into a gn internal xml query format.
This format in turn, is then converted into lucene queries.
Most of the conversions are done by xsl transformations, for which you
find the files in /geonetwork/xml/search/ .
Sourcecode-wise, have a look at LuceneSearcher.java
2 ditto for the date ranges
I just worked on the date ranges for z3950, they are in z3959Server.xsl
3 puts keywords, titles and other elements into the search indexes.
this is exactely what the xstt do... mapping between incoming attributes
and lucene indices.
Also how to set the default map view and search region to a specific
region e.g. New Zealand.
that I dont know.
Keep me up to date, there is some work to be done on dates and
boundinxboxes,
maybe we can share forces.
best
Timo
Thanks Andrew
Andrew Watkins
Systems Development Team Manager
National Institute Water & Atmospheric Research (NIWA).
NIWA is the trading name of the National Institute of Water &
Atmospheric Research Ltd.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork