[GeoNetwork-devel] xml.search and similarity parameter

Dear all,

I am using Geonetwork 2.4.3 and run into some problems with the
xml.search service. I would like to use the 'similarity' parameter,
which should be possible according to
/web/geonetwork/docs/devmanual/eng/ch05.html. However, it does not
seem to work like I thought it would as
http://localhost/geonetwork/srv/en/xml.search?any=europ&similarity=0.2
gives the same number of results as
http://localhost/geonetwork/srv/en/xml.search?any=europ&similarity=1.

If I use the main.search.embedded service, similarity does seem to
work. http://localhost/geonetwork/srv/en/main.search.embedded?any=europ&similarity=0.2
gives more results than
http://localhost/geonetwork/srv/en/main.search.embedded?any=europ&similarity=1.
Same goes for using the web interface.

Am I overlooking something? Any help would be really appreciated.

Kind regards,

Ate

Hi Ate,

2010/8/10 Ate Poorthuis <atepoorthuis@anonymised.com>:

Dear all,

I am using Geonetwork 2.4.3 and run into some problems with the
xml.search service. I would like to use the 'similarity' parameter,
which should be possible according to
/web/geonetwork/docs/devmanual/eng/ch05.html. However, it does not
seem to work like I thought it would as
http://localhost/geonetwork/srv/en/xml.search?any=europ&similarity=0.2
gives the same number of results as
http://localhost/geonetwork/srv/en/xml.search?any=europ&similarity=1.

This has been fix in trunk. Check the changelog for r6311 if you want
to apply that to 2.4.3
http://trac.osgeo.org/geonetwork/ticket/251

HTH.

Francois

If I use the main.search.embedded service, similarity does seem to
work. http://localhost/geonetwork/srv/en/main.search.embedded?any=europ&similarity=0.2
gives more results than
http://localhost/geonetwork/srv/en/main.search.embedded?any=europ&similarity=1.
Same goes for using the web interface.

Am I overlooking something? Any help would be really appreciated.

Kind regards,

Ate

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Francois,

Yes, that works like a charm. Thanks for the quick pointer.

Kind regards,

Ate

On Tue, Aug 10, 2010 at 3:12 PM, Francois Prunayre
<fx.prunayre@anonymised.com> wrote:

Hi Ate,

2010/8/10 Ate Poorthuis <atepoorthuis@anonymised.com>:

Dear all,

I am using Geonetwork 2.4.3 and run into some problems with the
xml.search service. I would like to use the 'similarity' parameter,
which should be possible according to
/web/geonetwork/docs/devmanual/eng/ch05.html. However, it does not
seem to work like I thought it would as
http://localhost/geonetwork/srv/en/xml.search?any=europ&similarity=0.2
gives the same number of results as
http://localhost/geonetwork/srv/en/xml.search?any=europ&similarity=1.

This has been fix in trunk. Check the changelog for r6311 if you want
to apply that to 2.4.3
http://trac.osgeo.org/geonetwork/ticket/251

HTH.

Francois

If I use the main.search.embedded service, similarity does seem to
work. http://localhost/geonetwork/srv/en/main.search.embedded?any=europ&similarity=0.2
gives more results than
http://localhost/geonetwork/srv/en/main.search.embedded?any=europ&similarity=1.
Same goes for using the web interface.

Am I overlooking something? Any help would be really appreciated.

Kind regards,

Ate

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork