]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Update index version to force reindex, note in release notes 2519/head
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Thu, 26 Jan 2023 04:27:18 +0000 (20:27 -0800)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Thu, 26 Jan 2023 04:30:48 +0000 (20:30 -0800)
docker/docker-prepare.sh
docs/changelog.md

index dad49774be690c7f4a9ca61125dc99c472347399..af2bfe2a74cd534a20221c3e6e03ac704ad98d41 100755 (executable)
@@ -80,7 +80,7 @@ django_checks() {
 
 search_index() {
 
-       local -r index_version=1
+       local -r index_version=2
        local -r index_version_file=${DATA_DIR}/.index_version
 
        if [[ (! -f "${index_version_file}") || $(<"${index_version_file}") != "$index_version" ]]; then
index 0e5a6fcba1a06ae5907d14643c411cd8e0956590..5a9371781c757c6411ee14beb143efb8c9d470de 100644 (file)
@@ -2,6 +2,9 @@
 
 ## paperless-ngx 1.12.1
 
+_Note: Version 1.12.x introduced searching of comments which will work for comments added after the upgrade but a reindex of the search index is required in order to be able to search
+older comments. The Docker image will automatically perform this reindex, bare metal installations will have to perform this manually, see [the docs](https://docs.paperless-ngx.com/administration/#index)._
+
 ### Bug Fixes
 
 - Fix: comments not showing in search until after manual reindex in v1.12 [@shamoon](https://github.com/shamoon) ([#2513](https://github.com/paperless-ngx/paperless-ngx/pull/2513))