This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_type: product | |
store: Apple Store | |
category: Computers | |
name: MacBook Pro | |
--- | |
_type: product | |
store: Apple Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Some sample documents that could be data about ticket sales. | |
# An organization can have multiple events, and an event has ticket sales. | |
# Tickets can have different prices, and are of course sold at different times. | |
ticket_id: 1 | |
event: red_wedding | |
organization: freys | |
sold_at: 2013-12-01T12:00 | |
price: 400 | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample data points. | |
# These could e.g. be metrics reported by collectd to logstash. | |
host: app1 | |
cpu: 87.0 | |
--- | |
host: app1 | |
cpu: 1.23 | |
--- | |
host: app2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text: | |
- Michael | |
- Heaney | |
- Heavey | |
analyzer: | |
metaphone: | |
type: custom | |
tokenizer: standard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_id: 1 | |
foo: null | |
bar: null | |
--- | |
_id: 2 | |
foo: '' | |
bar: '' | |
--- | |
_id: 3 | |
foo: bar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
analyzer: | |
sample: | |
text: | |
- Jon Snow | |
- Big Ben | |
tokenizer: standard | |
type: custom | |
filter: | |
- lowercase | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Here you could have various analyzers for different string-types. | |
# "text_value" and "name_value" should probably have different ones. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text: This text will be used if nothing else is specified. | |
analyzer: | |
standard_tokenize_only: | |
type: custom | |
tokenizer: standard | |
# Switch to the "Analysis"-tab to see how the text gets tokenized by default. | |
standard: | |
type: standard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Switch to the Analysis-tab to see how these samples get analyzed. | |
text: | |
- My_second_file_created_at_2012.01.13.pdf | |
- Another file.txt | |
analyzer: | |
filename_index: | |
type: custom | |
tokenizer: filename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Switch to the Analysis-tab to see how these samples get analyzed. | |
text: | |
- My_second_file_created_at_2012.01.13.pdf | |
- Another file.txt | |
analyzer: | |
filename_index: | |
type: custom | |
tokenizer: filename |