[GeoNetwork-devel] Search for temporal extent

Hi all,

I'd like to implement the possibility to search for the temporal extent of a dataset in an ISO19139 record in the Advanced Search.

I found the fields tempExtentBegin and tempExtentEnd in 'index-fields.xsl'. According to that file, it means that those fields are indexed by Lucene (and so searchable).

Is that correct?

Will it work if I create a lucene query for those fields, add them to 'lucene.xsl' and implement the ui part in 'searchform_advanced.xsl'?

Or am I on the wrong track here and too naive?

Thanks for any help!

Cheers,
    Michael

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

Hi Michael,

Right track - but one of the difficulties is to be able to parse all the different possible time formats into a single form for search comparisons. There is an implementation already in the BlueNetMEST sandbox - uses the JODA time library to do the parsing. Needs to be brought out into the trunk and added to the search on modification data that is already present in advanced search.

Cheers,
Simon

Michael.Stegherr@anonymised.com wrote:

Hi all,

I'd like to implement the possibility to search for the temporal extent of a dataset in an ISO19139 record in the Advanced Search.

I found the fields tempExtentBegin and tempExtentEnd in 'index-fields.xsl'. According to that file, it means that those fields are indexed by Lucene (and so searchable).

Is that correct?

Will it work if I create a lucene query for those fields, add them to 'lucene.xsl' and implement the ui part in 'searchform_advanced.xsl'?

Or am I on the wrong track here and too naive?

Thanks for any help!

Cheers,
    Michael