-
Notifications
You must be signed in to change notification settings - Fork 7
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
Exact alias match does not appear in search results #76
Comments
We bump it to the top if the main title is an exact match. It should still move it higher if an alias is an exact match as well, but seems to not be. I am also wondering if the punctuation |
It seems the Removing the other punctation doesn't have an influence. Removing the dash or adding a space after it returns the correct match. It seems quoting the title also works. This search returns the correct match. Do you have more information on how the search works and which patterns it treats differently? The way things are now, I'd probably have to do a quoted search first and then fall back to regular search and strip out any characters the have a special meaning in the query. |
We use Solr for all searching and yeah it looks like
https://lucene.apache.org/solr/guide/6_6/the-standard-query-parser.html |
Thanks for the details! It seems I need to escape all the special characters:
It would be great if you could mention this in the API documentation, as it is quite useful to know what the query supports and what we need to watch out for. |
Thanks for confirming and yes great idea to add this to the docs. I just updated that. |
I'm trying to look up "KONOSUBA -God's blessing on this wonderful world!", which is the show's official title on Crunchyroll. This title exists as an alternative name on TMDB and it's returned by
/shows/konosuba-god-s-blessing-on-this-wonderful-world/aliases
.But searching for this exact title does not return the show.
/search/show?query=KONOSUBA%20-God%27s%20blessing%20on%20this%20wonderful%20world!
returns only different shows with low scores (< 2) and I couldn't find the show in the first couple of pages on the website's search.What's going on? If I search for a title that has an exact match with an alias, shouldn't that show appear at the top of the results?
The text was updated successfully, but these errors were encountered: