3/search/movie sort by
-
Travis Bell
Usually people post on the forums and I'll create a ticket if is warranted. It's not a big deal.
What are you trying to sort by? What is it that /3/search/movie is doing that you're not expecting?
-
Iblop
First, thx for the response. :)
I`m trying to sort by release date.
for now, i got something like this:page.js
- ask for data: ("3/search/movie") in page 1 -> variable
- ask for data: ("3/search/movie") in page 2 -> add to variable
- ask for data: ("3/search/movie") in page 3 -> add to variable
- ...
- build a array with all the results from those varialbes, order them by release date and I use this new array in the autocomplete
But, for doing this I have to make alot of requests with a loop over all pages results. I think that it may wast time and even overload the api
Assuming that an autocomplete will use only some of the most corresponding results
(Sorry for my english) -
Travis Bell
I don't have any intention on providing a sort_by option for the search method.
Search is only as good as your input and I've never seen our results not provide what you're looking for (with a half decent search term) in the first page.
For the autocomplete you're building, are you using the search_type=ngram option? Everything is weighted by score and popularity.
-
Iblop
Yes, it is. I will try to let it showing only first page.
Thx for this awesome api and all the support! -
Travis Bell
- State changed from new to invalid
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.