This topic is currently marked as "dormant"—the last message is more than 90 days old. You can revive it by posting a reply.
1lorax
See http://www.librarything.com/topic/56394 for the initial description of the problem. People went through a number of red herrings before we figured out what was going on, which I'm reposting from my post #6 in that thread:
It seems like, in a multiple-parameter search in which at least one of them is looking for tags, one or both parameters get switched to "all fields". I can replicate this behavior in my own library, where a "title:" search turns up only one book, but adding a tag search as well turns up a second book, which uses the original title field in my review. I tried to find a minimal example: a single correct book and a single spurious book. The order of search parameters does not matter.
First search (correctly finds one book):
http://www.librarything.com/catalog.php?view=lorax&deepsearch=title%3Ahothea...
Second search (wrongly finds a second book, after I add a search on tag as well (for a tag which appears on both books)):
http://www.librarything.com/catalog.php?view=lorax&deepsearch=tag%3Algbt+tit...
("hothead" appears only in my review of the second title that appears here.) It does not appear in any fields in any books other than these two.
Oh, one more permutation:
http://www.librarything.com/catalog.php?view=lorax&deepsearch=title%3Ahothea...
There are no books in my catalog that should meet these criteria -- however, Chicken Rules, the one that appears, has "Hothead" in the review.
It seems like, in a multiple-parameter search in which at least one of them is looking for tags, one or both parameters get switched to "all fields". I can replicate this behavior in my own library, where a "title:" search turns up only one book, but adding a tag search as well turns up a second book, which uses the original title field in my review. I tried to find a minimal example: a single correct book and a single spurious book. The order of search parameters does not matter.
First search (correctly finds one book):
http://www.librarything.com/catalog.php?view=lorax&deepsearch=title%3Ahothea...
Second search (wrongly finds a second book, after I add a search on tag as well (for a tag which appears on both books)):
http://www.librarything.com/catalog.php?view=lorax&deepsearch=tag%3Algbt+tit...
("hothead" appears only in my review of the second title that appears here.) It does not appear in any fields in any books other than these two.
Oh, one more permutation:
http://www.librarything.com/catalog.php?view=lorax&deepsearch=title%3Ahothea...
There are no books in my catalog that should meet these criteria -- however, Chicken Rules, the one that appears, has "Hothead" in the review.
5lorax
Still active, more than five years later. I'd repost to get it into the tracking system, but I don't really think that would help.
6lorax
Just a note that this has not been fixed by the switch to ElasticSearch announced at http://www.librarything.com/topic/180573
7jjwilson61
They know that already. But we have not moved over all the logic for specifying complex queries, like "tags:fiction summary:spanish."
9lorax
Bump. Now that the initial wrinkles with new search are ironed out, hopefully they can get this working properly over there.
10lorannen
>9 lorax: Mike's out for a while, so this may have to wait a week or so, since new search is his project. I'll keep it on my list of things to bring up with him when he returns!
11lorax
This is finally fixed, hooray! Too bad the bug was so old I won't get Exterminator badge credit for it.
12bnielsen
>11 lorax: I think it's a bug that you don't get extra extra credit for helping exterminate old bugs.



