[GeoNetwork-users] minus in keyword

Hi all,

we are having difficulties with keywords which do contain one or more minuses, for instance: "Fisheries - low income"

These keywords do show up in the advanced search keywords popup, but a search results in zero results.

Does anybody else has experience which such kind of keywords? Do we need to escape them before they get passed to Lucene?

BTW, when I use the Lucene Luke tool, I can query successfully for these keywords using a org.apache.lucene.analysis.KeywordAnalyzer

Any help or comments much appreciated
Frank

Hi Frank,
Could you create a Ticket for this in our trac? http://trac.osgeo.org/geonetwork/newticket
(you need an account that you can create at http://www.osgeo.org )
Thanks in advance,
Jeroen

On 20 apr 2010, at 12:45, FrankL wrote:

Hi all,

we are having difficulties with keywords which do contain one or more
minuses, for instance: "Fisheries - low income"

These keywords do show up in the advanced search keywords popup, but a
search results in zero results.

Does anybody else has experience which such kind of keywords? Do we need
to escape them before they get passed to Lucene?

BTW, when I use the Lucene Luke tool, I can query successfully for these
keywords using a org.apache.lucene.analysis.KeywordAnalyzer

Any help or comments much appreciated
Frank

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
Best Open Source Mac Front-Ends 2024
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

Sure! Ticket created: http://trac.osgeo.org/geonetwork/ticket/213

best regards
Frank

On 21/04/10 15:38, Jeroen Ticheler wrote:

Hi Frank,
Could you create a Ticket for this in our trac? http://trac.osgeo.org/geonetwork/newticket
(you need an account that you can create at http://www.osgeo.org )
Thanks in advance,
Jeroen

On 20 apr 2010, at 12:45, FrankL wrote:

Hi all,

we are having difficulties with keywords which do contain one or more
minuses, for instance: "Fisheries - low income"

These keywords do show up in the advanced search keywords popup, but a
search results in zero results.

Does anybody else has experience which such kind of keywords? Do we need
to escape them before they get passed to Lucene?

BTW, when I use the Lucene Luke tool, I can query successfully for these
keywords using a org.apache.lucene.analysis.KeywordAnalyzer

Any help or comments much appreciated
Frank

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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