[GeoNode-users] Fwd: Implement the search for GeoNode for title fields, abstract and keywords
davicustodio at gmail.com
Mon Apr 13 10:50:57 PDT 2015
---------- Forwarded message ----------
From: Davi Custodio <davicustodio at gmail.com>
Date: Mon, Apr 13, 2015 at 1:58 PM
Subject: Re: [GeoNode-users] Implement the search for GeoNode for title
fields, abstract and keywords
To: Paolo Corti <pcorti at gmail.com>
Paolo, I'm starting to learn Django, so I still have difficulty identifying
some things. In my case, I would have the whole text search (both on the
top bar of the layers, as in the sidebar) was applied in the title,
abstract and keywords. I understand that in the case of key words I have to
implement a for iterating the words to apply the search. But do not know
where exactly (where classes) I should do it.
On Mon, Apr 13, 2015 at 10:55 AM, Paolo Corti <pcorti at gmail.com> wrote:
> GeoNode API in your Django project.
> I have to implement something like you are doing, but for tags
> associated to models not inheriting from ResourceBase.
> Therefore, in my urls.py:
> where TagResourceSimple is my custom implementation of the Tag API.
> Hope it helps
> On Mon, Apr 13, 2015 at 3:17 PM, Simone Dalmasso
> <simone.dalmasso at gmail.com> wrote:
> > Davi, you you want to change the left filter bar behavior then this is
> > place
> > and this folder for the templates as you are seeing
> > https://github.com/GeoNode/geonode/tree/master/geonode/templates/search.
> > Don't hesitate to ask!
> > 2015-04-13 15:08 GMT+02:00 Davi Custodio <davicustodio at gmail.com>:
> >> Hello. I'm trying to customize the GeoNode 2.4 and in other changes, i
> >> need to implement the main search find (besides the title field) in
> >> and and keywords fields. I was browsing through all project
> directories, and
> >> could not figure out exactly where I could change this search. I
> >> that in
> >> https://github.com/GeoNode/geonode/tree/master/geonode/templates/search
> >> folder are templates responsible for firing searches using Angular JS,
> but I
> >> could not understand exactly how the whole process works, and this
> would be
> >> the right spot to implement the change.
> >> Can anyone help?
> >> Thanks.
> >> --
> >> Davi de O. Custódio
> >> _______________________________________________
> >> geonode-users mailing list
> >> geonode-users at lists.osgeo.org
> >> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
> > --
> > Simone
> > _______________________________________________
> > geonode-users mailing list
> > geonode-users at lists.osgeo.org
> > http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti
Davi de O. Custódio
Davi de O. Custódio
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geonode-users