[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1051: Lucene searches for two keywords separated by dash return no result

#1051: Lucene searches for two keywords separated by dash return no result
------------------------------------+---------------------------------------
Reporter: vsinceac | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: minor | Milestone: v2.6.4
Component: General | Version: v2.6.4
Keywords: Lucene, keywords, dash |
------------------------------------+---------------------------------------
Found this for GN 2.6.4, I did not try other releases.

Example found on the fao geonetwork (also 2.6.4):
[http://www.fao.org/geonetwork/srv/en/main.home\]

There is one metadata containing "WOFOST-based" in Abstract. Here below
some simple searches by keywords (with or wihtout "", as result is the
same) for region=any, and the corresponding result:

      "WOFOST based" -> OK (1)
      "WOFOST-based" -> NOK (0)
      "WOFOST?based" -> NOK (0)
      "WOFOST*based" -> NOK (0)
      "WOFOST/based" -> OK (1)
      "WOFOST - based" -> OK (1)
      "WOFOST ?based" -> NOK (0)
      "WOFOST? based" -> NOK (0)

Is this the expected behavior? Should I clean the keywords list for "-"
(and other chars?) before sending the get query?

On the same geonetwork, both searches "November 2003 - June 2004" and
"November 2003 June 2004" return the same results (containing "November
2003 - June 2004" in Abstract).

Thanks,
   Victor

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1051&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.

#1051: Lucene searches for two keywords separated by dash return no result
------------------------------------+---------------------------------------
Reporter: vsinceac | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: minor | Milestone: v2.6.5
Component: General | Version: v2.6.4
Keywords: Lucene, keywords, dash |
------------------------------------+---------------------------------------
Changes (by ianwallen):

  * milestone: v2.6.4 => v2.6.5

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1051#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.