Hi gn users
I have installed geonetwork on 2 remote servers and populated it with the data.
Number of metadata in geonetwork1 is 544. I take this request to check it.
<csw:GetRecordsResponse xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">
<csw:SearchStatus timestamp="2010-11-25T13:00:03"/>
<csw:SearchResults numberOfRecordsMatched="544" numberOfRecordsReturned="5" elementSet="full" nextRecord="6"/>
</csw:GetRecordsResponse>
After harvesting 100 metadata from geonetwork2 to geonetwork1 and I see in geonetwork viewer the new metadata. But when I'm checking the number of all metadata in geonetwork1 with the following request:
<csw:GetRecordsResponse xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">
<csw:SearchStatus timestamp="2010-11-25T13:00:03"/>
<csw:SearchResults numberOfRecordsMatched="544" numberOfRecordsReturned="5" elementSet="full" nextRecord="6"/>
</csw:GetRecordsResponse>
I see that the numberOfRecordsMatched parameter is still unchanged:
After restarting jetty server on host1 I get the correct number of metadata:
http://host1:8080/geonetwork/srv/en/csw?request=GetRecords&service=CSW&version=2.0.2&outputformat=application/xml&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&maxrecords=5&typeNames=csw:Record&resultType=hits&CONSTRAINTLANGUAGE=FILTER
<csw:GetRecordsResponse xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">
<csw:SearchStatus timestamp="2010-11-25T13:00:03"/>
<csw:SearchResults numberOfRecordsMatched="620" numberOfRecordsReturned="5" elementSet="full" nextRecord="6"/>
</csw:GetRecordsResponse>
I tried to log in and out, to change the privileges to all but it dont helped. After restarting jetty I succesfully deleted all new harvested metadata in geonetwork1 and checked the number one more and the numberOfRecordsMatched is still unchanged.
Deleting and harvesting dont change the numberOfRecordsMatched parameter.
Have someone an idea why it happen?
Thanks
Bartek