[GeoNetwork-users] Advanced search for time extent in 2.4.1

Hi,

Maybe someone on the users list can help me with this:

When I'm entering a date in the Advanced Search "When?" section (in GeoNetwork 2.4.1) the following information is queried (in ISO19139 records):

"Identification Info / Metadata / Date stamp"

As far as I unstand the value of this is set automatically on creation of a record.

In my opinion it would be _very_ useful to query the value of the following entry instead:

"Identification Info / Date"

This would allow to search for updated records as well.

It looked like in the trunk version of GeoNetwork, the search has been already altered to search this field, by I may be mistaken.

Also the help says:

"The WHEN? section gives you the possibility to restrict your search in terms of temporal extent, indicating a specific range of time referred to the data creation or publication date"

It's a bit confusing to me. How are you using this search feature?

Cheers,
    Michael

--
Michael Stegherr, Computer Scientist
CSIRO Exploration and Mining | Phone 08 6436 8572
AARC, 26 Dick Perry Av, Kensington WA 6151, Australia

It's worth keeping in mind that the sections of metadata XML that are extracted into the Lucene index are configurable by changing the XSLT 'sheet at:

/xml/schemas/{yourschema}/index-fields.xsl

I'm not sure off the top of my head where the corresponding search transform is, but I believe it is:

/xml/search/lucene.xsl

(Anyone who knows otherwise should please correct me.)

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 24, 2009, at 11:02 PM, <Michael.Stegherr@anonymised.com> wrote:

Hi,

Maybe someone on the users list can help me with this:

When I'm entering a date in the Advanced Search "When?" section (in GeoNetwork 2.4.1) the following information is queried (in ISO19139 records):

"Identification Info / Metadata / Date stamp"

As far as I unstand the value of this is set automatically on creation of a record.

In my opinion it would be _very_ useful to query the value of the following entry instead:

"Identification Info / Date"

This would allow to search for updated records as well.

It looked like in the trunk version of GeoNetwork, the search has been already altered to search this field, by I may be mistaken.

Also the help says:

"The WHEN? section gives you the possibility to restrict your search in terms of temporal extent, indicating a specific range of time referred to the data creation or publication date"

It's a bit confusing to me. How are you using this search feature?

Cheers,
   Michael

--
Michael Stegherr, Computer Scientist
CSIRO Exploration and Mining | Phone 08 6436 8572
AARC, 26 Dick Perry Av, Kensington WA 6151, Australia

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Michael.Stegherr@anonymised.com wrote:

Hi,

Maybe someone on the users list can help me with this:

When I'm entering a date in the Advanced Search "When?" section (in
GeoNetwork 2.4.1) the following information is queried (in ISO19139
records):

"Identification Info / Metadata / Date stamp"

As far as I unstand the value of this is set automatically on
creation of a record.

In my opinion it would be _very_ useful to query the value of the
following entry instead:

"Identification Info / Date"

This would allow to search for updated records as well.

My suggestion would be that both dates (since ISO manages several) become searchable. This means that they both need to be indexed for range checking and that an option could be exposed as a selection in the advanced search interface. the rationale for searching on metadata date is to find out what is "new/changed" since a given date. A search on the date of the resource being described, as suggested, would be useful +1

Doug.

It looked like in the trunk version of GeoNetwork, the search has
been already altered to search this field, by I may be mistaken.

Also the help says:

"The WHEN? section gives you the possibility to restrict your search
in terms of temporal extent, indicating a specific range of time
referred to the data creation or publication date"

It's a bit confusing to me. How are you using this search feature?

Cheers, Michael

--
Douglas D. Nebert

Hi,

indexing (and searching) of fields is a somewhat complicated issue. I
have been digging out how it works for the last days and I'm planning to
update the documentation soon.

I work at the World Meteorological Organization in the WMO Information
System office (with David Thomas, a compatriot of yours, and Eliot
Christian) and we are working on improving the Geonetwork search
and adding SRU support. (via JZkit2)

At a glance, this is how searching and indexing works in GN.
(corrections are welcome should I be wrong here).

At indexing time a XSL transformation determines the fields that should
get indexed and the names of the indices. According to the schema of the
metadata-file being indexed, an XSL transformation is applied which
outputs the information to be indexed.
These files reside below web\geonetwork\xml\schemas\*\index-fields.xsl

A lucene document Object (java) is then created parsing the output from
the transformation above. After that the actual indexing takes place.

At search time, your query is also processed by a XSL transformation.
According to the type of search (Z39.50, CSW, old interface) etc.. one
of the XSL files in web\geonetwork\xml\search is used to transform your
query to an "internal" lucene query format which is in turn transformed
to actual Lucene Query Objects (java).

So, what you probably have to do is to change the latter files so that
your query is translated into a lucene query searching in the right
indexes.
In short, have a look at web\geonetwork\xml\search\lucene.xsl

hope this helps
Timo

--
Timo Pröscholdt
Program Officer, WMO Information System (WIS)
Observing and Information Systems Department
World Meteorological Organization
Tel: +41 22 730 81 76
Cell: +41 77 40 63 554
e-mail: tproescholdt@anonymised.com

Michael.Stegherr@anonymised.com a écrit :

Hi,

Maybe someone on the users list can help me with this:

When I'm entering a date in the Advanced Search "When?" section (in GeoNetwork 2.4.1) the following information is queried (in ISO19139 records):

"Identification Info / Metadata / Date stamp"

As far as I unstand the value of this is set automatically on creation of a record.

In my opinion it would be _very_ useful to query the value of the following entry instead:

"Identification Info / Date"

This would allow to search for updated records as well.

It looked like in the trunk version of GeoNetwork, the search has been already altered to search this field, by I may be mistaken.

Also the help says:

"The WHEN? section gives you the possibility to restrict your search in terms of temporal extent, indicating a specific range of time referred to the data creation or publication date"

It's a bit confusing to me. How are you using this search feature?

Cheers,
    Michael

Hi Timo,

Thanks a lot, great detailed analysis!

There seems to be a lot of knowledge out there in the GeoNetwork community, but my experience is that it is sometimes quite hard to get to it. Also the lack of code documentation is a bit challenging at times...

As I'm currently also trying to figure out, how the keywords box in the Advanced Search works, I'd like to share my findings (only bullet points though, sorry ;)) that it's at least searchable through Nabble:

1. Form: 'web/geonetwork/xsl/searchform_advanced.xsl' calls

2. JavaScript: popKeyword in 'web/geonetwork/scripts/gn_search.js' calls

3. Service: portal.search.keywords in 'web/geonetwork/WEB-INF/config-portal.xml' is implemented in

4.a) Class: org.fao.geonet.services.main.Search calls
4.b) Method: org.fao.geonet.kernel.search.LuceneSearcher.makeSummary() outputs through

5. XSL: web/geonetwork/xsl/thesaurus-keywordlist.xsl

Cheers,
    Michael