From 1032f09ebf95e8dc91b302fb014627ee5785c173 Mon Sep 17 00:00:00 2001 From: m1ser4ble Date: Tue, 22 Oct 2024 21:34:26 +0900 Subject: [PATCH] test elastic search --- Gemfile | 1 + _config.yml | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/Gemfile b/Gemfile index ece52eb..0112cab 100644 --- a/Gemfile +++ b/Gemfile @@ -4,3 +4,4 @@ gem "github-pages", group: :jekyll_plugins gem "jekyll-include-cache", group: :jekyll_plugins gem 'jekyll-archives' gem "webrick" +gem "searchyll" diff --git a/_config.yml b/_config.yml index 87a4a00..3f3a144 100644 --- a/_config.yml +++ b/_config.yml @@ -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:pass@someurl.com + # 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: