[groonga-dev,04734] [ANN] Groonga 8.1.1

Back to archive index
Horimoto Yasuhiro horim****@clear*****
2019年 1月 29日 (火) 13:36:45 JST


今日は肉の日ですね。Groonga 8.1.1をリリースしました!

http://groonga.org/ja/blog/2019/01/29/groonga-8.1.1.html

変更点一覧:

    http://groonga.org/ja/docs/news.html#release-8-1-1

お知らせ:

本メーリングリストでも先日アナウンスがありましたが、
株式会社セナネットワークス様[https://www.sena-networks.co.jp/]が、
本メーリングリストと Groonga・Mroonga・PGroongaのサイトを
検索するサービスを作ってくれました!

Sagroonga(さぐるんが)[https://search.groonga.org/]
と言います。
PGroonga使って作ってあります。

Groonga・Mroonga・PGroongaのサイトの右上に検索ボックスをつけてあります。
その検索ボックスで検索すると、このSagroongaを使って検索するようになって
います。

ぜひご活用ください!


それでは、今回のリリースでの主な変更点を紹介します。

* logical_selectに新しいオプションload_table、load_columns、load_values
  を追加しました。

#### logical_selectに新しいオプションload_table、load_columns、
     load_valuesを追加しました。

logical_selectで新たなオプションload_table、load_columns、load_valuesが
使用できます。
以下のように、load_tableで指定したテーブルにlogical_selectの結果を格納
できます。

plugin_register sharding
[[0,0.0,0.0],true]
table_create Logs_20150203 TABLE_NO_KEY
[[0,0.0,0.0],true]
column_create Logs_20150203 timestamp COLUMN_SCALAR Time
[[0,0.0,0.0],true]
table_create Logs_20150204 TABLE_NO_KEY
[[0,0.0,0.0],true]
column_create Logs_20150204 timestamp COLUMN_SCALAR Time
[[0,0.0,0.0],true]
table_create Logs TABLE_NO_KEY
[[0,0.0,0.0],true]
column_create Logs original_id COLUMN_SCALAR UInt32
[[0,0.0,0.0],true]
column_create Logs timestamp_text COLUMN_SCALAR ShortText
[[0,0.0,0.0],true]
load --table Logs_20150203
[
{
  "timestamp": "2015-02-03 10:49:00"
},
{
  "timestamp": "2015-02-03 12:49:00"
}
]
[[0,0.0,0.0],2]
load --table Logs_20150204
[
{
  "timestamp": "2015-02-04 00:00:00"
}
]
[[0,0.0,0.0],1]
logical_select \
  --logical_table Logs \
  --shard_key timestamp \
  --load_table Logs \
  --load_columns "original_id, timestamp_text" \
  --load_values "_id, timestamp"
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        3
      ],
      [
        [
          "_id",
          "UInt32"
        ],
        [
          "timestamp",
          "Time"
        ]
      ],
      [
        1,
        1422928140.0
      ],
      [
        2,
        1422935340.0
      ],
      [
        1,
        1422975600.0
      ]
    ]
  ]
]
select --table Logs
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        3
      ],
      [
        [
          "_id",
          "UInt32"
        ],
        [
          "original_id",
          "UInt32"
        ],
        [
          "timestamp_text",
          "ShortText"
        ]
      ],
      [
        1,
        1,
        "1422928140000000"
      ],
      [
        2,
        2,
        "1422935340000000"
      ],
      [
        3,
        1,
        "1422975600000000"
      ]
    ]
  ]
]



groonga-dev メーリングリストの案内
Back to archive index