@jslack: Sure, I just ran a few tests of the web api's "search" resource. It doesn't seem like anything has changed, though?
For example, I tried searching for "batman arkham asylum". First I used this regular, unmodified query:
http://www.comicvine.com/api/search/?api_key=MY-API-KEY&format=xml&limit=100&resources=volume&field_list=name&query=batman%20arkham%20unhinged
I get back 825 results (basically any volume that has "batman", "arkham" or "asylum" in its name.)
Then I tried it again, but inserted "AND" into the string:
http://comicvine.com/api/search/?api_key=MY-API-KEY&format=xml&limit=100&resources=volume&field_list=name&query=batman%20AND%20arkham%20AND%20unhinged
I get 3 results: the three volumes named "Batman: Arkham Asylum". I think this is the ideal behaviour, so last week I modified my app to insert "AND" into all its search queries. I haven't heard any complaints about the search feature in the latest version of my app, so I can say pretty confidently that searching with "AND" is working well.
However, I think the regular search (without "AND") is returning far too many results. Perhaps it's possible to make it automatically treat the search expression as though there was an "AND" between each word? That's how the web API's search resource behaved up until last month.
Log in to comment