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

Incorrect multilingual searching #5660

Closed
OscarD31 opened this issue May 6, 2021 · 1 comment · Fixed by #5750
Closed

Incorrect multilingual searching #5660

OscarD31 opened this issue May 6, 2021 · 1 comment · Fixed by #5750

Comments

@OscarD31
Copy link

OscarD31 commented May 6, 2021

We are working with GeoNetwork 4.0.3 against a PostgreSQL database with multilingual metadata records. All our metadata records are in three languages: Spanish, English and Catalan.

The search engine doesn´t work properly on all the languages, it only works with the main language.

If we make a search in the main language (Spanish), the result is correct:

gn_issue_3

But if we perform a search in other language, even if the results appear on the dropdown list, when clicking on Search button, no result is returned:

gn_issue_4
gn_issue_5

We have also checked with terms that are not on the title of the metadata and GeoNetwork doesn´t return any result. In previous versions of GeoNetwork, all metadata fields were indexed and the terms of the search where looked for in any of them. Can you confirm it is the same for this version? Maybe there is a Elasticsearch setting we are not using.

Thanks for any help provided.

@fxprunayre
Copy link
Member

Consider reading #4727 when moving to 4.0.x. Multilingual support is still work in progress. Don't hesitate to contribute!

In you case, you may want to define which multilingual fields to search on. You could experiment changing queryBase https://geonetwork-opensource.org/manuals/4.0.x/en/customizing-application/configuring-search-fields.html?highlight=querybase#boosting-at-search-time in UI configuration ...

fxprunayre added a commit that referenced this issue Jun 15, 2021
Fixes #5660

Solve use case: search with a word in the non default lang title return no result

Then the question is what to do next eg. index translation in any field, choose language to search on depending on UI ...
fxprunayre added a commit that referenced this issue Jun 30, 2021
Fixes #5660

Solve use case: search with a word in the non default lang title return no result

Then the question is what to do next eg. index translation in any field, choose language to search on depending on UI ...
cmangeat pushed a commit to geoadmin/geocat that referenced this issue Jul 5, 2021
Fixes geonetwork/core-geonetwork#5660

Solve use case: search with a word in the non default lang title return no result

Then the question is what to do next eg. index translation in any field, choose language to search on depending on UI ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants