search with "OR" operator

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

search with "OR" operator

Ndeville
Hello,

I'm creating thematic tiles on the home page of my geonetwork. To do that, I
use links with the keywords embedded in it to select the desired datasets
when users click on the tiles. Example of a link:

http://my-server/geonetwork/srv/eng/catalog.search#/search?keyword=geology

Some topic could correspond to different keywords so I try to build URL with
an "OR" operator such as:

http://my-server/geonetwork/srv/eng/catalog.search#/search?keyword=geologyORkeyword=snow

But I don't find the proper syntax.

Any idea?!
Thanks,
Nicolas



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html


_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: search with "OR" operator

Francois Prunayre
Hi Nicolas, keyword=geology or snow should work.
eg.
https://vanilla.geocat.net/geonetwork/srv/fre/catalog.search#/search?keyword=Eurasia%20or%20Africa

HTH
Francois

Le jeu. 9 mai 2019 à 13:04, Ndeville <[hidden email]> a écrit :

> Hello,
>
> I'm creating thematic tiles on the home page of my geonetwork. To do that,
> I
> use links with the keywords embedded in it to select the desired datasets
> when users click on the tiles. Example of a link:
>
> http://my-server/geonetwork/srv/eng/catalog.search#/search?keyword=geology
>
> Some topic could correspond to different keywords so I try to build URL
> with
> an "OR" operator such as:
>
>
> http://my-server/geonetwork/srv/eng/catalog.search#/search?keyword=geologyORkeyword=snow
>
> But I don't find the proper syntax.
>
> Any idea?!
> Thanks,
> Nicolas
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html
>
>
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: search with "OR" operator

Ndeville
Indeed it works.

Thanks!

Nicolas

On 9/05/19 13:17, Francois Prunayre wrote:
Hi Nicolas, keyword=geology or snow should work.
eg. https://vanilla.geocat.net/geonetwork/srv/fre/catalog.search#/search?keyword=Eurasia%20or%20Africa

HTH
Francois

Le jeu. 9 mai 2019 à 13:04, Ndeville <[hidden email]<mailto:[hidden email]>> a écrit :
Hello,

I'm creating thematic tiles on the home page of my geonetwork. To do that, I
use links with the keywords embedded in it to select the desired datasets
when users click on the tiles. Example of a link:

http://my-server/geonetwork/srv/eng/catalog.search#/search?keyword=geology

Some topic could correspond to different keywords so I try to build URL with
an "OR" operator such as:

http://my-server/geonetwork/srv/eng/catalog.search#/search?keyword=geologyORkeyword=snow

But I don't find the proper syntax.

Any idea?!
Thanks,
Nicolas



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html


_______________________________________________
GeoNetwork-users mailing list
[hidden email]<mailto:[hidden email]>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
Nicolas de Ville
Belgian Marine Data Centre (BMDC)
OD-Nature, Royal Belgian Institute of Natural Sciences
02/627.42.79
www.bmdc.be<http://www.bmdc.be>
geonetwork.bmdc.be

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork