null+****@clear*****
null+****@clear*****
2012年 3月 8日 (木) 17:49:57 JST
Kouhei Sutou 2012-03-08 17:49:57 +0900 (Thu, 08 Mar 2012)
New Revision: 71e6ed2e00b4fb4eb566e81dc13084261178fcf2
Log:
test function suggest: add prefix RK search with hiragana + romaji in complete
Added files:
test/function/suite/suggest/rurema/complete-prefix-rk-search-hiragana-and-romaji.expected
test/function/suite/suggest/rurema/complete-prefix-rk-search-hiragana-and-romaji.test
Added: test/function/suite/suggest/rurema/complete-prefix-rk-search-hiragana-and-romaji.expected (+29 -0) 100644
===================================================================
--- /dev/null
+++ test/function/suite/suggest/rurema/complete-prefix-rk-search-hiragana-and-romaji.expected 2012-03-08 17:49:57 +0900 (915c366)
@@ -0,0 +1,29 @@
+suggest --table item_rurema --column kana --types complete --frequency_threshold 1 --query 'さk'
+[
+ [
+ 0,
+ 0.0,
+ 0.0
+ ],
+ {
+ "complete": [
+ [
+ 1
+ ],
+ [
+ [
+ "_key",
+ "ShortText"
+ ],
+ [
+ "_score",
+ "Int32"
+ ]
+ ],
+ [
+ "削除",
+ 1
+ ]
+ ]
+ }
+]
Added: test/function/suite/suggest/rurema/complete-prefix-rk-search-hiragana-and-romaji.test (+8 -0) 100644
===================================================================
--- /dev/null
+++ test/function/suite/suggest/rurema/complete-prefix-rk-search-hiragana-and-romaji.test 2012-03-08 17:49:57 +0900 (8cb912c)
@@ -0,0 +1,8 @@
+# include fixture/suggest/rurema/init.grn
+
+suggest \
+ --table item_rurema \
+ --column kana \
+ --types complete \
+ --frequency_threshold 1 \
+ --query 'さk'