Use right fields for elastic

This commit is contained in:
Gabriel Augendre 2018-11-20 08:50:34 +01:00
parent 37e37260f2
commit 287424055e
9 changed files with 15 additions and 15 deletions

View file

@ -10,4 +10,4 @@ youtubebeat:
output.elasticsearch.index: "youtubebeat" output.elasticsearch.index: "youtubebeat"
setup.template.name: "youtubebeat" setup.template.name: "youtubebeat"
setup.template.pattern: "youtubebeat-*" setup.template.pattern: "youtubebeat*"

View file

@ -3,12 +3,12 @@
description: description:
fields: fields:
- name: url - name: url
type: string type: text
required: true required: true
description: > description: >
Video's full URL Video's full URL
- name: title - name: title
type: string type: text
required: true required: true
description: > description: >
Video title Video title
@ -18,7 +18,7 @@
description: > description: >
Video's view count Video's view count
- name: date - name: date
type: string type: date
required: true required: true
description: > description: >
Video's publish date Video's publish date

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -434,7 +434,7 @@ None
*`url`*:: *`url`*::
+ +
-- --
type: string type: text
required: True required: True
@ -446,7 +446,7 @@ Video's full URL
*`title`*:: *`title`*::
+ +
-- --
type: string type: text
required: True required: True
@ -470,7 +470,7 @@ Video's view count
*`date`*:: *`date`*::
+ +
-- --
type: string type: date
required: True required: True

View file

@ -3,12 +3,12 @@
description: description:
fields: fields:
- name: url - name: url
type: string type: text
required: true required: true
description: > description: >
Video's full URL Video's full URL
- name: title - name: title
type: string type: text
required: true required: true
description: > description: >
Video title Video title
@ -18,7 +18,7 @@
description: > description: >
Video's view count Video's view count
- name: date - name: date
type: string type: date
required: true required: true
description: > description: >
Video's publish date Video's publish date

View file

@ -31,5 +31,5 @@ func init() {
// Asset returns asset data // Asset returns asset data
func Asset() string { func Asset() string {
return "eJy0WEtvGzcX3edXXGST7wOkQWM3RqFF0dQpGqFJG6RJtwpFXs2w5pATXtKy+usLcjgvz+jhSN0Y4uucc3lfHM/hDncL2Bnv/BrXyNwzACedwseTAolbWTlp9OIZwEaiEhR+AcxBsxIX4K2KYwC3q3AB5KzUeZqy+NVLi2IBznpMk31Q+DF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xJjg0rpdqdTFHDJCMtioK5BQhcS6YXsLGIaxJz1spqJGEwNcP+VpILBe32/QUTwiIR0pigZPw0IxuaglmxZRY7sgV48kypHbx7ddPX0NSRO79Gq9EhddXk9/7cBG233j6Dh2/aDhT6tWS+LXaHDhaggWh4UhmqjDhDe+jdQGVEXdsmqfyppanH9N4I+HT7ekwU/lLF+PmM6hDHZOEL7Kw3GBD3XOGxzfU4ohoNSlaNmZjWxsX/f52Nrgc5zXnOB0uPlw/eLnO0Z3iyTfLWuP8FAAD//7HY8EI="
} }

View file

@ -10,7 +10,7 @@ youtubebeat:
output.elasticsearch.index: "youtubebeat" output.elasticsearch.index: "youtubebeat"
setup.template.name: "youtubebeat" setup.template.name: "youtubebeat"
setup.template.pattern: "youtubebeat-*" setup.template.pattern: "youtubebeat*"
#================================ General ====================================== #================================ General ======================================

View file

@ -10,7 +10,7 @@ youtubebeat:
output.elasticsearch.index: "youtubebeat" output.elasticsearch.index: "youtubebeat"
setup.template.name: "youtubebeat" setup.template.name: "youtubebeat"
setup.template.pattern: "youtubebeat-*" setup.template.pattern: "youtubebeat*"
#================================ General ===================================== #================================ General =====================================