Skip to content

Commit 7852f37

Browse files
authored
Merge pull request #241 from efagerberg/CommitPolicyChangelog
Adding ChangeLog note about default commit policy
2 parents d0d482b + e1491c1 commit 7852f37

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CHANGELOG.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,20 @@ Changes
4747
removes the __del__ methods and we will have to find an alternative for
4848
making tests fail safely.
4949

50+
- Custom Commit Policy . [Evan Fagerberg]
51+
52+
Previously a ``Solr`` object assumed that an operation should commit by default.
53+
It is generally good practice to limit the amount of commits to solr.
54+
Excessive commits risk opening too many searcher or using too many system resources.
55+
Therefore the commit policy is configurable via the ``always_commit`` attribute of
56+
the ``Solr`` object.
57+
58+
Most solr configurations should already have an interval that defines how long to wait
59+
before doing a commit to solr anyway. (Measured either in time or number of documents)
60+
61+
IMPORTANT: If you are upgrading to this version and need to keep committing by default,
62+
change the Solr objects to have ``always_commit=True``.
63+
5064
Fix
5165
~~~
5266

0 commit comments

Comments
 (0)