[GeoNetwork-devel] [GeoNetwork opensource Developer website] #569: Using Stop words can construct illegal phrases

#569: Using Stop words can construct illegal phrases
-------------------------+--------------------------------------------------
Reporter: jesseeichar | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.5
Component: General | Version: v2.6.3
Keywords: |
-------------------------+--------------------------------------------------
Suppose you make the phrase query:

the biggest

if you are using english stop words then 'the' is removed and the new
phrase is ' biggest' (notice the space before biggest). Since spaces are
removed when a metadata is indexed the phrase cannot find a match.

The solution I came up with is to do a check when constructing phrases to
ensure that a term being added to the phrase has content, if not it will
be discarded.

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