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
全文検索システムFESSを使った Web+DB PRESS 総集編の全文検索
Search
Tetsuya Tatsumi
June 03, 2018
Technology
0
310
全文検索システムFESSを使った Web+DB PRESS 総集編の全文検索
全文検索システムFESSを使って WEB+DB PRESS 総集編を全文検索しました。
Tetsuya Tatsumi
June 03, 2018
Tweet
Share
More Decks by Tetsuya Tatsumi
See All by Tetsuya Tatsumi
LINE Thingsで視力検査
dokechin
0
78
筋トレ応援団.pdf
dokechin
1
260
How to define the relationship in vuex's state
dokechin
1
420
ダンドリーキッチン
dokechin
0
390
ダンドリーキッチン
dokechin
0
1.1k
Other Decks in Technology
See All in Technology
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
18
5.5k
効率的な技術組織が作れる!書籍『チームトポロジー』要点まとめ
iwamot
1
110
生成AIのガバナンスの全体像と現実解
fnifni
1
210
Fanstaの1年を大解剖! 一人SREはどこまでできるのか!?
syossan27
2
180
.NET 9 のパフォーマンス改善
nenonaninu
0
1.3k
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
2
460
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
380
Qiita埋め込み用スライド
naoki_0531
0
5.3k
2024年にチャレンジしたことを振り返るぞ
mitchan
0
150
LINEヤフーのフロントエンド組織・体制の紹介【24年12月】
lycorp_recruit_jp
0
550
マイクロサービスにおける容易なトランザクション管理に向けて
scalar
0
190
TSKaigi 2024 の登壇から広がったコミュニティ活動について
tsukuha
0
170
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
22
1.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Building Adaptive Systems
keathley
38
2.3k
Agile that works and the tools we love
rasmusluckow
328
21k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Become a Pro
speakerdeck
PRO
26
5k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Transcript
શจݕࡧγεςϜ'&44Λͬͨ 8FC %#13&44૯ूฤͷશจݕࡧ Mishima.pm #3 @dokechin
8FC %#13&44
֓ཁ • 2000݄̍̎ץɻ • ٕज़ධࣾൃߦɻִ݄ൃചʢۮ݄ʣ • Webٕज़ܥࡶࢽɻ • ݱࡏɹWPM
૯ूฤ • vol.1-24 2005ൃߦɹCD-ROM • vol.1-36 2007ൃߦɹCD-ROM • vol.1-60 2011ൃߦɹDVD-ROM
• vol.1-72 2013ൃߦɹDVD-ROM • vol.1-84 2015ൃߦɹDVD-ROM • vol.1-102 2018ൃߦɹDVD-ROM
WPM • PDF༰ྔ4.4G • αΠζॱʹฒΔͱWPM (240M) ɺWPM (76.8M)ɺvol.66(69.5M)
'&44ͱ
֓ཁ • ΣϒϑΝΠϧγεςϜΛରͱͨ͠Φʔϓϯιʔ εͷશจݕࡧγεςϜ • ApacheϥΠηϯε
ΞʔΩςΫνϟ • Javaϕʔε • ݕࡧΤϯδϯ&MBTUJDTFBSDI • ݕࡧը໘ɺཧը໘ɺΫϩʔϥಉࠝ
ڥߏங
%PDLFSͷ෮श IUUQTEPDTEPDLFSDPNFOHJOFEPDLFSPWFSWJFXEPDLFSBSDIJUFDUVSF
ڥߏஙखॱ • Docker for MacOS ͷઃఆ • ϝϞϦαΠζͷมߋ 2G->3.5G •
ΠϝʔδDPEFMJCTGFTT͔Βίϯςφىಈ • FESSͷνϡʔχϯά • ࠷େϑΝΠϧαΠζ • ώʔϓαΠζ • Ϋϩʔϧઃఆ • Ϋϩʔϧ
%PDLFSGPS.BD04 • https://store.docker.com/editions/ community/docker-ce-desktop-mac
.FNPSZ4FUUJOH
ίϯςφىಈ docker run -d -p 8080:8080 --name fess -v /Users/dokechin/Downloads/
webdb_sp_001-102/:/webdb_sp_001-102 codelibs/fess:latest
ύϥϝʔλνϡʔχϯά docker exec -it fess bash perl -i -pe 's/10485760/248000000/'
/usr/ share/fess/app/WEB-INF/classes/crawler/ contentlength.xml perl -i -pe 's/-Xms1g/-Xms2g/' /etc/ elasticsearch/jvm.options perl -i -pe 's/-Xmx1g/-Xmx2g/' /etc/ elasticsearch/jvm.options exit
QFSMJQF
QFSMEPDQFSMSVO -i[extension] specifies that files processed by the "<>" construct
are to be edited in-place.
.0%FQBSTF perl -MO=Deparse -i -pe 's/-Xms1g/- Xms2g/' /etc/elasticsearch/jvm.options BEGIN {
$^I = ""; } LINE: while (defined($_ = <ARGV>)) { s/-Xms1g/-Xms2g/; } continue { die "-p destination: $!\n" unless print $_; } -e syntax OK
Ϋϩʔϧઃఆ
ݕࡧ
'&44ͷόʔδϣϯ্͕͕ Δͨͼʹύϥϝʔλͷνϡʔ χϯά͢Δͷʁ
%PDLFSpMFʹࠩΛهड़ FROM codelibs/fess:latest LABEL maintainer "dokechin" RUN perl -i -pe
's/10485760/248000000/' /usr/share/ fess/app/WEB-INF/classes/crawler/contentlength.xml RUN perl -i -pe 's/-Xms1g/-Xms2g/' /etc/elasticsearch/ jvm.options RUN perl -i -pe 's/-Xmx1g/-Xmx2g/' /etc/elasticsearch/ jvm.options
ΠϝʔδϏϧυɹˍɹ36/ # FESSͷόʔδϣϯΞοϓͷλΠϛϯάͰ docker build -t dokechin/fess . docker run
-d -p 8080:8080 --name fess -v /Users/dokechin/Downloads/ webdb_sp_001-102/:/webdb_sp_001-102 dokechin/fess
࣮ѱखɻ ઃఆมߋΛ%PDLFSΠϝʔ δʹ͠ͳ͍ʂ
ઃఆϑΝΠϧΛϩʔΧϧʹอଘ docker cp fess:/usr/share/ fess/app/WEB-INF/classes/ crawler/contentlength.xml .
ىಈ࣌ʹ͢ docker run -d -p 8080:8080 --name fess -e 'ES_JAVA_OPTS="-Xms2g
- Xmx2g"' -v $PWD/contentlength.xml:/ usr/share/fess/app/WEB-INF/classes/ crawler/contentlength.xml -v $PWD/ webdb_sp/:/webdb_sp codelibs/fess