[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1187: Index aggregation info

#1187: Index aggregation info
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: enhancement | Status: new
Priority: minor | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
-------------------------+--------------------------------------------------
!GeoNetwork support aggregation in the metadata editor
(http://trac.osgeo.org/geonetwork/wiki/MetadataSiblings) but does not
provide ways to search for records having siblings and search according to
the type of relation.

Aggregation info is indexed by adding the following fields to the index:
  * agg_use: boolean
  * agg_with_association: {$associationType}
  * agg_{$associationType}: {$code}
  * agg_{$associationType}_with_initiative: {$initiativeType}
  * agg_{$associationType}_{$initiativeType}: {$code}

Sample queries:

  * Search for records with siblings:
http://localhost:8080/geonetwork/srv/fre/q?agg_use=true

  * Search for records having a crossReference with another record:
http://localhost:8080/geonetwork/srv/fre/q?agg_crossReference=23f0478a-
14ba-4a24-b365-8be88d5e9e8c

  * Search for records having a crossReference with another record:
http://localhost:8080/geonetwork/srv/fre/q?agg_crossReference=23f0478a-
14ba-4a24-b365-8be88d5e9e8c

  * Search for records having a crossReference of type "study" with another
record:
http://localhost:8080/geonetwork/srv/fre/q?agg_crossReference_study
=23f0478a-14ba-4a24-b365-8be88d5e9e8c

  * Search for records having a crossReference of type "study":
http://localhost:8080/geonetwork/srv/fre/q?agg_crossReference_with_initiative=study

  * Search for records having a "crossReference" :
http://localhost:8080/geonetwork/srv/fre/q?agg_with_association=crossReference

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1187&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1187: Index aggregation info
--------------------------+-------------------------------------------------
  Reporter: fxp | Owner: geonetwork-devel@…
      Type: enhancement | Status: closed
  Priority: minor | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by fxp):

  * status: new => closed
  * resolution: => fixed

Comment:

Master commit cd44a0457fbf1313a1009f99d8cee41be02e14d3

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1187#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.