5.1a: BUG: Quoted Library filter spans across fields when it shouldn't.

Page 1 of 1 (7 items)
This post has 6 Replies | 0 Followers

Posts 18867
Rosie Perera | Forum Activity | Posted: Thu, Aug 29 2013 6:25 PM

I filtered my library to see if I had a tag called "NTStudies-Paul":

I didn't, but it found a book nonetheless. I found that odd. My tags for that book are as follows:

Trying to figure out how it was picked up by "NTStudies-Paul," I tried it with a space instead of a hyphen. Same result.

Then I tried mytag:"NTStudies Paul"; that didn't find it. So I tried tag:"NTStudies Paul"; that did find it. Hmm, the plot thickens.

The community tags for this book are as follows (no "NTStudies" in there at all).

I figured that what must have happened is that my NTStudies tag which is the last of my tags was abutted up against the first of the community tags (paul) such that the phrase "NTStudies Paul" matched.

Tried another experiment: "paul theology" to see if it would match this book (which has those two tags adjacent to each other), and voila, it matched.

Tried another experiment: "earlychurchfathers hermeneutics" and sure enough, it confirms my theory:

A filter with quotes around it should match only an exact phrase, and should not span across different fields or different tags. Unexpected results could ensue.

Posts 10660
Forum MVP
NB.Mick | Forum Activity | Replied: Fri, Aug 30 2013 12:00 AM

Rosie Perera:
A filter with quotes around it should match only an exact phrase

I think we had this topic come up in another search-related bug-nonbug discussion. Back then, Bradley explained that the Logos search engine does break up search terms in quotes since the match actually runs against the index which contains no punctuation and no text strings, but only words.

Thus I assume, your examples might prove to Logos "works as designed" (even not as "as expected"). 

Forgive my ignorance, but with your mytag: vs tag: search you seem to actually disprove your thread title, since the community tags are not interpreted as mytags (spanning the field), however, as I see it, the isssue is that the text within qoutes should come from one of the tags, not be aggregated from multiple partial hits from several tags.  

Running Logos 8 latest beta version on Win 10

Posts 25664
Forum MVP
Dave Hooton | Forum Activity | Replied: Fri, Aug 30 2013 12:05 AM

Rosie Perera:
A filter with quotes around it should match only an exact phrase

I agree it should match within a single field/tag. But it is complicated by the use of the hyphens e.g. "N.T.1-John" will find N.T.1 John in Subjects, and "N.T.-commentaries" will find N.T.--commentaries in Subjects. So if a phrase is to be an exact match then use of these terms will be wrecked.

Also, "bible-illustrations-pictorial" will match bible--illustrations.; pictorial works.  ==> spanning two values in Subjects. So how exact do you want it to be?  Strict match = "bible-illustrations-pictorial-works" or no match because it is not the same as bible-illustrations AND pictorial-works?

Dave
===

Windows 10 & Android 8

Posts 18867
Rosie Perera | Forum Activity | Replied: Fri, Aug 30 2013 12:44 AM

NB.Mick:
Forgive my ignorance, but with your mytag: vs tag: search you seem to actually disprove your thread title, since the community tags are not interpreted as mytags (spanning the field),

Yes, community tags also have this behavior of quoted search strings spanning multiple tags which I think is weird even if it's by design.

NB.Mick:

however, as I see it, the isssue is that the text within qoutes should come from one of the tags, not be aggregated from multiple partial hits from several tags.  

Yes, that's precisely the issue I was trying to communicate, but I didn't state it as succinctly as you did.

Dave Hooton:
I agree it should match within a single field/tag. But it is complicated by the use of the hyphens e.g. "N.T.1-John" will find N.T.1 John in Subjects, and "N.T.-commentaries" will find N.T.--commentaries in Subjects. So if a phrase is to be an exact match then use of these terms will be wrecked.

No, it wouldn't be wrecked. I meant exact match ignoring punctuation. I know that punctuation is treated specially or ignored, as is the case for phrase searches in the Search tab. And of course I meant it could be a substring of the tag (for example "bible-illustrations" should match "bible-illustrations-pictorial-works")

Dave Hooton:
Also, "bible-illustrations-pictorial" will match bible--illustrations.; pictorial works.  ==> spanning two values in Subjects. So how exact do you want it to be?  Strict match = "bible-illustrations-pictorial-works" or no match because it is not the same as bible-illustrations AND pictorial-works?

I would not want it to span two values. If I had entered "bible-illustrations" AND "pictorial-works" I would expect it to match resources with either bible--illustrations.; pictorial works or with bible-illustrations-pictorial-works in their metadata. However, I would expect "bible-illustrations-pictorial-works" to match only the latter.

Posts 1258
LogosEmployee
Dylan Rondeau | Forum Activity | Replied: Wed, Sep 18 2013 3:02 PM

NB.Mick:
the isssue is that the text within qoutes should come from one of the tags, not be aggregated from multiple partial hits from several tags.  

I have created a case for development to investigate this issue, and linked to this thread.

Dylan Rondeau, Software Tester

Enable Logging: Mac | Windows (Right-click "Save As...")

Posts 25664
Forum MVP
Dave Hooton | Forum Activity | Replied: Wed, Sep 18 2013 7:09 PM

Thanks, Dylan.

Dave
===

Windows 10 & Android 8

Posts 1258
LogosEmployee
Dylan Rondeau | Forum Activity | Replied: Mon, Oct 7 2013 12:19 PM

NB.Mick:
the isssue is that the text within qoutes should come from one of the tags, not be aggregated from multiple partial hits from several tags.  

This should be fixed in 5.2 Beta 1 and a Stable release to follow.

Dylan Rondeau, Software Tester

Enable Logging: Mac | Windows (Right-click "Save As...")

Page 1 of 1 (7 items) | RSS