[GeoNetwork-users] problems with SRU search

Hi: our GN 2.6 install is having problems realizing SRU based spatial
searches. Example invocation:

Request:

http://foo/sru/portal.sru?operation=searchRetrieve&recordSchema=ISO19139
&version=1.1&startRecord=1&maximumRecords=10&query=geo.bounds+within+%22
-141+42+-52+84%22

Response:

<zs:searchRetrieveResponse>
<zs:version>1.1</zs:version>
<zs:numberOfRecords/>
<zs:diagnostics>
  <diagnostic>
   <uri>info:srw/diagnostic/1/10</uri>
   <message>Query syntax error</message>
   <details>Unable to convert query to internal query
model:null</details>
  </diagnostic>
</zs:diagnostics>
</zs:searchRetrieveResponse>

fwiw the equivalent spatial search using CSW GetRecords works as
expected.

Any ideas?

Thanks

..Tom

Hi Tom

I have debug the code and the org.z3950.zing.cql.CQLParser it's failing
with this:

org.z3950.zing.cql.CQLParseException: unknown first-class relation: within

that causes later in the code the error message you put in previous message:

I have tested in a 2.10 version, but probably is the same problem in 2.6.
Looks like within is not recognised, but unfortunately I have no clue about
this protocol. I hope the developers that worked in this can provide some
additional information.

Regards,
Jose García

On Wed, Jan 21, 2015 at 3:07 PM, Kralidis,Tom [Ontario] <
Tom.Kralidis@anonymised.com> wrote:

Hi: our GN 2.6 install is having problems realizing SRU based spatial
searches. Example invocation:

Request:

http://foo/sru/portal.sru?operation=searchRetrieve&recordSchema=ISO19139
&version=1.1&startRecord=1&maximumRecords=10&query=geo.bounds+within+%22
-141+42+-52+84%22

Response:

<zs:searchRetrieveResponse>
<zs:version>1.1</zs:version>
<zs:numberOfRecords/>
<zs:diagnostics>
  <diagnostic>
   <uri>info:srw/diagnostic/1/10</uri>
   <message>Query syntax error</message>
   <details>Unable to convert query to internal query
model:null</details>
  </diagnostic>
</zs:diagnostics>
</zs:searchRetrieveResponse>

fwiw the equivalent spatial search using CSW GetRecords works as
expected.

Any ideas?

Thanks

..Tom

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net/&gt; for
details. _________________________Jose GarcíaGeoCat bvVeenderweg 136721 WD
BennekomThe Netherlandshttp://GeoCat.net/>*