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
300
全文検索システム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
75
筋トレ応援団.pdf
dokechin
1
250
How to define the relationship in vuex's state
dokechin
1
410
ダンドリーキッチン
dokechin
0
380
ダンドリーキッチン
dokechin
0
1.1k
Other Decks in Technology
See All in Technology
AWS SAW を広めたい @四国クラウドお遍路
kazzpapa3
0
220
Developer Experienceを向上させる基盤づくりの取り組み事例集
coconala_engineer
0
110
Swift Testingのconfirmationを コードリーディング/Dive into Swift Testing confirmation
laprasdrum
1
210
Oracle Exadata Database Service(Dedicated Infrastructure):サービス概要のご紹介
oracle4engineer
PRO
0
9.5k
AI でアップデートする既存テクノロジーと、クラウドエンジニアの生きる道
soracom
PRO
2
380
難しいから面白い!医薬品×在庫管理ドメインの複雑性と向き合い、プロダクトの成長を支えるための取り組み / Initiatives to Support Product Growth
kakehashi
2
180
Optuna: a Black-Box Optimization Framework
pfn
PRO
1
100
20240911_New_Relicダッシュボード活用例
speakerdeckfk
0
100
contenteditableと向き合う
kikuchikakeru
2
280
React Aria で実現する次世代のアクセシビリティ
ryo_manba
4
1k
20240912 JJUGナイトセミナー
mii1004
0
130
四国のあのイベントの〇〇システムを45日間で構築した話 / cloudohenro2024_tachibana
biatunky
0
300
Featured
See All Featured
Design by the Numbers
sachag
277
19k
Music & Morning Musume
bryan
46
6k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
27
7.4k
The Language of Interfaces
destraynor
153
23k
Fireside Chat
paigeccino
31
2.9k
For a Future-Friendly Web
brad_frost
174
9.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
45
4.8k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Scaling GitHub
holman
458
140k
The World Runs on Bad Software
bkeepers
PRO
64
11k
Raft: Consensus for Rubyists
vanstee
135
6.5k
Robots, Beer and Maslow
schacon
PRO
157
8.1k
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