[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1210: Csw constraint parsing fails to parse expressions numeric with numeric fields

#1210: Csw constraint parsing fails to parse expressions numeric with numeric
fields
-------------------------+--------------------------------------------------
Reporter: jesseeichar | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
-------------------------+--------------------------------------------------
Csw constraint parsing fails to parse expressions numeric with numeric
fields like: northBL the constructed object is not a Numeric Range object
and thus fails to correctly search for those elements.

A possible fix is to use the StandardQueryParser which appears to be a
more flexible parser and specify the numeric fields using the
LuceneConfig.

See https://github.com/geonetwork/core-
geonetwork/commit/2a271f41be18a1d104e0137f0ce2e68300d02c26

for the patch

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1210&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.

#1210: Csw constraint parsing fails to parse expressions numeric with numeric
fields
-------------------------+--------------------------------------------------
Reporter: jesseeichar | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Keywords: |
-------------------------+--------------------------------------------------

Comment(by jesseeichar):

A bug fix is in this commit as well: https://github.com/geonetwork/core-
geonetwork/commit/6da4efd45ffeb5c250712e23bdb39f32b3a0250e

The new parser does not always create BooleanQueries so this check is
needed.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1210#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.

#1210: Csw constraint parsing fails to parse expressions numeric with numeric
fields
--------------------------+-------------------------------------------------
  Reporter: jesseeichar | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.9.0
Component: General | Version: v2.8.0RC2
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by jesseeichar):

  * status: new => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1210#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.