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
search endpoint #289
Comments
|
feel free to break down in separate issues |
|
yes because our current ranking could, uh, use some improvement. look at how jimsterling is doing itch.io tasty, he's definitely going past page 1 there's "targeted" searches where you're looking for 1 game, in which case it should definitely be in top 10 (first google page), and larger searches where you want everything that has to do with "word X" (yes, tags and categories and whatever exist but people use search for everything nowadays and I don't think they're wrong)
so we can paginate those separately? they're separate DB queries anyway. |
|
I do agree that our current search isn't the best. For topic searches we should be figuring out how to get people to the respective topic page, the browsing experience will always be better. For direct matches there should never be more than a handful of relevant results so pagination is less important. |
|
Currently |
|
@Mrmaxmeier |
|
@Mrmaxmeier so the real endpoint is |
|
@fasterthanlime whoops, I should've tried that. |
|
@Mrmaxmeier if you're working on search functionality in your fork, can you open an early PR so we can discuss it in the open and minimize duplicated effort ? |
|
@fasterthanlime sure, opened it in itchio/itch #231 |
|
API has game & creator search, I consider this closed. (For now!) |
|
@fasterthanlime a link please ? |
Separate endpoints for users, tags, and games:
/api/1/search/games?q=TERMetc. — so we can run concurrent queries
all paginated
games format is well-defined already
tags you can pretty much dump the model (description if there is one, etc.)
users, same as what there is in user fields in game response?
The text was updated successfully, but these errors were encountered: