2015-11-30から1日間の記事一覧

grn_ts: フィルタの式を省略できるようになりました

Groonga ブログに書くほどでもない細かい内容はこちらに書いていくことにしました.grn_ts は --filter の先頭に '?' を付けることで有効になるわけですが, '?' に続けてフィルタの式を指定する必要がありました.今回の修正では, --filter '?' だけで grn…

Marisa-trie Q&A

Q: How can I know IDs when I create a keyset? Or should I reread the whole dictionary after build()? As you mentioned, "reread all the keys"-approach is the answer. IDs are allocated in construction and depend on the constructed tree struc…

Darts-clone Q&A

Q: What is the limit number of string in darts clone? A double-array uses an array and its size must be less than 2^29 (=536M). The array size is greater than the number of keys. So, the maximum number of keys is less than 2^29.The actual …