Library: how to match empty field?

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

Posts 878
Kolen Cheung | Forum Activity | Posted: Sun, Feb 17 2019 4:22 AM

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.

Posts 9758
Forum MVP
NB.Mick | Forum Activity | Replied: Sun, Feb 17 2019 4:30 AM

Kolen Cheung:
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:* 

Running Logos 8 latest beta version on Win 10

Posts 878
Kolen Cheung | Forum Activity | Replied: Sun, Feb 17 2019 4:53 AM

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?

Posts 2005
LogosEmployee

Kolen Cheung:
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}

Posts 1682
Forum MVP
Reuben Helmuth | Forum Activity | Replied: Sun, Feb 17 2019 10:26 AM

For this particular scenario, you really don't need to construct any search at all. You can find these resource in two easy ways.

  1. Select the "None" filter at the top of the list in the Series facet in the filter sidebar
  2. 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...

Posts 878
Kolen Cheung | Forum Activity | Replied: Sun, Feb 17 2019 2:03 PM

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.

Posts 24360
Forum MVP
Dave Hooton | Forum Activity | Replied: Mon, Feb 18 2019 2:39 AM

Kolen Cheung:
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 & Android

Page 1 of 1 (7 items) | RSS