BloGroonga

2013-12-29

Groonga 3.1.1 has been released

Groonga 3.1.1 has been released!

How to install: Install

There are following topics in this release.

  • Supported geo_in_rectangle in the whole world
  • Supported between function
  • Supported Fedora 20
  • Dropped Debian 6.0(squeeze) and Ubuntu 10.04(lucid) support

Supported geo_in_rectangle in the whole world

In this release, Groonga began to support geo_in_rectangle in the whole world.

Groonga supports the geographical feature to check whether the point exists in the rectangle area.

In the previous versions, geo_in_rectangle supports only the east longitude in the north hemisphere. It is good enough for Groonga users who lives in Japan especially, but not for others.

Now, you can use geo_in_rectangle even though accross the prime meridian or the equator.

See geo_in_rectangle documentation about details.

Supported between function

In this release, Groonga began to support between function which is used for filtering the specific range value of column.

Here are a sample schema and data.

table_create Users TABLE_HASH_KEY ShortText
column_create Users age COLUMN_SCALAR Int32
table_create Ages TABLE_HASH_KEY Int32
column_create Ages user_age COLUMN_INDEX Users age
load --table Users
[
{"_key": "Alice",  "age": 12},
{"_key": "Bob",    "age": 13},
{"_key": "Calros", "age": 14},
{"_key": "Dave",   "age": 15},
{"_key": "Eric",   "age": 16}
{"_key": "Frank",  "age": 17}
]

In the previous versions, you need to execute following query if you want to select persons which is matched to PG-13 (MPAA) rating.

select Users --filter 'age >= 13 && age <= 16'

On the contrast, you can use between function to get same result now.

select Users --filter 'between(age, 13, "include", 16, "include")'

In the above case, it means that "search the records which matches to specific value of column from the value of range which contains 13,14,15,16".

[
  [
    [4],
    [
      ["_id","UInt32"],["_key","ShortText"],["age","Int32"]
    ],
    [2,"Bob",13],
    [3,"Calros",14],
    [4,"Dave",15],
    [5,"Eric",16]
  ]
]

See between documentation about details.

Supported Fedora 20

In this release, Groonga began to support Fedora 20 which is released at Dec 17, 2013.

See following documentation how to install on Fedora 20.

Note that Fedora 19 support is dropped now.

Dropped Debian 6.0(squeeze) and Ubuntu 10.04(lucid) support

In this release, Debian 6.0(squeeze) and Ubuntu 10.04(lucid) support are dropped.

See following blog entry why squeeze and lucid are dropped.

Drop package support for Debian 6.0(squeeze) and Ubuntu 10.04(lucid)

Conclusion

See Release 3.1.1 2013/12/29 about detailed changes since 3.1.0.

Let's search by Groonga!