论坛: 公开讨论 (Thread #21341)

0.9.22.8にするとトリミングで複数の検索語句が効かなくなる (2009-01-18 09:37 by 匿名 #41267)

0.9.22.8にするとトリミングで複数の検索語句が効かなくなる?という現象はうちだけでしょうか。
configスクリプトを弄るのが久しぶりなので詳しく覚えていないのですが、今までは
http://pc.watch.impress.co.jp/
に対して
'watch.impress.co.jp' => array(
array('最終更新','【Watch記事検索】'),
false,
),
としていたんですが、今はこの設定でトリムが行われないようです。複数ではなく1ワードであれば問題なく出来るのですが、複数文字をトリムする場合の設定をもし間違っていたら教えていただけないでしょうか?

回复到 #41267×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: 0.9.22.8にするとトリミングで複数の検索語句が効かなくなる (2009-01-18 09:53 by 匿名 #41268)

追記
http://freshers.mycom.co.jp/m/pc/Config.inc.php_
に以前のconfig.inc.phpがあり幾つか複数ワードの例があったんで試してみました。
'nikkansports.com' => array(
array('content', 'mainnews'),
true,
),
等ですが、現在のヴァージョンではトリムされていないような気がするのですがどうでしょうか。
回复到 #41267

回复到 #41268×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录

RE: 0.9.22.8にするとトリミングで複数の検索語句が効かなくなる (2009-01-19 11:49 by ucb #41299)

> http://freshers.mycom.co.jp/m/pc/Config.inc.php_
> に以前のconfig.inc.phpがあり

なんでそんなとこにw

いや、すいませんすいません><
バグ連発してますね。うろ覚えのコードに付け焼刃な対応してると、案の定ろくなことがない罠。

修正版(0.9.22.9)アップしましたんでご確認ください。さらなる不具合があれば、誠にお手数ですがあらためてお知らせくださいませ。
回复到 #41267

回复到 #41299×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登录