Namazu-win32-users-ja(旧)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

強調表示が文字化け(?)する



度々失礼致します。
浅山です。

namazu.cgiの検索結果表示の強調表示設定を
Tmphasis Tags    "" ""
として、強調しないように設定しているのですが、
「C:\namazu/idf検索単語C:\namazu/\namazu/idf」
と表示されてしまいます。

つまり、検索単語で強調される部分が上記のような
表示になってしまうのです。
ちなみに「C:\namazu/idf」というファイルも
「C:\namazu/\namazu/idf」というファイルも存在しません。

Emphasis Tags    "" ""
でなく、
Emphasys Tags    "a" "a"
といった感じで設定すると、
「a検索単語a」
と表示されます。

OS:win2000server
www:weblogic5.1.0
です。

過去ログやFAQなど調べたのですが、
そのような現象の報告はなかったようなので
質問させていただきました。

思いつく節のある方がいらっしゃいましたら
ご教授お願いいたします。


※以下、namazurcの設定です。

# This is a Namazu configuration file for namazu or namazu.cgi.
#
#  Originally, this file is named 'namazurc-sample'.  so you should
#  copy this to 'namazurc' to make the file effective.
#  
#  Each item is must be separated by one or more SPACE or TAB characters. 
#  You can use a double-quoted string for represanting a string which 
#  contains SPACE or TAB characters like "foo bar baz".


##
## Index: Specify the default directory.
## 
Index         C:\namazu\index


##
## Template: Set the template directory containing
## NMZ.{head,foot,body,tips,result} files.
##
Template      C:\namazu\index


##
## Replace: Replace TARGET with REPLACEMENT in URIs in search
## results.  
##
## TARGET is specified by Ruby's perl-like regular expressions.  
## You can caputure sub-strings in TARGET by surrounding them 
## with `(' and `)'and use them later as backreferences by
## \1, \2, \3,... \9.
##  
## To use meta characters literally such as `*', `+', `?', `|', 
## `[', `]', `{', `}', `(', `)', escape them with `\'.
##  
## e.g.,
##  
##    Replace  /home/foo/public_html/   http://www.foobar.jp/~foo/
##    Replace  /home/(.*)/public_html/  http://www.foobar.jp/\1/
##    Replace   /C\|/foo/               http://www.foobar.jp/
##  
## If you do not want to do the processing on command line use, 
## run namazu with -U option.
##
## You can specify more than one Replace rules but the only 
## first-matched rule are applied. 
##
Replace       /[cC]\|/namazu/xxxxxx/  http://localhost/namazu/xxxxxx/


##
## Logging: Set OFF to turn off keyword logging to NMZ.slog. 
## Default is ON.
##
#Logging       off


##
## Lang: Set the locale code such as `ja_JP.eucJP', `ja_JP.SJIS', 
## `de', etc.  This directive works only if the environment 
## variable LANG is not set because the directive is mainly 
## intended for CGI use.  On the shell, You can set 
## environemtnt variable LANG instead of using the directive.
## 
## If you set `de' to it, namazu.cgi use 
## NMZ.(head|foot|body|tips|results).de for displaying results 
## and use a proper message catalog for `de'.
##
Lang          ja_JP.SJIS


##
## Scoring: Set the scoring method "tfidf" or "simple".
##
Scoring       tfidf


##
## EmphasisTags: Set the pair of html elements which is used in
## keyword emphasizing for search results.
##
EmphasisTags  ""   ""

##
## MaxHit: Set the maximum number of documents which can be
## handled in query operation.  If documents matching a
## query exceed the value, they will be ignored.
##
MaxHit 10000

##
## MaxMatch: Set the maximum number of words which can be
## handled in regex/prefix/inside/suffix query. If documents
## matching a query exceed the value, they will be ignored.
##
MaxMatch 1000

##
## ContentType: Set "Content-Type" header output. If you want to
## use non-HTML template files, set it suitably.
ContentType "text/html;charset=Shift_JIS"