[Groonga-commit] groonga/groonga [master] fixed a comment about grn_table_lcp_search().

Back to archive index

null+****@clear***** null+****@clear*****
2012年 2月 1日 (水) 10:57:14 JST


Susumu Yata	2012-02-01 10:57:14 +0900 (Wed, 01 Feb 2012)

  New Revision: 8cf7c180194b333b40786aaf09fd77fd34a33967

  Log:
    fixed a comment about grn_table_lcp_search().

  Modified files:
    include/groonga.h

  Modified: include/groonga.h (+3 -1)
===================================================================
--- include/groonga.h    2012-01-31 16:53:19 +0900 (b194a0b)
+++ include/groonga.h    2012-02-01 10:57:14 +0900 (93c14f5)
@@ -737,8 +737,10 @@ GRN_API grn_id grn_table_at(grn_ctx *ctx, grn_obj *table, grn_id id);
  * @table: 対象table
  * @key: 検索key
  *
- * tableがGRN_TABLE_PAT_KEYを指定して作ったtableなら、
+ * tableがGRN_TABLE_PAT_KEYもしくはGRN_TABLE_DAT_KEYを指定して作ったtableなら、
  * longest common prefix searchを行い、対応するIDを返す。
+ * tableがGRN_TABLE_HASH_KEYを指定して作ったtableなら、
+ * 完全に一致するキーを検索し、対応するIDを返す。
  **/
 GRN_API grn_id grn_table_lcp_search(grn_ctx *ctx, grn_obj *table,
                                     const void *key, unsigned int key_size);




Groonga-commit メーリングリストの案内
Back to archive index