[GeoNetwork-devel] Saving favourite searches.

Hi All,

I'm wondering if anyone out there has added functionality to a core
geonetwork client to allow favourite searches to be saved?

What we are looking for is the ability to save for a particular user the
current values of search fields on the search tabs and to allow them to
be reapplied from a selection list. We would need to be able to
maintain this list as well (update/delete). I guess this is most
applicable to advanced and remote search tabs where someone may have
spent some time fine tuning their search and doesn't wish to have to
write down the details themselves so they can reapply it.

Thanks,
--
Craig Jones
eMII Infrastructure Programmer
IMOS e-Marine Information Infrastructure Facility (eMII)
Ph: +61 3 6226 8567

Hi Craig,

In the BlueNetMEST there is a (currently hidden) facility which could be adapted to do some of what you want - in addition to the 'Simple Search', 'Advanced Search', 'Remote Search' and 'Map Viewer' tabs on the main page, there is a hidden tab (you need to edit the main-page.xsl and get rid of the hidden attribute) called 'Lucene Search' - bad name I know (it needs a new name) - that tab has an interface which allows the user to build (and submite) a lucene search string directly to the server using the native lucene query format but also includes a facility to name and save (as well as append and delete) search strings (uses a cookie to store all the search strings in). You could adapt this to receive the lucene search string that corresponds to what the user submits in an advanced search (might need another ajax service to get the lucene search string that corresponds to the users selections in 'advanced search' back from the server).

Cheers and hope this helps,
Simon

Craig Jones wrote:

Hi All,

I'm wondering if anyone out there has added functionality to a core
geonetwork client to allow favourite searches to be saved?

What we are looking for is the ability to save for a particular user the
current values of search fields on the search tabs and to allow them to
be reapplied from a selection list. We would need to be able to
maintain this list as well (update/delete). I guess this is most
applicable to advanced and remote search tabs where someone may have
spent some time fine tuning their search and doesn't wish to have to
write down the details themselves so they can reapply it.

Thanks,