Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Searching with "uni" gave more than usual results #192

Open
SwarnenduDasKW opened this issue Aug 14, 2020 · 2 comments
Open

Searching with "uni" gave more than usual results #192

SwarnenduDasKW opened this issue Aug 14, 2020 · 2 comments

Comments

@SwarnenduDasKW
Copy link

https://restcountries.eu/rest/v2/name/uni

The search returns Comoros, Jordan, Mexico and Myanmar!! Not sure what is logic behind partial text search.
image

@amatosg
Copy link

amatosg commented Aug 14, 2020

Well, Mexico's full name is United States of Mexico. Then you have Union of the Comoros and Republic of the Union of Myanmar. I'm trying to find out why is Jordan in the list.

EDIT: for Jordan, one of the translations reads "al-Mamlakah al-Urdunīyah al-Hāshimīyah", so Urdunīyah contains uni

@SwarnenduDasKW
Copy link
Author

Thank you for the explanation. Now it makes sense.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants