-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-config.yaml
57 lines (52 loc) · 1.1 KB
/
index-config.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
44
45
46
47
48
49
50
51
52
53
54
55
56
version: 0.6
index_id: incredible
doc_mapping:
field_mappings:
- name: repo_name
type: text
tokenizer: default
record: position
stored: true
- name: repo_disk_path
type: text
fast: true
tokenizer: raw
- name: relative_path
type: text
tokenizer: default
- name: repo_ref
type: text
fast: true
tokenizer: raw
- name: last_commit
type: text
fast: true
tokenizer: raw
- name: lang
type: text
fast: true
tokenizer: raw
- name: is_directory
type: bool
- name: avg_line_length
type: f64
- name: line_end_indices
type: array<u64>
- name: symbols
type: text
tokenizer: default
- name: symbol_locations
type: array<u64>
- name: content
type: text
tokenizer: default
record: position
stored: true
- name: unique_hash
type: text
fast: true
tokenizer: raw
search_settings:
default_search_fields: [relative_path, repo_name, content, lang, symbols]
indexing_settings:
commit_timeout_secs: 10