7.12 beta 2: Bug when parsing library filter

I was trying to create some academic collections, and I think I've come across an obscure bug in the library filtering code. That is, filtering fails with some complex criteria:
The following returns zero results:
- title:"Lexicon of the New Testament" OR (author:liddell title:lexicon)
Adding "AND", which isn't documented as being necessary, corrects the issue:
- title:"Lexicon of the New Testament" OR (author:liddell AND title:lexicon)
There are situations where adding AND doesn't correct the issue.
- type:lexicon AND (series:theological, title:hebrew, (author:liddell AND title:lexicon))
In this case, replacing the commas with ORs does correct the issue:
- type:lexicon AND (series:theological OR title:hebrew OR (author:liddell AND title:lexicon))
These criteria aren't actually useful, but they should return results. I created them to show the bug, as the original criteria which triggered the bug was very complex.
This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!
Comments
-
Generally whenever the search engine doesn't understand the query, it falls back to treating things it doesn't understand as plain text terms. That means that your first search is actually searching for title:"Lexicon of the New Testament" AND "OR" AND author:liddell AND title:lexicon, which is why it returns no results.
These failures result from unsupported usages of the implicit AND operator (in the first case) and the list operator (in the second case). I've created a case to support these scenarios.
Andrew Batishko | Logos software developer
0 -
These failures result from unsupported usages of the implicit AND operator (in the first case) and the list operator (in the second case). I've created a case to support these scenarios.
Thanks, Andrew.
This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!
0