YUKI Piro Hiroshi
null+****@clear*****
Fri Jul 11 13:03:54 JST 2014
YUKI "Piro" Hiroshi 2014-07-11 13:03:54 +0900 (Fri, 11 Jul 2014) New Revision: 6efb5258afb22cdf4957142eca43c2412883cbb9 https://github.com/droonga/wikipedia-search/wiki/%E3%83%99%E3%83%B3%E3%83%81%E3%83%9E%E3%83%BC%E3%82%AF%E5%8F%96%E5%BE%97%E6%89%8B%E9%A0%86/6efb5258afb22cdf4957142eca43c2412883cbb9 Message: Updated ベンチマーク取得手順 (markdown) Modified files: ベンチマーク取得手順.md Modified: ベンチマーク取得手順.md (+2 -1) =================================================================== --- ベンチマーク取得手順.md 2014-07-11 12:58:51 +0900 (786a3db) +++ ベンチマーク取得手順.md 2014-07-11 13:03:54 +0900 (ba99c81) @@ -97,7 +97,8 @@ Groongaと比較する場合のベンチマーク取得手順。 % echo '{"wikiledia-ja-search":{"frequency":1,"method":"http","patterns":[' \ > patterns.json % curl 'http://stats.grok.se/ja/top' | grep "a href" | \ - sed -r -e 's;.+>([^<]+)</a>.*;{"path":"/d/select?table=Pages\&limit=10\&query=\1\&match_columns=title,text\&output_columns=title,text,categories,_key"},;' \ + sed -r -e 's/\&[^;]+//g' \ + -e 's;.+>([^<]+)</a>.*;{"path":"/d/select?table=Pages\&limit=10\&query=\&match_columns=title,text\&output_columns=title,text,categories,_key"},;' \ >> patterns.json % echo '{"path":"/d/select?Table=Pages&limit=10"}]}}' \ >> patterns.json -------------- next part -------------- HTML����������������������������...Download