mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
4502569b90
commit
2b23d75f13
@ -969,7 +969,8 @@ class DB:
|
|||||||
return self.fts.queue_job(book_id, fmt, path, fmt_size, fmt_hash)
|
return self.fts.queue_job(book_id, fmt, path, fmt_size, fmt_hash)
|
||||||
|
|
||||||
def commit_fts_result(self, book_id, fmt, fmt_size, fmt_hash, text, err_msg):
|
def commit_fts_result(self, book_id, fmt, fmt_size, fmt_hash, text, err_msg):
|
||||||
return self.fts.commit_result(book_id, fmt, fmt_size, fmt_hash, text, err_msg)
|
if self.fts is not None:
|
||||||
|
return self.fts.commit_result(book_id, fmt, fmt_size, fmt_hash, text, err_msg)
|
||||||
|
|
||||||
def fts_search(self,
|
def fts_search(self,
|
||||||
fts_engine_query, use_stemming, highlight_start, highlight_end, snippet_size, restrict_to_book_ids,
|
fts_engine_query, use_stemming, highlight_start, highlight_end, snippet_size, restrict_to_book_ids,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user