#46: Support for complex boolean queries missing in GUI
-----------------------------+----------------------------------------------
Reporter: sbayarri | Owner: geonetwork-devel@lists.sourceforge.net
Type: enhancement | Status: new
Priority: major | Milestone: v2.4.0 RC2
Component: Catalog server | Version:
Resolution: | Keywords: search expression
-----------------------------+----------------------------------------------
Comment (by ticheler):
Related to this is the following report (22 June 2009) that needs
checking:
Hi list,
I've just gotten the latest from SVN trunk, and tried again an OR search
on two IDs. It should bring back both items, since if I do each one
separately, it brings back the correct record.
<csw:GetRecords service="CSW" version="2.0.2" resultType="results"
outputSchema="csw:IsoRecord" maxRecords="1000"
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2">
<csw:Query typeNames="gmd:MD_Metadata">
<csw:ElementSetName>full</csw:ElementSetName>
<csw:Constraint version="1.1.0">
<Filter xmlns="http://www.opengis.net/ogc">
<or>
<PropertyIsEqualTo>
<PropertyName>AnyText</PropertyName>
<Literal>0fe48cb2-638c-4b82-aecb-8e5372103df6</Literal>
</PropertyIsEqualTo>
<PropertyIsEqualTo>
<PropertyName>AnyText</PropertyName>
<Literal>f7684b5c-a512-4f6c-8df3-939382a2a7b4</Literal>
</PropertyIsEqualTo>
</or>
</Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>
Perhaps I'm not phrasing this correctly?
Thanks for your help,
Roger
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/46#comment:3>
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork>
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.