come to think of it, it is not only strange this matches all my metadata,
but even so then I should expect to see summary records for the first 10.
I'll look further into this. Meanwhile, you might try to use POST request
(for example using the excellent Firefox add-on "Poster"). This request, for
example, should match all your metadata, if you post it to
http://localhost:8080/geonetwork/srv/en/csw?request=GetRecords&service=CSW&version=2.0.2:
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ogc="
http://www.opengis.net/ogc" resultType="results" service="CSW"
version="2.0.2">
<csw:Query typeNames="csw:Record" elementSet="full">
<csw:Constraint version="1.1.0">
<Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="
http://www.opengis.net/gml">
<PropertyIsLike wildCard="*" singleChar="_" escapeChar="\">
<PropertyName>AnyText</PropertyName>
<Literal>*</Literal>
</PropertyIsLike>
</Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>
Be aware though that wildcard search is broken in 2.6.0, so this might not
work for you. Alternatively, try to post
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ogc="
http://www.opengis.net/ogc" resultType="results" service="CSW"
version="2.0.2">
<csw:Query typeNames="csw:Record" elementSet="full">
<csw:Constraint version="1.1.0">
<Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="
http://www.opengis.net/gml">
</Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>
this should probably work.
Let us know ?
Kind regards
Heikki Doeleman
On Tue, Nov 2, 2010 at 8:55 PM, heikki <tropicano@anonymised.com> wrote:
hi KM,
what error exactly do you get, and what version of GeoNetwork are you using
?
When I tried your request, I got no error. Instead I got
<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-02T20:31:35"/>
<csw:SearchResults numberOfRecordsMatched="21" numberOfRecordsReturned="10"
elementSet="summary" nextRecord="11"/>
</csw:GetRecordsResponse>
meaning, it matched *all* of my metadata, even though I have only 1 that
contains the word "Africa". Maybe not exactly what you'd expect but at least
I got all the metadata 
Kind regards,
Heikki Doeleman
On Tue, Nov 2, 2010 at 8:27 PM, KM <haroku91@anonymised.com> wrote:
Hi,
I was wondering that if there is a GET request to show all records in the
database?
I've tried to do a GetRecords by keyword:
http://localhost:8080/geonetwork/srv/en/csw?request=GetRecords&service=CSW&version=2.0.2&namespace=xmlns(csw=http://www.opengis.net/cat/csw/2.0.2),xmlns(gmd=http://www.isotc211.org/2005/gmd)&constraint=AnyText+like+�rica%&constraintLanguage=CQL\_TEXT&constraint\_language\_version=1\.1\.0&typeNames=csw:Record<http://localhost:8080/geonetwork/srv/en/csw?request=GetRecords&service=CSW&version=2.0.2&namespace=xmlns(csw=http://www.opengis.net/cat/csw/2.0.2),xmlns(gmd=http://www.isotc211.org/2005/gmd)&constraint=AnyText+like+�rica%%26constraintLanguage%3DCQL\_TEXT%26constraint\_language\_version%3D1\.1\.0%26typeNames%3Dcsw:Record>
But I receive an error with "AnyText+like" part. I just want to try to get
all the records without a constraint now.
Thanks for your help.
KM
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/CSW-GET-Request-all-records-tp5698815p5698815.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America
contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork