Smart Query Syntax
The following are properties you can use to create smart queries to get the results you want. You can use the interface to create your smart query or create a smart query manually.
Creating a smart query manually, allows you to create more complex custom smart queries.
Combine the properties with logical operators to create a custom smart query that results in quickly finding the books you want.
Each property has filter conditions to narrow down the search and options available that correspond to your library. Here's how to use each filter condition when creating a smart query manually.
Searches for text are always case insensitive. For example, when searching for "example", any occurrence of "example" is found, such as "example", "Example", and "EXAMPLE".
- Filter Conditions
- Properties
- Smart Query Examples
Click the following filter conditions to see examples of how to use them. To find all books with "jeeves" in the title: To find all books that do not have "jeeves" in the title: To find all books that are not in any series: To find all books that are in any series: To find all books that you have read more than 10% of: To find all books added less than one week ago:Contains
title:"jeeves"Doesn't contain
not title:"jeeves"Is empty
not series:*Is not empty
series:*Greater than
progress:>"10"Less than
added:<"1 weeks ago"
Click the following properties to see examples of how to use them in a manual query. To find all books with specific text in the title: To find all books with specific text in the summary: To find all books with specific tags: If you're only searching for one tag, you do not need the parentheses: To find all books by more than one author: If you're only searching for one author, you do not need the parentheses: To find all books in more than one series: If you're only searching for one series, you do not need the parentheses: To find all books in specific lists: Books found using the above smart query will be in both lists. To find all books in either list, use "or" instead of "and". The following options are available for lists: To find all books on specific custom shelves: You can add any custom shelves to this smart query, except for smart shelves. If you're only searching for one bookshelf, you do not need the parentheses: To find all books in specific categories: If you're only searching for one category, you do not need the parentheses: For a full list of categories, use the Smart Query dialog. To find all books in a particular language: Here are some of the languages available with the abbreviations to use in a manual smart query. For a full list of languages, use the Smart Query dialog. To find all books you have made a certain percentage of progress in: To find all books added within a certain amount of time: The following options are available for the time frame: To find all books last read within a certain amount of time: The following options are available for the time frame: To find all books of a certain size: For the unit of measurement, you can specify the following abbreviations: If you do not specify a unit of measurement, To find all books with less than or greater than a certain number of highlights: To find all books that are in a specific format: To find multiple formats: Do not use The available formats are: To find all books that are in a specific format: The available types are: To find all books published within a certain amount of time or date: The following options are available for the time frame: To find all books based on the privacy assigned to those books: The following options are available for privacy: To find all books on specific friends list : You can add any custom friends list to this smart query. If you're only searching for books shared with one friend list, you do not need the parentheses:title
title:"jeeves"summary
summary:"jeeves"tags
tags:("comedy","humor")tags:"comedy"authors
authors:("Agatha Christie","Dorothy L. Sayers")authors:"Agatha Christie"series
series:("Hercule Poirot","Lord Peter Wimsey")series:"Hercule Poirot"lists
lists:"currently_reading" and lists:"plan_to_read"lists:"currently_reading" or lists:"plan_to_read"
shelves
shelves:("British Mysteries","Comedy")shelves:"British Mysteries"categories
categories:("Humor & Entertainment","Mystery, Thriller & Suspense")categories:"Humor & Entertainment"language
language:"en"
progress
progress:<"10"added
added:<"1 weeks ago"
last_read
last_read:<"10 days ago"
file_size
file_size:>"1GB"
K or KB for kilobytesM or MB for megabytesG or GB for gigabytes.bytes will be used by default.highlights_count
highlights_count:>"10"format
format:"epub"format:"epub" or format:"pdf"and in the above smart query. That would mean that one book is in two formats at once.
type
types:"book"
Published
published:<"1 weeks ago"
Privacy
privacy:"friends"
Friends List
friend_lists:("Close","Open Minded")friend_lists:"Close"
Here are some examples of more complex manual smart queries you might want to do:
-
Find books with the fiction tag that don't belong to any shelf:
tags:fiction and not shelves:* -
Find completed books that either have the fiction tag or belong to the "Literature & Fiction" category:
lists:completed and (tags:fiction or categories:"Literature & Fiction") -
Find books that got added earlier than 1 week ago and aren't marked as Plan to Read or Completed:
added:<"1 week ago" and not lists:(plan_to_read, completed) -
Find books that have No Summary or Description:
not summary:*