Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
eskeeperを使ったファイル定義によるindex管理
Search
po3rin
October 20, 2021
Programming
2
450
eskeeperを使ったファイル定義によるindex管理
eskeeperで便利にindex&aliasを管理しよう
https://github.com/po3rin/eskeeper
po3rin
October 20, 2021
Tweet
Share
More Decks by po3rin
See All by po3rin
M3におけるCI/CDパイプラインを新鮮に保つ仕組み
po3rin
0
270
Go Templateを使った フロントエンド開発を採用した 経緯と所感
po3rin
0
280
検索基盤移行時の思考
po3rin
0
4.2k
Go1.19で採用された Pattern-defeating Quicksort の紹介
po3rin
7
5.5k
Elasticsearchを負荷から守るesguard
po3rin
0
230
Sudachi×Elasticsearchへの移行と医療検索システム精度改善
po3rin
1
820
M3 情報検索/推薦論文輪読会 ~SIGIR祭~ (SIGIR2021: Session 6D – IR Models)
po3rin
0
76
Handling Temporal Query for Health Search with ja-timex
po3rin
3
300
医療検索における婉曲表現変換
po3rin
2
750
Other Decks in Programming
See All in Programming
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
880
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
860
Click-free releases & the making of a CLI app
oheyadam
2
110
イベント駆動で成長して委員会
happymana
1
320
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
170
距離関数を極める! / SESSIONS 2024
gam0022
0
280
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
CSC509 Lecture 12
javiergs
PRO
0
160
Better Code Design in PHP
afilina
PRO
0
120
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
1.5k
Featured
See All Featured
How to Ace a Technical Interview
jacobian
276
23k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Visualization
eitanlees
145
15k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Typedesign – Prime Four
hannesfritz
40
2.4k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
88
Building Your Own Lightsaber
phodgson
103
6.1k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
Indices management by file definition using eskeeper #elasticsearchjp
தଜ߂ ΤϜεϦʔͷ"*ɾػցֶशνʔϜͰݕࡧج൫ पΓΛ୲͍ͯ͠Δɻ(P͕͖ɻ ֤छΞΧϯτQPSJOͰͬͯ·͢ɻ )*SPNV/BLBNVSB
ΤϜεϦʔͰ&MBTUJDTFBSDIΛར༻͍ͯ͠Δ͕ɺੵۃతʹ ݕࡧվળ͍ͯ͠ΔͷͰɺJOEFYͷมߋ͕සൟʹൃੜ͠ɺཧ ͮ͠Β͍ঢ়گͩͬͨɻ ՝ *446&
ݕࡧج൫νʔϜͰJOEFYͷ৽ن࡞BMJBTΓସ͑Ͱ NBQQJOHͷมߋʹରԠ͍ͯ͠ΔŇ৽͍͠JOEFYʹରͯ͠ ࠶σʔλೖΛߦ͏ ӡ༻ 01&3"5*0/ OFXTW OFXTW /FXTBMJBT 3FRVFTU 0MEJOEFY
/FXJOEFY 4XJUDIJOEFY *OTFSUNBTUFSEBUB
ӡ༻ 01&3"5*0/ ,JDLKPC %FQMPZ+PC खಈΩοΫͳϝϯςφϯε+PC CBTI ͷʑ DSFBUFJOEFYDSFBUFBMJBTTXJUDIJOEFY
՝ *446& ࠓɺBMJBTʹඥ͍ͮͯΔJOEFYͷόʔδϣϯͬͯԿ͚ͩͬʁʁ JOEFYೖΕସ͑ͷͨͼʹεΫϦϓτʹൃੜ͢Δ%J ff ɺίϛοτ લόʔδϣϯͷJOEFY͕DMPTF͞Εͯͳ͍ʂ ؒҧͬͨNBQQJOHͰJOEFY࡞ͬͯ͠·ͬͨʂʂ ઃఆมߋͷϨϏϡʔΛ௨͍ͨ͠
*B$ͱΠϯϑϥΛએݴతʹཧ͢ΔࣄͰιϑτΣΞ։ൃϓϩηεΛΠ ϯϑϥͷΦʔτϝʔγϣϯʹੜ͔͢Ξϓϩʔνɻ͜ΕΛ্ख͘Ӭଓϛυϧ ΣΞͰ͋Δ&MBTUJDTFBSDIʹద༻Ͱ͖ͳ͍͔ ɾهड़తͳΞϓϩʔνʹΑΔႈੑ୲อ ɾఆٛϑΝΠϧʹΑΔόʔδϣϯཧ ɾܧଓςετγεςϜɺϓϩηε *B$ *OGSBTUSVDUVSFBTDPEF
ႈੑΛอͪͳ͕ΒఆٛϑΝΠϧͰ &MBTUJDTFBSDI*OEFYBMJBTΛએݴత ʹཧͯ͘͠ΕΔΛ࡞ͬͨ FTLFFQFS &MBTUJDTFBSDI*OEFYLFFQFS
͜ͷΑ͏ʹఆٛϑΝΠϧͰ&MBTUJDTFBSDIͷ ঢ়ଶΛએݴͰ͖ΔɻӬଓϨΠϠʔͳͷͰૢ ࡞XSJUFPOMZʹࠓߜ͍ͬͯΔɻͭ·Γ ݱࡏͷ࣮શͳ*B$Λଥڠ͢ΔࣄͰσʔ λΛޡͬͯফ͢ϦεΫΛආ͚͍ͯΔɻ FTLFFQFS &MBTUJDTFBSDI*OEFYLFFQFS
ΦϥΠϦʔͷʰ*OGSBTUSVDUVSFBT$PEFʱ ͷதͰ*B$πʔϧ͕͖࣋ͭػೳʹ͍ͭͯͷه ड़͕͋Δɻ͔͜͜Β͜ͷຊΛࢀߟʹ FTLFFQFSͰҙࣝͨ͠*B$πʔϧ࡞ͷϓϥ ΫςΟεΛհ͍ͯ͘͠ *B$Λҙࣝͨ͠$-*ͷ࡞๏ *B$BXBSF$-*#FTU1SBDUJDF
ཁ݅ઃఆͷ֎ࡏԽ ෮Մೳੑͷ୲อɻ:BNMͰ͋Εɺ͋ ΒΏΔطπʔϧͰಡΈॻ͖Ͱ͖Δɻ
ཁ݅ແਓ࣮ߦͷαϙʔτ ແਓ࣮ߦίϚϯυͱͯࣗ͠ಈͰ࣮ߦͰ͖Δ͚ͩͰෆेɻਓ͕ؒؔ༩͠ ͳͯ͘ߴ͍৴པੑͰ࣮ߦͰ͖Δ͜ͱ͕ॏཁɻͦ͜ͰԼهͷཁૉ͕ඞཁɻ ɾႈੑ ɾࣄલνΣοΫ ɾࣄޙνΣοΫ ɾʹݟ͑ΔܗͰͷࣦഊ ɾύϥϝʔλԽ
ཁ݅ແਓ࣮ߦͷαϙʔτ FTLFFQFSͰجຊతͳႈੑɺࣄલ νΣοΫɺࣄޙνΣοΫɺʹݟ͑Δܗ Ͱͷࣦഊͱ͍͏ཁ݅Λ࣮͍ͯ͠Δɻ͜ ΕʹΑΓʮΦʔτϝʔγϣϯڪාʯΛ ݮΒ͢ɻ
FTLFFQFSͰԼهͷεςʔδʹׂ͞ΕΔ ઃఆϑΝΠϧͷόϦσʔγϣϯ ඥͮ͘NBQQJOH fi MFଘࡏ͢Δ͔ ඞਢϑΟʔϧυຬͨ͞Ε͍ͯΔ͔ ࣄલνΣοΫ JOEFY͕࣮ࡍʹ࡞ΕΔ͔ Ұ࣌తͳJOEFYΛ࣮ࡍʹ࡞
BMJBTͱʹඥͮ͘JOEFYଘࡏ͢Δͷ͔ ࣮ߦεςʔδ ࣮ࡍʹఆٛϑΝΠϧͷঢ়ଶΛಉظͤ͞Δ ࣄޙνΣοΫ ఆٛϑΝΠϧʹ͋ΔJOEFYBMJBT͕࡞ΒΕ͔ͨ
SFJOEFYͷαϙʔτ FTLFFQFSͰSFJOEFYΛαϙʔτɻ جຊతͳSFJOEFYΦϓγϣϯΛࢦఆͰ͖ Δɻ͜ΕͰJOEFY࡞ͷޙʹSFJOEFYΛ ΒͤΔ͜ͱ͕Ͱ͖Δɻ
Ϣʔεέʔε
ϢʔεέʔεNBQQJOHมߋ NBQQJOHͷ"OBMZ[FSͷઃఆΛมߋ͢Δͱ͖ͳͲطଘNBQQJOHΛಈతʹมߋͰ͖ͳ͍ͷͰɺJOEFYΛ࡞ ͯ͠ɺσʔλΛ͏ҰೖΕ͢ඞཁ͕͋ΔɻͦͷࡍʹFTLFFQFSΛ͑ίϚϯυൃ
ϢʔεέʔεJOEFY࡞ࡁΈ&MBTUJDTFBSDI%PDLFS fi MFͷੜ ΤϜεϦʔͰFF༻ͷJOEFYੜࡁΈ%PDLFS fi MFΛ༻ҙ͍ͯ͠ΔɻϩʔΧϧͷಈ࡞֬ೝͰར༻Ͱ͖Δɻ
Ϣʔεέʔε6OJU5FTU࣌ͷ*OEFY࡞ FTLFFQFS(Pͷύοέʔδͱͯ͑͠ΔܗͰఏڙ͍ͯ͠ΔͷͰɺςετ࣌ʹJOEFYΛੜՄೳɻྫ͑ FTSFJOEFYFSͰFTLFFQFSΛͬͨςετΛ࣮͍ͯ͠Δɻ IUUQTHJUIVCDPNQPSJOFTSFJOEFYFSCMPCNBJONBJO@UFTUHP
݁Ռ $06$-64*0/ JOEFYཧ༻ͷLT+PCɺγΣϧεΫϦϓτͳͲΛେআ͠ ͯɺϦϙδτϦ͔ΒϑΝΠϧΛআͨ͠ɻ ؒFTLFFQFSΛӡ༻ͯ͠େ҆ఆͨ͠ͷͰɺ͜Ε͔Β FTLFFQFSΛҭ͍͖ͯͯ·͢ɻ
՝ *446& ݱঢ়JOEFYআΛαϙʔτ͍ͯ͠ͳ͍ͷͰɺෆཁͳJOEFYఆظతʹखಈͰফ͢ඞཁ͕͋ Δɻ5FSSBGPSNͷUGTUBUFతͳϑΝΠϧΛอଘͰ͖ΔΑ͏ʹ͢Εྑͦ͞͏ɻߏத FTLFFQFSͷSFJOEFYઃఆΛ࠷దԽ͠ͳ͍ͷͰɺ͋·ΓύϑΥʔϚϯε͕ྑ͘ͳ͍ SFJOEFYऴྃΛݕͰ͖ͳ͍ɻ 1SFDIFDLTUBHF͕͍ɻݱঢ়JOEFY࡞আ͕ΔͷͰɺͳΜͱ͔NBQQJOH WBMJEBUPSΛΈࠐΊͳ͍ͷ͔
Indices management by file definition using eskeeper #elasticsearchjp