HYSTACK SEARCH causing issues with elasticsearch docker image
Do you have more info? I am in this part of the codebase on a custom geonode project and can help debug.
Originally I got 0 results after I loaded more than 500 layers. What was happening was elasticsearch did not like the "list of ids" that geonode sends when it is too large and was just returning zero results.
In order to continue forward I enabled SKIP_* and tweaked the code a bit.
Currently not, except some weird behavior experienced today by @ppasq
Most probably that part should be refactorized from scratch by using elastisearch-dsl instead of django-haystack
Just to summerize what I experienced:
- The layers count corresponds to the number of listed layers but it is different from what is reported in the filter type (sum of types). The latter is correct. Can't understand why some are listed while others not.
- The username does not appear in the resourcebase_snippet and points to a broken url (/layers/people/profile/username?!?)
- The group does not appear as well.
- The icon (e.g. vector data) before the layer name does not appear (no error though).
- No javascript errors in the page.
Grazie Paolo,
I should be able to look into this as part of the secondary cities project in the coming weeks. Will keep this issue updated.