omdbapi / OMDb-API

The Open Movie Database Bug Tracking
418 stars 21 forks source link

Title Search is too specific. (might do better to ignore spaces and punctuation in search request) #233

Open dracolithium opened 3 years ago

dracolithium commented 3 years ago

Forgetting a space or a semicolon in the title search returns other items than what was expected. An example: searching 'Starwars', not 'Star Wars' returns unintended movies (i.e. not the George Lucas Star Wars films).

Perhaps by ignoring spaces and punctuation in the title search will help. Essentially placing these other films in the same results as the Star Wars films, while having the intended, more popular Lucas SW films show at the top.

ahmed7am1d commented 3 years ago

it is a problem right but you can solve it by adding % or try to do some elimination inside your implementation.