Hi Francois,
thanks for directing me to these files and yes, it would be nice to have such things in the admin interface of GN.
Anyway, when I wanted to fix the missing publication index (which I do not really need, but just to get into all of this) I tried rebuilding the index which gave me an error message in the console (it was something like it could not delet some files in geonetwork\web\geonetwork\WEB-INF\data\index\index I think) so I stopped GN and restarted it in the hopes that it'll rebuild the index at startup. However, GN does not start anymore. According to the logs, everything's fine with GN and its index (see attachment), it's Geoserver that's making problems (see attachment). I see the errors where config files cannot be load and so on but I don't have to investigate that because all of the error mesages are totally nonsense. I know that because a few weeks ago I tried installing a fresh GN with Java 8 and got exactly the same errors. Switching to Java 7 solved these issues.
Ah, and sorry that I forgot to include the GN version in my last mail: it's 2.10.3 on Win 7 x64.
Cheers and thanks again,
Christian
P.S.: the path to the index field configuration is:
geonetwork\web\geonetwork\WEB-INF\data\config\schema_plugins\iso19139\index-fields.xsl
Am 13.01.2015 um 17:28 schrieb Francois Prunayre:
Hi Christian,
The facet on year is configured here
https://github.com/geonetwork/core-geonetwork/blob/develop/web/src/main/webapp/WEB-INF/config-summary.xml#L67
so the index field name is createDateYear.
Then your record is an ISO19139, so you look into the indexing for that type of records
https://github.com/geonetwork/core-geonetwork/blob/develop/schemas/iso19139/src/main/plugin/iso19139/index-fields/default.xsl#L151
And so here you could fix the missing indexing on publication date and add the year indexing on temporal extent too.
Reindex your catalog now and it should be better.
Those 2 fixes could be proposed to GeoNetwork I think, so if you can make a PR for that, that would be great !
Thanks
Francois
PS: depending on your GeoNetwork version, config file may be located in another place.
2015-01-13 17:04 GMT+01:00 Christian Seip <christian.seip@anonymised.com <mailto:christian.seip@anonymised.com>>:
>
> Hi there,
>
> I have a problem with the visualition of GN itself which I just cannot
> resolve. When I go to "Catalog" where I can view all my metadata under
> the tab "FILTER" I can see the headings Organizations, Keywords, Types
> and Years (to better understand this, I uploaded this image
> <http://img4web.com/view/HTM3CX>\). In Years it just shows the Year I
> uploaded the metadata which is this part of my ISO 19115 metadata:
> <gmd:MD_Metadata>
> [...]
> <gmd:identificationInfo>
> <gmd:MD_DataIdentification>
> <gmd:citation>
> <gmd:CI_Citation>
> <gmd:title>
> <gco:CharacterString>YearsTest1
> IOWDB</gco:CharacterString>
> </gmd:title>
> <gmd:alternateTitle>
> <gco:CharacterString>Oceanographic Database of
> IOW</gco:CharacterString>
> </gmd:alternateTitle>
> <gmd:date>
> <gmd:CI_Date>
> <gmd:date>
> <gco:DateTime>2013-11-28T00:00:00</gco:DateTime>
> </gmd:date>
> <gmd:dateType>
> <gmd:CI_DateTypeCode
> codeList="./resources/codeList.xml#CI_DateTypeCode"
> codeListValue="revision"/>
> </gmd:dateType>
> </gmd:CI_Date>
> </gmd:date>
> [...]
> So, it just shows the revision date. Also, to be noted is, that this
> works only for the values "revision" and "creation" but not for
> "publication".
> Anyway, I want the temporal extent (the year portion of it) to be displayed.
>
> The temporal extent can be found in my metadata at this place:
> <gmd:MD_Metadata>
> [...]
> <gmd:identificationInfo>
> <gmd:MD_DataIdentification>
> [...]
> <gmd:extent>
> <gmd:EX_Extent>
> <gmd:temporalElement>
> <gmd:EX_TemporalExtent>
> <gmd:extent>
> <gml:TimePeriod
> gml:id="boundingTemporalExtent">
> <gml:beginPosition>1992-02-21T00:54:39</gml:beginPosition>
> <gml:endPosition>1992-02-21T00:55:46</gml:endPosition>
> </gml:TimePeriod>
> [...]
>
> In the end, my main question is: is there a way to modify the headings
> shown in the tab "FILTER"?
>
> Kind regards ands thanks in adavance,
> Christian
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net <mailto:GeoNetwork-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
(attachments)
geonetwork.log (12.1 KB)
geoserver.log (8.23 KB)