Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synonymes for another language are used despite the language detection #631

Open
okybaca opened this issue Mar 11, 2024 · 0 comments
Open
Labels
bug Indicates an unexpected problem or unintended behavior crawler

Comments

@okybaca
Copy link
Contributor

okybaca commented Mar 11, 2024

If synonymes are activated, the synonymes for a document are indexed even though the document is in other language than the synonymes dictionary.

As a result, unrelated words are indexed as synonymes, based on the similarity with other language words to the synonyme-dictionary.

Solution would be making synonymes generation language-dependent and use particular dictionary only for relevant language, based on the lang-detection. That would allow multiple synonymes dictionaries activated at the same time and choose the dictionary per document.

Present situation allows only indexing single language pages in one instance with synonymes, or switching the synonymes off completely.

@okybaca okybaca added bug Indicates an unexpected problem or unintended behavior crawler labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior crawler
Projects
None yet
Development

No branches or pull requests

1 participant