forked from apache/solr-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_solrcollection.yaml
43 lines (43 loc) · 1012 Bytes
/
test_solrcollection.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: solr.bloomberg.com/v1beta1
kind: SolrCollection
metadata:
name: example-collection-1
spec:
solrCloud: example
collection: example-collection
routerName: compositeId
autoAddReplicas: false
numShards: 2
replicationFactor: 1
maxShardsPerNode: 1
collectionConfigName: "_default"
---
apiVersion: solr.bloomberg.com/v1beta1
kind: SolrCollection
metadata:
name: example-collection-2-compositeid-autoadd
spec:
solrCloud: example
collection: example-collection-2
routerName: compositeId
autoAddReplicas: true
numShards: 2
replicationFactor: 1
maxShardsPerNode: 1
collectionConfigName: "_default"
---
apiVersion: solr.bloomberg.com/v1beta1
kind: SolrCollection
metadata:
name: example-collection-3-implicit
spec:
solrCloud: example
collection: example-collection-3-implicit
routerName: implicit
routerField: 'car'
autoAddReplicas: true
numShards: 2
replicationFactor: 1
maxShardsPerNode: 1
shards: "fooshard1,fooshard2"
collectionConfigName: "_default"