Skip to content

Commit

Permalink
Merge branch 'main' into trinity--rate-limit-logs
Browse files Browse the repository at this point in the history
  • Loading branch information
trinity-1686a committed Jan 31, 2024
2 parents 5ce1cc6 + 8f63440 commit 25171c6
Show file tree
Hide file tree
Showing 153 changed files with 8,847 additions and 4,143 deletions.
48 changes: 48 additions & 0 deletions config/templates/gh-archive.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
version: 0.7

template_id: gh-archive

index_id_patterns:
- gh-archive*

description: Index config template for the GH Archive dataset (gharchive.org)

priority: 0

doc_mapping:
field_mappings:
- name: id
type: text
tokenizer: raw
- name: type
type: text
fast: true
tokenizer: raw
- name: public
type: bool
fast: true
- name: payload
type: json
tokenizer: default
- name: org
type: json
tokenizer: default
- name: repo
type: json
tokenizer: default
- name: actor
type: json
tokenizer: default
- name: other
type: json
tokenizer: default
- name: created_at
type: datetime
fast: true
input_formats:
- rfc3339
fast_precision: seconds
timestamp_field: created_at

indexing_settings:
commit_timeout_secs: 10
36 changes: 36 additions & 0 deletions config/templates/stackoverflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: 0.7

template_id: stackoverflow

index_id_patterns:
- stackoverflow*

description: Index config template for the Stackoverflow tutorial (quickwit.io/docs/get-started/quickstart)

priority: 0

doc_mapping:
field_mappings:
- name: title
type: text
tokenizer: default
record: position
stored: true
- name: body
type: text
tokenizer: default
record: position
stored: true
- name: creationDate
type: datetime
fast: true
input_formats:
- rfc3339
fast_precision: seconds
timestamp_field: creationDate

search_settings:
default_search_fields: [title, body]

indexing_settings:
commit_timeout_secs: 10
Loading

0 comments on commit 25171c6

Please sign in to comment.