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

Enhancement on api filter text? #177

Closed
daffychuy opened this issue Jun 19, 2018 · 2 comments
Closed

Enhancement on api filter text? #177

daffychuy opened this issue Jun 19, 2018 · 2 comments

Comments

@daffychuy
Copy link

Hello,
So I've noticed when I search up a particular anime like "100% Pascal-sensei" on kitsu.io, it returns the two version (1 TV and 1 OVA)
but if I go to https://kitsu.io/api/edge/anime?filter[text]=100%20Pascal-sensei, it gives a huge chunk of anime that are related and none related. Is there a way to narrow down to how the main page search does it?

Thanks!

@wopian
Copy link
Owner

wopian commented Jun 19, 2018

The site uses a new search engine called Algolia which has much better matching results (and faster). The API search with filter[text] is still using the old ElasticSearch engine which is much looser on matching things. API search will probably switch over to Algolia at some point, but I don't see it happening any time soon.


General questions about Kitsu.io's API are better suited over at https://github.com/hummingbird-me/hummingbird, on Kitsu's Slack group (email @JoshFabian) or sending me a message on my Kitsu profile

@daffychuy
Copy link
Author

Ahh okay, that explains why now.

And sorry about posting at the wrong place, did not see the hummingbird github, searched for kitsu and this one came up.

Thanks!

@wopian wopian closed this as completed Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants