[GeoNetwork-users] category vs. TopicCategory queryable

Hi, GN team.

I am trying to consume GN search results. I'd prefer to stick w/ CSW, but I'm having a tough time w/ categories.

If I perform a GET xml.search?category=dataportal, I see some results, e.g.:

<metadata>
  <metadatacreationdate/>
  <geonet:info xmlns:geonet="http://www.fao.org/geonetwork&quot;&gt;
    <id>36614</id>
    <uuid>64cd3cb6-3a74-4990-8772-4af8b0714b1a</uuid>
    <schema>iso19139</schema>
    <createDate>2014-10-08T18:57:23</createDate>
    <changeDate>2014-10-08T18:57:23</changeDate>
    <source>e3dbbdf2-e706-43dd-a16e-1400d678044f</source>
    <category>dataportal</category>
    <selected>false</selected>
    <category internal="true">dataset</category>
  </geonet:info>
</metadata>

But if I perform a CSW POST query, I don't get any results at all.

<csw:Constraint version="1.1.0">
  <Filter xmlns="http://www.opengis.net/ogc&quot; xmlns:gml="http://www.opengis.net/gml&quot;&gt;
    <PropertyIsLike wildCard="%" singleChar="_" escape="\\">
      <PropertyName>TopicCategory</PropertyName>
      <Literal>dataportal</Literal>
    </PropertyIsLike>
  </Filter>
</csw:Constraint>

The CSW GetCapabilities advertises TopicCateogry, but I'm not convinced they are one and the same. I can get CSW results if I use other searches, e.g. Title, though, so I don't believe CSW is holding me up.

In a nutshell, how can I pull back category-specific results w/ a CSW query?

TIA.

Charlton Galvarino
1 (803) 233-6205 : voice
1 (803) 223-9579 : fax
charlton@anonymised.com

P.O. Box 50960
Columbia, SC 29250