HAYASHI Kentaro
null+****@clear*****
Tue Aug 28 18:00:22 JST 2012
HAYASHI Kentaro 2012-08-28 18:00:22 +0900 (Tue, 28 Aug 2012) New Revision: ccc720b36643fd674dd20bfcf9877b332c3f29ee https://github.com/groonga/groonga.github.com/commit/ccc720b36643fd674dd20bfcf9877b332c3f29ee Log: doc: add groonga 2.0.6 release entry Added files: en/_posts/2012-08-29-release.textile ja/_posts/2012-08-29-release.textile Added: en/_posts/2012-08-29-release.textile (+87 -0) 100644 =================================================================== --- /dev/null +++ en/_posts/2012-08-29-release.textile 2012-08-28 18:00:22 +0900 (88e3460) @@ -0,0 +1,87 @@ +--- +layout: post.en +title: Groonga 2.0.6 has been released +description: Groonga 2.0.6 has been released! +published: true +--- + +h2. Groonga 2.0.6 has been released + +"Groonga 2.0.6":/docs/news.html#release-2-0-5 has been released! + +How to install: "Install":/docs/install.html + +There are four topics for this release. + +* Supported near search by @'column *N "word1 word2 ..."'@ in script syntax +* Improved documents +* Improved groonga-httpd +* Improved geo_distance to reduce limitations + +h3. Supported near search by @'column *N "word1 word2 ..."'@ in script syntax + +groonga has prepared syntax for near search, but it does not work. + +The operator does near search with words @'word1 word2 ...'@. Near search searches records that contain the words and the words are appeared in the near distance. + +The unit of near distance is the number of characters in N-gram family tokenizers and the number of words in morphological analysis family tokenizers. +Near distance is always 10 for now. + +The syntax for "near search":/docs/reference/grn_expr/script_syntax.html#near-search-operator is @'column *N "word1 word2 ..."'@. + +h3. Improved documents + +The documentation was updated. We will update the documentation continuously in the future. + +groonga has "specific syntaxes":/docs/reference/grn_expr/script_syntax.html which specify conditional expressions. It is similar to ECMAScript. + +We improved the description about basic ECMAScript related syntaxes, some literals, specific operators for searching and so on. + +There are a schema definition and sample data with execution example, you can try examples immediately. + +h3. Improved groonga-httpd + +There are two points which improved groonga-httpd functionality. + +* groonga-httpd supports to customize base URI prefix +* groonga-httpd supports multiple databases + +First, the functionality of customizing base URI prefix was added to groonga-httpd. + +There were the limitation which supports only @/d/command?parameter1=value&...@ request form as well as groonga HTTP server. + +This release improves the functionality of customizing base URI prefix by adding @groonga_base_path@ directive. + +Now that @groonga-httpd@ accepts not only /d/ prefix request form, but also the others. + +So, utilize @groonga_base_path@, you can customize @groonga-httpd@ to restrict the executable commands which depends authentication. + +Here is the example which restricts shutdown command using "groonga_base_path":/docs/reference/executables/groonga-httpd.html#groonga-base-path + +Secondly, @groonga-httpd@ supports multiple database. + +There is the limitation that groonga HTTP server can handle only 1 database per process. + +This release improves the functionality to be able to handle database per location by using @location@ and @groonga_database@ directive. + +Now that @groonga-httpd@ can handle multiple databases as if one data source. + +See "configuration-directives":/docs/reference/executables/groonga-httpd.html#configuration-directives about directive and setting details. + +h3. Improved geo_distance to reduce limitations + +Groonga provides built-in functions which calculates the value of distance between two geo graphical points. + +And you can select the method of approximation how to approximate the geographical features within square approximation, spherical approximation or ellipsoid approximation. + +There are the limitations that geo_distance can not calculate the value of distance across the meridian, the date line or the equator accurately. + +This release partially improves the problem if you use square approximation. + +For example, if there are points in southern hemisphere, "geo_distance":/docs/functions/geo_distance.html returns the accurate value of distance even thought the line connecting the two points accorss the boundary. + +h3. Conclusion + +See "Release 2.0.6 2012/08/29":/docs/news.html#release-2-0-6 about detailed changes since 2.0.5. + +Let's search by groonga! Added: ja/_posts/2012-08-29-release.textile (+71 -0) 100644 =================================================================== --- /dev/null +++ ja/_posts/2012-08-29-release.textile 2012-08-28 18:00:22 +0900 (991c480) @@ -0,0 +1,71 @@ +--- +layout: post.ja +title: groonga 2.0.6リリース +description: groonga 2.0.6がリリースされました! +published: false +--- +h2. groonga 2.0.5リリース + +今日は肉の日ですね。 + +"groonga 2.0.6":/ja/docs/news.html#release-2-0-6 がリリースされました! + +それぞれの環境毎のインストール方法: "インストール":/ja/docs/install.html + +今回のリリースの主なトピックは3つあります。 + +* 特定の語句を含まないレコードの検索をサポート +* groongaサーバーについてのドキュメントの追加 +* @groonga-httpd@ で @http_rewrite_module@ のサポート + +h3. 特定の語句を含まないレコードの検索をサポート + +全文検索を行うときにBOOLEAN MODEでマイナス記号をつけて特定の語句が検索結果に含まれないようにする機能をサポートしました。 + +例えば、「明日」を含まないレコードの検索を以下のようなクエリで実現できるようになりました。(下記の例では、diariesテーブルのcontentカラムから「明日」が含まれないレコードを検索しています。) + +<pre> + select diaries --match_columns content --query "-明日" --query_flags ALLOW_LEADING_NOT +</pre> + +注意として、この検索を行うには @--query_flags@ に @ALLOW_LEADING_NOT@ の指定が必要です。また、 @ALLOW_LEADING_NOT@ は重い処理なので濫用するとパフォーマンスに影響します。 + + �� --query_flags@ には、他にも痒いところに手が届くような便利なオプションを追加しています。 + +例えば、カラムを検索する際に、 @--query@ "title:(検索したいキーワード)" を指定するとtitleカラムを指定したキーワードで検索するという振舞をします。 + +これは通常の検索の場合には望ましい振舞いですが、キーワード自体に:を含むなど、そのままではうまく検索できないようなケースがありました。 + +指定したキーワードを特に解釈せずそのまま検索できるようにするには @--query_flags@ オプションに @'NONE'@ を指定することでお望みの検索を行えます。 + +"@--query_flags@ オプション":/ja/docs/reference/commands/select.html#query-flags には今回紹介した @'ALLOW_LEADING_NOT'@ や @'NONE'@ の他にもいくつか種類があります。 + +h3. groongaサーバーについてのドキュメントの追加 + +今回のリリースではドキュメントの更新を行いました。 + +groongaをサーバー用途で使うときにはどんな選択肢があるでしょうか。 + +まずは提供しているプロトコルを選択する必要があります。groongaで提供しているプロトコルはGQTPとHTTPの2つがあります。 + +HTTPプロトコルを選択した場合には、groongaもしくはgroonga-httpdという実装の違いによる選択肢があります。 + +それではそれらプロトコルやサーバー実装についてどのように選んだら良いのでしょうか。 + +そういったサーバー用途で使うときに気になるポイントについて、 "比較表":/ja/docs/server/http/comparison.html を用意しました。検討するときの参考にしてください。 + +h3. @groonga-httpd@ で @http_rewrite_module@ のサポート + + �� groonga-httpd@ の機能強化のポイントとしてPCREの自動検出があります。 + +これまで、 @groonga-httpd@ では、PCREをリンクしていなかったため明示的に @http_rewrite_module@ を無効にしていました。 + +今回のリリースではPCREの自動検出をサポートし、なおかつ @http_rewrite_module@ が使えるようにPCREを必須としました。 + +以前紹介した、 @groonga-httpd@ の複数データベースのサポートやベースパスのカスタマイズと組合せることでより柔軟にgroongaサーバーの運用を行えるようになります。 + +h3. さいごに + +2.0.5からの詳細な変更点は "2.0.6リリース 2012/08/29":/ja/docs/news.html#release-2-0-6 を確認してください。 + +それでは、groongaでガンガン検索してください! -------------- next part -------------- HTML����������������������������...Download