[GeoNetwork-users] Searching by catalog

Hi,

In geonetwork 2.10.4 I'm trying to find a method of searching using
xml.search that would retrieve all the records in a particular catalog, but
this doesn't seem to be possible, reading the documentation at
http://geonetwork-opensource.org/manuals/2.10.4/eng/developer/xml_services/metadata_xml_search_retrieve.html
.

I can see that the source or catalog uuid is stored in the geonet.info part
of a returned metadata record, along with other elements like category,
which it is possible to search on, so am I missing something?

The end point that I need to get to is post-processing all the records
returned in a particular harvest (eg all those coming from a particular
catalog or source) outside the normal geonetwork interface.

Any thoughts would be gratefully received

Jo

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo

The xml.search service should accept any field that is indexed. The source
uuid is stored in the field _source, please try a query using it to filter
the results.

Regards,
Jose García

On Tue, Feb 23, 2016 at 4:22 PM, Jo Cook <jocook@anonymised.com> wrote:

Hi,

In geonetwork 2.10.4 I'm trying to find a method of searching using
xml.search that would retrieve all the records in a particular catalog, but
this doesn't seem to be possible, reading the documentation at

http://geonetwork-opensource.org/manuals/2.10.4/eng/developer/xml_services/metadata_xml_search_retrieve.html
.

I can see that the source or catalog uuid is stored in the geonet.info
part
of a returned metadata record, along with other elements like category,
which it is possible to search on, so am I missing something?

The end point that I need to get to is post-processing all the records
returned in a particular harvest (eg all those coming from a particular
catalog or source) outside the normal geonetwork interface.

Any thoughts would be gratefully received

Jo

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
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

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Hi Jose,

Ah brilliant, it was the underscore I was missing- I had tried just with
source=UUID and that hadn't worked. I will update the documentation to take
that into account.

Many thanks for such a quick response

Jo

On Tue, Feb 23, 2016 at 3:28 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Jo

The xml.search service should accept any field that is indexed. The source
uuid is stored in the field _source, please try a query using it to
filter the results.

Regards,
Jose García

On Tue, Feb 23, 2016 at 4:22 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi,

In geonetwork 2.10.4 I'm trying to find a method of searching using
xml.search that would retrieve all the records in a particular catalog,
but
this doesn't seem to be possible, reading the documentation at

http://geonetwork-opensource.org/manuals/2.10.4/eng/developer/xml_services/metadata_xml_search_retrieve.html
.

I can see that the source or catalog uuid is stored in the geonet.info
part
of a returned metadata record, along with other elements like category,
which it is possible to search on, so am I missing something?

The end point that I need to get to is post-processing all the records
returned in a particular harvest (eg all those coming from a particular
catalog or source) outside the normal geonetwork interface.

Any thoughts would be gratefully received

Jo

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
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

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jose and List,

Unfortunately I've done a bit more research and I've come across a problem
with this. The geonetwork instance I am searching on is harvesting metadata
from other remote geonetwork nodes. The source recorded in the geonet.info
metadata for each record refers to the original catalog rather than the
current one.

So in my workflow where I am harvesting multiple geonetwork nodes to a
single server, and I need to post-process the records on that server after
they have been harvested, I can't use xml.search?_source=harvestuuid to
bulk select the records.

How can I update the source recorded in geonet.info so that it reflects the
current harvest node rather than the original?

I need to get to the point where I can to do things:
1) Post-process the records from each harvest node independently outside of
geonetwork
2) Use the catalog as the filter for a csw endpoint for each harvest node.
(I initially wanted to use the group for this but I hit the same problem of
not being able to assign the records in bulk from one harvest node to a
particular group, outside of geonetwork).

Any thoughts would again be gratefully received.

Thanks

Jo

On Tue, Feb 23, 2016 at 3:40 PM, Jo Cook <jocook@anonymised.com> wrote:

Hi Jose,

Ah brilliant, it was the underscore I was missing- I had tried just with
source=UUID and that hadn't worked. I will update the documentation to take
that into account.

Many thanks for such a quick response

Jo

On Tue, Feb 23, 2016 at 3:28 PM, Jose Garcia <jose.garcia@anonymised.com>
wrote:

Hi Jo

The xml.search service should accept any field that is indexed. The
source uuid is stored in the field _source, please try a query using it
to filter the results.

Regards,
Jose García

On Tue, Feb 23, 2016 at 4:22 PM, Jo Cook <jocook@anonymised.com>
wrote:

Hi,

In geonetwork 2.10.4 I'm trying to find a method of searching using
xml.search that would retrieve all the records in a particular catalog,
but
this doesn't seem to be possible, reading the documentation at

http://geonetwork-opensource.org/manuals/2.10.4/eng/developer/xml_services/metadata_xml_search_retrieve.html
.

I can see that the source or catalog uuid is stored in the geonet.info
part
of a returned metadata record, along with other elements like category,
which it is possible to search on, so am I missing something?

The end point that I need to get to is post-processing all the records
returned in a particular harvest (eg all those coming from a particular
catalog or source) outside the normal geonetwork interface.

Any thoughts would be gratefully received

Jo

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey,
KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
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

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek

--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek

--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/&gt;
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training&gt;
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.