Skip to content

feat!: rename bm25 APIs to paradedb and always use the paradedb access method - #147

Open
rebasedming wants to merge 1 commit into
mainfrom
paradedb-am
Open

feat!: rename bm25 APIs to paradedb and always use the paradedb access method#147
rebasedming wants to merge 1 commit into
mainfrom
paradedb-am

Conversation

@rebasedming

@rebasedming rebasedming commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

What

Implements paradedb/paradedb#5706 as a breaking rename — no configurability, no fallbacks:

  • BM25IndexParadeDBIndex (old name removed); create_sql always emits USING paradedb
  • No am option, no pg_am probing in tests or examples

Requires pg_search 0.25.0+; released images fail at index creation as expected.

Tests

Full suite against a pg_search 0.25.0 dev server: 275 passed. ruff/mypy strict/schema-compat/api-coverage clean.

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.97%. Comparing base (219541e) to head (a0d3e38).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
+ Coverage   87.88%   87.97%   +0.09%     
==========================================
  Files           9        9              
  Lines        1180     1189       +9     
  Branches      247      249       +2     
==========================================
+ Hits         1037     1046       +9     
  Misses         85       85              
  Partials       58       58              
Flag Coverage Δ
dj4.2 87.97% <100.00%> (+0.09%) ⬆️
dj5.2 87.97% <100.00%> (+0.09%) ⬆️
dj6.0 87.97% <100.00%> (+0.09%) ⬆️
django-paradedb 87.97% <100.00%> (+0.09%) ⬆️
pg15 87.97% <100.00%> (+0.09%) ⬆️
pg16 87.97% <100.00%> (+0.09%) ⬆️
pg17 87.97% <100.00%> (+0.09%) ⬆️
pg18 87.97% <100.00%> (+0.09%) ⬆️
py3.10 87.97% <100.00%> (+0.09%) ⬆️
py3.11 87.97% <100.00%> (+0.09%) ⬆️
py3.12 87.97% <100.00%> (+0.09%) ⬆️
py3.13 87.97% <100.00%> (+0.09%) ⬆️
py3.14 87.97% <100.00%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
paradedb/indexes.py 84.35% <100.00%> (+0.82%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rebasedming rebasedming changed the title feat: support the paradedb index access method feat!: rename bm25 APIs to paradedb and always use the paradedb access method Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant