diff --git a/src/calibre/gui2/fts/search.py b/src/calibre/gui2/fts/search.py index a186758e4e..078d97f5aa 100644 --- a/src/calibre/gui2/fts/search.py +++ b/src/calibre/gui2/fts/search.py @@ -803,7 +803,7 @@ p { margin: 0; }
NEAR("people" "in Asia" "try")
NEAR("Kovid" "calibre", 30)

Here, 30 is the most words allowed between near groups. Defaults to 10 when unspecified.

-
Full syntax reference
+
Complete syntax reference
''' + '').format(fts_url=fts_url)) hp.setFocusPolicy(Qt.FocusPolicy.NoFocus) hp.document().setDocumentMargin(0) diff --git a/src/pyj/book_list/fts.pyj b/src/pyj/book_list/fts.pyj index b45fef4e78..64a2423eef 100644 --- a/src/pyj/book_list/fts.pyj +++ b/src/pyj/book_list/fts.pyj @@ -204,7 +204,7 @@ def clear_to_help():
NEAR("people" "in Asia" "try")
NEAR("Kovid" "calibre", 30)

Here, 30 is the most words allowed between near groups. Defaults to 10 when unspecified.

-
Full syntax reference
+
Complete syntax reference
''' + '').format(fts_url=fts_url) container.innerHTML = html a = container.querySelector('a[href]')