Library: how to match empty field?
e.g. I want to perform a search of resources that has empty Series (i.e. not in a series)
Example like these doesn't work:
series: ""
{Series ""}
c.f. https://wiki.logos.com/library which doesn't seem to have info on searching empty fields.
Comments
-
Kolen Cheung said:
e.g. I want to perform a search of resources that has empty Series (i.e. not in a series)
This would be all of your library ( * ) minus those that are in any series (series:*), i.e.: * -series:*
Have joy in the Lord!
0 -
Thanks. Interesting, so a negation of a wild card is needed. A bit counter intuitive then to match an empty string (which should be completely valid.) May be this should be regarded as feature request?
0 -
Kolen Cheung said:
c.f. https://wiki.logos.com/library which doesn't seem to have info on searching empty fields.
That page doesn't seem to mention that you can use {Series None}
Andrew Batishko | Logos software developer
0 -
For this particular scenario, you really don't need to construct any search at all. You can find these resource in two easy ways.
- Select the "None" filter at the top of the list in the Series facet in the filter sidebar
- In the details view, make sure the series column is enabled then click on its header to sort by series (preferably ascending as that will put the ones you want at the top of the list). See the screenshot...
0 -
Thanks both. Actually I was constructing a more complicated search where part of it is to match empty series.
The None syntax is exactly what it should be used, I had thought about it (given this is what would have been done in Python) but didn’t even give its try since Logos is no Python and I thought it would just mean matching a Series called None in Logos.
Did you just add the mentionjng of None in that page? Another suggestion of using Any is mentioned there but it doesn’t work for me.
0 -
Kolen Cheung said:
Did you just add the mentionjng of None in that page? Another suggestion of using Any is mentioned there but it doesn’t work for me.
None and Any are mentioned in this section But they only work with a few fields in Exact Match {...} syntax e.g. {MyTag Any}, {MyTag None}, {Series Any},
Dave
===Windows 11 & Android 13
0