mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-12 11:34:09 +02:00
Docs for table.search(include_rank)
Refs https://github.com/simonw/sqlite-utils/pull/628#issuecomment-2495644255
This commit is contained in:
parent
9a5256e226
commit
513f22851f
1 changed files with 3 additions and 0 deletions
|
|
@ -2308,6 +2308,9 @@ The ``.search()`` method also accepts the following optional parameters:
|
|||
``where_args`` dictionary
|
||||
Arguments to use for ``:param`` placeholders in the extra WHERE clause
|
||||
|
||||
``include_rank`` bool
|
||||
If set a ``rank`` column will be included with the BM25 ranking score - for FTS5 tables only.
|
||||
|
||||
``quote`` bool
|
||||
Apply :ref:`FTS quoting rules <python_api_quote_fts>` to the search query, disabling advanced query syntax in a way that avoids surprising errors.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue