[GeoNetwork-devel] Autocomplete on Dublin Core metadata

Dear all,

I’m using GN version v 3.0.5. to manage the metadata from my project collected by external means and stored in Dublin Core simpledc XML files, which I harvest in to catalogue.

However, for some reason, the autocomplete functionality available from catalogue search “service search?any=kolpo” does not work on any DC metadata.

EXAMPLE ON DC:

https://demlas.geof.unizg.hr/geonetwork/srv/eng/suggest?field=anylight&sortBy=STARTSWITHFIRST&q=kolpo

I have 2 sample md records encoded in ISO GMD and there the service works.

EXAMPLE ON ISO MD RECORD:

https://demlas.geof.unizg.hr/geonetwork/srv/eng/suggest?field=anylight&sortBy=STARTSWITHFIRST&q=Podjele

Do you have any idea why autocomplete suggestion does returns always ZERO while requesting DC metadata?

Thanks for any feedback and work arounds.
Tomas

···

[


Ing. Tomáš Kliment, PhD.

](http://about.me/klimeto)
https://bolegweb.geof.unizg.hr

Email1: tomas.kliment@anonymised.com

Email2: tomas.kliment@anonymised.com

Email3: tomas@anonymised.com

Cell1: 00 421 907 232 019 (SK)

Cell2: 00 39 389 495 5954 (IT)

Hi Tomas,

···

2017-05-21 15:52 GMT+02:00 Tomas Kliment <tomas.kliment@anonymised.com>:

Dear all,

I’m using GN version v 3.0.5. to manage the metadata from my project collected by external means and stored in Dublin Core simpledc XML files, which I harvest in to catalogue.

However, for some reason, the autocomplete functionality available from catalogue search “service search?any=kolpo” does not work on any DC metadata.

EXAMPLE ON DC:

https://demlas.geof.unizg.hr/geonetwork/srv/eng/suggest?field=anylight&sortBy=STARTSWITHFIRST&q=kolpo

I have 2 sample md records encoded in ISO GMD and there the service works.

EXAMPLE ON ISO MD RECORD:

https://demlas.geof.unizg.hr/geonetwork/srv/eng/suggest?field=anylight&sortBy=STARTSWITHFIRST&q=Podjele

Do you have any idea why autocomplete suggestion does returns always ZERO while requesting DC metadata?

You’re using autocomplete service on anylight field which does not contain anything for DC records.
https://github.com/geonetwork/core-geonetwork/blob/develop/schemas/dublin-core/src/main/plugin/dublin-core/index-fields/default.xsl#L208
It may be good to have similar content for DC like in ISO19139
https://github.com/geonetwork/core-geonetwork/blob/develop/schemas/iso19139/src/main/plugin/iso19139/index-fields/default.xsl#L947

(you could propose a pull request to improve that)

HTH

Francois

Thanks for any feedback and work arounds.
Tomas


[


Ing. Tomáš Kliment, PhD.

](http://about.me/klimeto)
https://bolegweb.geof.unizg.hr

Email1: tomas.kliment@anonymised.com

Email2: tomas.kliment@anonymised.com.

Email3: tomas@anonymised.com

Cell1: 00 421 907 232 019 (SK)

Cell2: 00 39 389 495 5954 (IT)


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


GeoNetwork-devel mailing list
GeoNetwork-devel@…537…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork