TIP of the day: Library filters

MJ. Smith
MJ. Smith MVP Posts: 53,407
edited November 20 in English Forum

1. Library filters are useful in several contexts: library, search and collections

2. The fields available in the filter are the fields of the metadata displayed in the library

3. A few fields need special attention:

  • myrating will only use ratings that you have entered; rating will use the rating you entered if one exists, otherwise it will use the community rating.
  • mytag will only use tags that you have entered; tags will use either your tags or community tags; communitytag will use only community tags
  • some fields are not available:  reading status, image, last updated, last accessed and most used
  • some fields are available but not documented: license, device

Treat these fields as you would terms in a basic search - the have the format of field name:value. Note that spaces around the colon are not permitted.

  • quotes are required around multi-word values e.g. type:"Bible commentary"
  • parens are required around multiple values with the same field identifier e.g. type:(Bible, monograph)
  • lists and logical operators (AND, OR, ANDNOT) may be used
  • wildcards * and ? can be used

Examples:

Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

Comments

  • MJ. Smith
    MJ. Smith MVP Posts: 53,407

    Today's beta made the information above obsolete with regards to the last updated field:

    New Features

    My Library

    Added support for “Updated Date” in Library Catalog query. (Thread, Thread, Thread, Thread, Thread and Thread.)
    Note: The current syntax doesn’t support (relative) ranges (e.g., “updated in last 7 days”).
    Example searches that are supported:

    • updateddate:2015
    • updateddate:2015-01-26
    • updateddate:20150126
    • updateddate:<Jan 2015>
    • updateddate:<Jan 26, 2015>
    • updateddate:<Jan-May 2014>
    • updateddate:<Date greater Jan 1, 2014>

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • Lew Worthington
    Lew Worthington Member Posts: 1,538 ✭✭✭

    I think the current syntax does support ranges like this:

    updateddate:<Date greater Dec 1, 2015> AND updateddate:<Date less Jan 1, 2016>

  • Bradley Grainger (Logos)
    Bradley Grainger (Logos) Administrator, Logos Employee Posts: 11,969

    I think the current syntax does support ranges like this:

    updateddate:<Date greater Dec 1, 2015> AND updateddate:<Date less Jan 1, 2016>

    It's even easier than that: updateddate:<Date Dec 1-31, 2015>

    Or simply, updateddate:<Dec 2015>

    The release notes were intended to say that "relative ranges" (relative to the current date) aren't supported, so you can't create a filter that always finds resources updated in the last 30 days (without hardcoding a date).

  • David Pereira
    David Pereira Member Posts: 33 ✭✭

    Along these lines, I was just looking for a way to create a Collection of "My New Books" which would automatically include all of the books that I've added to in the last 30 days.

    Since the Library display now has a Filter for "Added Last 30 days" I thought it would be easy to just specify that field in the rule for my New Books collection.  However, it looks like Logos hasn't given us a field name to use that specification in a rule . . yet!

    Where can I suggest that be included?  It should be easy since the Library already has that same function.

    Anyway, this is not as good, but what I'm using for my rule right now is simply this criteria:

      addeddate:<Date greater Mar 15, 2020>

    It works fine . . I'll just have to go in and edit the field each month which we really shouldn't have to do given the above suggestion.

  • Andrew Batishko
    Andrew Batishko Member, Administrator, Community Manager, Logos Employee Posts: 5,395