Multi-parameter searches forced to "All Fields"

TalkBug Collectors

Join LibraryThing to post.

Multi-parameter searches forced to "All Fields"

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
Feb 2, 2009, 8:50 pm

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.

2saltmanz
Feb 5, 2009, 6:28 pm

Thanks for posting this. Bump.

3lorax
Feb 26, 2009, 12:58 pm

Bump. This seems to still be active based on this report:

http://www.librarything.com/topic/58764

4lorax
Jun 9, 2009, 5:10 pm

Bump. Still active, as reported here:

http://www.librarything.com/topic/66472

5lorax
Edited: Sep 11, 2014, 8:49 pm

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
Sep 16, 2014, 12:10 pm

Just a note that this has not been fixed by the switch to ElasticSearch announced at http://www.librarything.com/topic/180573

7jjwilson61
Sep 16, 2014, 12:15 pm

They know that already. But we have not moved over all the logic for specifying complex queries, like "tags:fiction summary:spanish."

8lorax
Sep 16, 2014, 12:16 pm

7>

I'm not actually convinced they even knew this was broken.

9lorax
Oct 8, 2014, 11:16 am

Bump. Now that the initial wrinkles with new search are ironed out, hopefully they can get this working properly over there.

10lorannen
Oct 8, 2014, 1:56 pm

>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
Oct 27, 2014, 2:25 pm

This is finally fixed, hooray! Too bad the bug was so old I won't get Exterminator badge credit for it.

12bnielsen
Edited: Oct 27, 2014, 6:27 pm

>11 lorax: I think it's a bug that you don't get extra extra credit for helping exterminate old bugs.