Skip to content

Commit

Permalink
test elastic search
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ser4ble committed Oct 22, 2024
1 parent 6aac442 commit 1032f09
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ gem "github-pages", group: :jekyll_plugins
gem "jekyll-include-cache", group: :jekyll_plugins
gem 'jekyll-archives'
gem "webrick"
gem "searchyll"
13 changes: 13 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@ jekyll-archives:
tag: '/tags/:name/'
category: '/category/:name/'

elasticsearch:
url: "https://m1ser4ble.github.io/" # Required. Supports auth and SSL: https://user:[email protected]
# Can also read URLs stored in environment variable named
# BONSAI_URL and ELASTICSEARCH_URL.
number_of_shards: 1 # Optional. Default is 1 primary shard.
number_of_replicas: 1 # Optional. Default is 1 replica.
index_name: "jekyll" # Optional. Default is "jekyll".
default_type: "post" # Optional. Default type is "post".
# custom_mappings: _es_mappings.yml # Optional. No default. Relative to your src folder
# custom_settings: _es_settings.yml # Optional. No default. Relative to your src folder
# ignore: # Optional. No default.
# - /news/*

# Archives
collections:
archives:
Expand Down

0 comments on commit 1032f09

Please sign in to comment.