[GeoNode-devel] How to activate Keywords searches in Header Search

Simone Dalmasso simone.dalmasso at gmail.com
Wed Mar 29 02:34:39 PDT 2017


Ciao Dimitris, the ResourceBase autocomplete does not search on related
objects like keywords or regions but there are dedicated autocomplete
endpoints for regions and keywords . You would have to develop such
functionality. see this file
https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/autocomplete_light_registry.py

2017-03-29 10:52 GMT+02:00 Dimitris Karakostis <
karakostis.dimitris at gmail.com>:

>
>
> I am interested in extending the Header Search of GeoNode so that it works
> also for keywords. Reading the thread here: https://goo.gl/At6r4l I
> understand that the Header Search uses autocomplete.
> And actually it seems here ( https://goo.gl/xAVjxh ) that the Regions and
> Keywords search along with the layer's title is activated. However when
> searching for specific keywords doesn't return anything back.
> I've noticed when making a Search this is the URL sent:
> http://geonode.wfp.org/autocomplete/ResourceBaseAutocomplete/?q=test . I
> am not sure if this URL apply for keywords or regions search - requests.
>
>
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20170329/143cf6ff/attachment.html>


More information about the geonode-devel mailing list