Opened 12 years ago

Closed 12 years ago

#1058 closed defect (fixed)

csw temporal query error

Reported by: plcking Owned by: geonetwork-devel@…
Priority: major Milestone: v2.6.5
Component: Catalog server Version: v2.6.4
Keywords: Cc:

Description

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>

Change History (2)

comment:1 by ianwallen, 12 years ago

Milestone: v2.6.5

comment:2 by plcking, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.