-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlookup-config.yml
52 lines (52 loc) · 1008 Bytes
/
lookup-config.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "1.0"
indexPath: ./index
maxBufferedDocs: 1000000
logInterval: 10000
exactMatchBoost: 6
prefixMatchBoost: 5
fuzzyMatchBoost: 2
fuzzyEditDistance: 2
fuzzyPrefixLength: 2
boostFormula: 1 + 0.1 * ln(annotatedCount + 1)
maxResults: 1000
format: JSON
minScore: 0.1
lookupFields:
- name: id
weight: 10
exact: true
tokenize: false
required: true
highlight: false
queryByDefault: false
- name: label
weight: 10
highlight: true
tokenize: true
queryByDefault: true
allowPartialMatch: true
required: false
exact: false
- name: keyword
weight: 10
highlight: true
tokenize: true
queryByDefault: true
allowPartialMatch: true
required: false
exact: false
- name: annotatedCount
type: numeric
weight: 1
- name: annotation
type: uri
highlight: false
required: true
tokenize: true
exact: true
allowPartialMatch: true
weight: 10
- name: used
type: uri
weight: 1
tokenize: false