y-matsui::weblog

電子楽器、音楽、コンピュータ、プログラミング、雑感。面倒くさいオヤジの独り言

/5 * * * * root /root/makeidx_xdw.sh

22 4 * * 0 root /usr/local/bin/estcmd purge -cl /var/www/wwwidx
42 4 1 * * root /usr/local/bin/estcmd optimize /var/www/wwwidx

■/root/makeidx_office.sh
cd /var/www/html
PATH=$PATH:/usr/local/share/hyperestraier/filter ; export PATH
estcmd gather -cl -il ja -fx ".doc,.xls,.ppt" "H@estfxmsotohtml" -fz -sd -cm -kn 32 -um -aa @genre file /var/www/wwwidx .

■/root/makeidx_pdf.sh
cd /var/www/html
PATH=$PATH:/usr/local/share/hyperestraier/filter ; export PATH
estcmd gather -cl -fx ".pdf" "H@estfxpdftohtml" -fz -il ja -sd -cm -kn 32 -um -aa @genre file /var/www/wwwidx .

■/var/www/cgi-bin/estseek/estseek.conf
indexname: /var/www/wwwidx
tmplfile: estseek.tmpl
topfile: estseek.top
helpfile: estseek.help
lockindex: true
pseudoindex:
replace: ^file:///var/www/html/{{!}}http://www.domein.co.jp/
replace: /index\.html?${{!}}/
showlreal: false
deftitle: HyperEstraier 全文検索
#normal,web,mail,file
formtype: web
perpage: 10 100 10
attrselect: true
genrecheck: html{{!}}テキスト,html
genrecheck: file{{!}}ファイル(pdf,ppt,doc,xls,xdw)
#genrecheck: private{{!}}個人用
#genrecheck: business{{!}}仕事用
#genrecheck: misc{{!}}その他
attrwidth: 80
showscore: true
extattr: @mdate|最終更新日
extattr: @size|サイズ
extattr: @weight|重み
extattr: @type|ファイルタイプ
extattr: @author|作成者
#extattr: author|著者
#extattr: from|送信者
#extattr: to|宛先
#extattr: cc|複製
#extattr: date|日付
snipwwidth: 480
sniphwidth: 96
snipawidth: 96
condgstep: 2
dotfidf: true
scancheck: 3
phraseform: 2
dispproxy:estproxy.cgi
candetail: true
candir: false
auxmin: 32
smlrvnum: 32
smlrtune: 16 1024 4096
clipview: 2
#none or url
clipweight: url
relkeynum: 10
spcache:
wildmax: 256
qxpndcmd:
logfile:
logformat: {time}\t{REMOTE_ADDR}:{REMOTE_PORT}\t{cond}\t{hnum}\n

■/var/www/cgi-bin/estseek/estproxy.conf
#replace: ^http://localhost/{{!}}file:///home/mikio/public_html/
allowrx: ^http://
#allowrx: ^file://
denyrx: /\.
passaddr: 1
limitsize: 32
urlrule: \.est${{!}}text/x-estraier-draft
urlrule: \.(eml|mime|mht|mhtml)${{!}}message/rfc822
typerule: ^text/x-estraier-draft${{!}}[DRAFT]
typerule: ^text/plain${{!}}[TEXT]
typerule: ^(text/html|application/xhtml+xml)${{!}}[HTML]
typerule: ^message/rfc822${{!}}[MIME]
typerule: ^application/pdf${{!}}H@/usr/local/share/hyperestraier/filter/estfxpdftohtml
typerule: ^application/msword${{!}}H@/usr/local/share/hyperestraier/filter/estfxmsotohtml
typerule: ^application/vnd.ms-excel${{!}}H@/usr/local/share/hyperestraier/filter/estfxmsotohtml
typerule: ^application/vnd.ms-powerpoint${{!}}H@/usr/local/share/hyperestraier/filter/estfxmsotohtml
#0:english,1:japanese,2:chinese,3:korean
language: 1
shownavi: 0