Skip to content

add include_rank parameter to Table.search #628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 23, 2024
Merged

Conversation

liunux4odoo
Copy link
Contributor

@liunux4odoo liunux4odoo commented May 7, 2024

@simonw
Copy link
Owner

simonw commented Nov 23, 2024

Thanks for spotting this - it's in .search_sql() but missing from .search().

The .search_sql() parameter was added in:

@simonw
Copy link
Owner

simonw commented Nov 23, 2024

I'm going to add docs and tests and merge this.

@simonw simonw merged commit 7423296 into simonw:main Nov 23, 2024
42 checks passed
@simonw simonw added enhancement New feature or request python-library labels Nov 23, 2024
simonw added a commit that referenced this pull request Nov 23, 2024
bobryk0999 pushed a commit to bobryk0999/SqliteUtiles that referenced this pull request Feb 8, 2025
* Add `include_rank` parameter to `Table.search`
* Test for .search(include_rank)
* Docs for table.search(include_rank)

simonw/sqlite-utils#628

Refs #480

---------

Co-authored-by: Simon Willison <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python-library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants