Full Text Search
Komga leverages Full Text Search (FTS hereafter) to provide relevant results from your libraries.
- FTS will order results by relevance
- FTS is case-insensitive
- When searching with CJK characters (Chinese, Japanese, Korean), a minimum of 2 characters is required.
- The order of words is not important:
batman robinwill matchRobin & Batman - To search by words in order, enclose your search in
":"white knight"will not matchknight whitenorwhite and knight - By default, the search will match the item title. For Books, the ISBN will also be matched by default.
- You can use the
AND,ORandNOToperators (UPPERCASE) to build complex queries:batman NOT publisher:dcwill match allBatmanseries not published by DC Comicsbatman OR robinwill matchBatmanorRobinbatman AND (robin OR superman)will matchSuperman & BatmanandBatman & Robinwriter:remender penciller:murphy
- You can perform range queries using the
[a TO b]syntax. Example:release_date:[1990 TO 2000]. Note that the matching is lexicographic, not numerical. You can also use wildcards:release_date:[2010 TO *].
Some extra fields are available for search using the field:search syntax, see after.
Series additional fields
publisher. Example:publisher:vertigostatus- Possible values:
ongoing,ended,hiatus,abandoned - Example:
status:hiatus
- Possible values:
reading_direction- Possible values:
left_to_right,right_to_left,vertical,webtoon - Example:
reading_direction:right_to_left
- Possible values:
age_rating. Example:age_rating:12language. Example:language:frtagwill search any tag, whether it is set at Series or Book level. Example:tag:actionseries_tagwill search series tags onlybook_tagwill search book tags onlygenre. Example:genre:actionauthorwill search authors with any role. Example:author:(sean murphy)- You can also search by specific role. Example:
writer:remender - Possible role values are:
writer,penciller,letterer,inker,editor,cover,colorist
- You can also search by specific role. Example:
book_count, which is the number of books present in that Series. Example:book_count:1total_book_count. Example:total_book_count:100release_datewill search by year released. Example:release_date:1999deletedwill search soft-deleted series. Example:deleted:trueordeleted:falsecompletewill search complete series, ie series where the total book counts (from metadata) is equals to the actual book counts (number of files). Example:complete:trueorcomplete:falsesharing_label. Example:sharing_label:kids
Book additional fields
tagwill search any tag. Example:tag:"double pages"authorwill search authors with any role. Example:author:(sean murphy)- You can also search by specific role. Example:
writer:remender - Possible role values are:
writer,penciller,letterer,inker,editor,cover,colorist
- You can also search by specific role. Example:
release_datewill search by year released. Example:release_date:1999status- Possible values:
ready,unknown,error,unsupported,outdated - Example:
status:(error OR unsupported)
- Possible values:
deletedwill search soft-deleted books. Example:deleted:trueordeleted:falseoneshotwill search for One-Shots only. Example:oneshot:trueoroneshot:false
Some additional Series fields will be available if the book is a One-Shot:
publisherstatus, which should always beendedreading_directionage_ratinglanguagegenresharing_labelcomplete, which will always betrue