-
Notifications
You must be signed in to change notification settings - Fork 216
/
search-test.conf
executable file
·31 lines (31 loc) · 1.05 KB
/
search-test.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ditto {
mapping-strategy.implementation = "org.eclipse.ditto.thingsearch.api.ThingSearchMappingStrategies"
mongodb {
uri = "mongodb://localhost:27017/test"
pool {
max-size = 100
max-wait-time = 30s
max-wait-queue-size = 500000
}
}
limits {
# limiations for the "search" service
search {
default-page-size = 25
# the allowed maximum page size limit - e.g. specified when doing a search via HTTP:
# /api/1/search/things?filter=...&option=limit(0,200)
max-page-size = 200
}
}
search {
query {
persistence {
readPreference = "nearest"
readConcern = "linearizable"
}
}
query-criteria-validator = "org.eclipse.ditto.thingsearch.service.persistence.query.validation.DefaultQueryCriteriaValidator"
search-update-mapper.implementation = "org.eclipse.ditto.thingsearch.service.persistence.write.streaming.DefaultSearchUpdateMapper"
search-update-observer.implementation = "org.eclipse.ditto.thingsearch.service.updater.actors.DefaultSearchUpdateObserver"
}
}