Skip to content

Commit 613c152

Browse files
authored
chore: Remove max_term_freq and release 0.10.0 (#142)
1 parent ba25e00 commit 613c152

5 files changed

Lines changed: 9 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file. The format
66

77
## Unreleased
88

9+
## [0.10.0] - 2026-07-14
10+
11+
### Removed
12+
13+
- Removed max_term_freq from MoreLikeThis.
14+
915
## [0.9.0] - 2026-06-18
1016

1117
### Added
@@ -209,6 +215,7 @@ All notable changes to this project will be documented in this file. The format
209215
- JSON field key indexing support
210216
- Full Django ORM integration with `Q` objects and standard filters
211217

218+
[0.10.0]: https://github.com/paradedb/django-paradedb/compare/v0.9.0...v0.10.0
212219
[0.9.0]: https://github.com/paradedb/django-paradedb/compare/v0.8.0...v0.9.0
213220
[0.8.0]: https://github.com/paradedb/django-paradedb/compare/v0.7.0...v0.8.0
214221
[0.7.0]: https://github.com/paradedb/django-paradedb/compare/v0.6.0...v0.7.0

paradedb/search.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,6 @@ def __init__(
608608
min_term_freq: int | None = None,
609609
max_query_terms: int | None = None,
610610
min_doc_freq: int | None = None,
611-
max_term_freq: int | None = None,
612611
max_doc_freq: int | None = None,
613612
min_word_length: int | None = None,
614613
max_word_length: int | None = None,
@@ -623,7 +622,6 @@ def __init__(
623622
self.min_term_freq = min_term_freq
624623
self.max_query_terms = max_query_terms
625624
self.min_doc_freq = min_doc_freq
626-
self.max_term_freq = max_term_freq
627625
self.max_doc_freq = max_doc_freq
628626
self.min_word_length = min_word_length
629627
self.max_word_length = max_word_length
@@ -706,7 +704,6 @@ def _validate_numeric_params(self) -> None:
706704
"min_term_freq": self.min_term_freq,
707705
"max_query_terms": self.max_query_terms,
708706
"min_doc_freq": self.min_doc_freq,
709-
"max_term_freq": self.max_term_freq,
710707
"max_doc_freq": self.max_doc_freq,
711708
"min_word_length": self.min_word_length,
712709
"max_word_length": self.max_word_length,
@@ -740,7 +737,6 @@ def _render_more_like_this_call(
740737
"min_term_frequency": term.min_term_freq,
741738
"max_query_terms": term.max_query_terms,
742739
"min_doc_frequency": term.min_doc_freq,
743-
"max_term_frequency": term.max_term_freq,
744740
"max_doc_frequency": term.max_doc_freq,
745741
"min_word_length": term.min_word_length,
746742
"max_word_length": term.max_word_length,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "django-paradedb"
7-
version = "0.9.0"
7+
version = "0.10.0"
88
description = "Official ParadeDB integration for Django"
99
readme = "README.md"
1010
license = "MIT"

tests/test_edge_cases.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ def test_mlt_with_all_options(self) -> None:
337337
min_term_freq=2,
338338
max_query_terms=10,
339339
min_doc_freq=1,
340-
max_term_freq=100,
341340
max_doc_freq=1000,
342341
min_word_length=3,
343342
max_word_length=15,

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)