forked from jina-ai/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflow-query-original.yml
37 lines (37 loc) · 974 Bytes
/
flow-query-original.yml
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
!Flow
with:
read_only: true # better add this in the query time
rest_api: true
port_expose: $JINA_PORT
pods:
normalizer:
uses: pods/craft-reader.yml
read_only: true
parallel: $PARALLEL
tf_encode:
uses: pods/encode.yml
parallel: $PARALLEL
timeout_ready: 600000
vec_idx:
uses: pods/vec.yml
shards: $SHARDS
separated_workspace: true
polling: all
uses_reducing: _merge_all
timeout_ready: 100000 # larger timeout as in query time will read all the data
chunk_idx:
uses: pods/chunk.yml
shards: $SHARDS
separated_workspace: true
polling: all
uses_reducing: _merge_all
timeout_ready: 100000 # larger timeout as in query time will read all the data
ranker:
uses: pods/rank.yml
doc_idx:
uses: pods/doc.yml
shards: $SHARDS
separated_workspace: true
polling: all
uses_reducing: _merge_all
timeout_ready: 100000 # larger timeout as in query time will read all the data