#1058: csw temporal query error
----------------------------+-----------------------------------------------
Reporter: plcking | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone:
Component: Catalog server | Version: v2.6.4
Keywords: |
----------------------------+-----------------------------------------------
CSW Spatial and keyword queries work correctly in my GN installation,
however a temporal query produces an error (I have 40K records currently
loaded into GN). My CSW query and its associated response are below :
<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
service="CSW" version="2.0.2" elementSet="full" resultType="results"
outputS
chema="http://www.isotc211.org/2005/gmd" maxRecords="1000">
<csw:Query typeNames="dataset,application,datasetcollection,service">
<csw:Constraint version="1.1.0">
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml">
<ogc:And>
<ogc:PropertyIsGreaterThanOrEqualTo>
<ogc:PropertyName>TempExtent_begin</ogc:PropertyName>
<ogc:Literal>2008-09-03T00:00:01Z</ogc:Literal>
</ogc:PropertyIsGreaterThanOrEqualTo>
<ogc:PropertyIsLessThanOrEqualTo>
<ogc:PropertyName>TempExtent_end</ogc:PropertyName>
<ogc:Literal>2008-09-06T23:59:59Z</ogc:Literal>
</ogc:PropertyIsLessThanOrEqualTo>
</ogc:And>
</ogc:Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>
*******************result************************
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0.0"
xsi:schemaL
ocation="http://www.opengis.net/ows
http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>Raised exception while searching metadata :
org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is se
t to 16384</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1058>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/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.