Skip to content

Commit 1ecf23e

Browse files
benoitvidisGilles Ballini
authored and
Gilles Ballini
committedJun 7, 2017
fix "No mapping found for [_kuzzle_info.deletedAt]" error at startup (#857)
1 parent f10d475 commit 1ecf23e

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
 

‎.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ docker-compose-custom.yml
2828
# Kuzzle
2929
.kuzzlerc
3030
/*.log
31-
/run
32-
!/run/.keep
3331

3432
#swagger
3533
kuzzle-swagger.*

‎lib/services/garbageCollector.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function GarbageCollector(kuzzle) {
4141
body = {
4242
from: 0,
4343
size: kuzzle.config.services.garbageCollector.maxDelete || 10000,
44-
sort: ['_kuzzle_info.deletedAt'],
44+
sort: [{ '_kuzzle_info.deletedAt': { unmapped_type: 'date'} }],
4545
query: {
4646
bool: {
4747
should: [

‎run/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!/.gitignore

‎run/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)
Please sign in to comment.