Updating changelog

This commit is contained in:
Dave Hall 2017-12-21 16:21:11 +00:00
parent ac90ba92b8
commit e92d942d60
2 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,17 @@
# django-watson changelog
## 1.5.0 - 21/12/2017
- Added `--slim` option to `buildwatson` command. This only includes
objects which satisfy the filter specified during model registration
(Dustin Broderick).
- Added `--batch-size` option to `buildwatson` command. This controls the
batch size for bulk-inserting search entries (Dustin Broderick).
- Added `--non-atomic` option to `buildwatson` command. This removes the
transaction wrapper from `buildwatson`, which can prevent timeouts on
huge datasets for some server setups.
## 1.4.4 - 27/11/2017
- Fixed stringifying objects in Python 3 (@danielquinn).

View File

@ -93,14 +93,14 @@ class Command(BaseCommand):
changes or the index will be incomplete."
)
parser.add_argument(
'--non_atomic',
'--non-atomic',
action='store_true',
default=False,
help="Commit index entries in batches. WARNING: if buildwatson failse, \
the index will be incomplete."
)
parser.add_argument(
'--batch_size',
'--batch-size',
action='store',
default=100,
type=int,