You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing entries in searching with the new indexing #13807
We may want to use the same language tokenizer for both storing and querying.
The local default language may work, as the simple tokenizer.
Let's got for the local language.
This looks strange at first — why turn keny → keni?
But it’s not random:
✔️ Explanation
With a wildcard (:*), PostgreSQL still applies stemming unless the word exactly matches the dictionary as-is.
The English stemmer tries to find the morphological base.
“keny” is not a valid English word, so the stemmer tries to reduce it.
The Porter stemmer sometimes rewrites stems to normalize them — in this case, it produces "keni" as the stem.
(You can see similar effects with words like “pony” → “poni”, “enemy” → “enemi”, etc.)
Activity
etj commentedon Dec 10, 2025
The index is created with the default language:
geonode/geonode/indexing/manager.py
Lines 55 to 56 in f5df740
but the query is created using the user currently selected language:
geonode/geonode/indexing/api/filters.py
Lines 48 to 59 in f5df740
The tokenizer may not match.
We may want to use the same language tokenizer for both storing and querying.
The local default language may work, as the
simpletokenizer.Let's got for the local language.
[Fixes #13807] Missing entries in searching with the new indexing
etj commentedon Dec 10, 2025
ChatGPT says:
This looks strange at first — why turn keny → keni?
But it’s not random:
✔️ Explanation
(You can see similar effects with words like “pony” → “poni”, “enemy” → “enemi”, etc.)
[Fixes #13807] Missing entries in searching with the new indexing
etj commentedon Dec 10, 2025
Ok, the
simpleconfiguration is a better shot.Let's keep the indexing language agnostic to avoid unexpected stemming.
[Fixes GeoNode#13807] Missing entries in searching with the new indexing