[Groonga-commit] groonga/groonga.org at 0ffaec0 [gh-pages] blog en: add 6.0.5 entry

Back to archive index

Masafumi Yokoyama yokoy****@clear*****
Wed Jun 29 11:28:44 JST 2016


よく見たら数字が入る場所なので右側のクォートを消すのが正しい気がしました。

     `{'max_distance': XXX'}` ->
     `{'max_distance': XXX}`

(XXXよりもNとかのほうがわかりやすいですかね。。。うーん。)

On 2016年06月29日 11:22, Masafumi Yokoyama wrote:
>   > +In the previous versions, only object literal was accepted as the 3rd
>   > argument. It was annoying to specify `{'max_distance': XXX'}` as the 3rd
>   > argument every time to customize it.
>
> `{'max_distance': XXX'}`の「XXX」の左側のクォートが抜けているように見え
> ました。
>
>
> On 2016年06月29日 11:14, Kentaro Hayashi wrote:
>> Author
>>      Kentaro Hayashi <hayashi �� clear-code.com>
>> Date
>>      2016-06-29 11:14:16 +0900 (Wed, 29 Jun 2016)
>> New Revision
>>      0ffaec0dafeafe78cd24848d9bee71a3f575ef26
>>      <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26>
>> Message
>>
>>      blog en: add 6.0.5 entry
>>
>> Added files
>>
>>        * en/_posts/2016-06-29-groonga-6.0.5.md
>>          <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571>
>>
>> Added: en/_posts/2016-06-29-groonga-6.0.5.md (+78 -0) 100644
>> ===================================================================
>>
>> ...
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 	
>>
>> ...
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571>
>> 1
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R1>
>> 2
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R2>
>> 3
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R3>
>> 4
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R4>
>> 5
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R5>
>> 6
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R6>
>> 7
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R7>
>> 8
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R8>
>> 9
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R9>
>> 10
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R10>
>> 11
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R11>
>> 12
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R12>
>> 13
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R13>
>> 14
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R14>
>> 15
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R15>
>> 16
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R16>
>> 17
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R17>
>> 18
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R18>
>> 19
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R19>
>> 20
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R20>
>> 21
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R21>
>> 22
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R22>
>> 23
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R23>
>> 24
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R24>
>> 25
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R25>
>> 26
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R26>
>> 27
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R27>
>> 28
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R28>
>> 29
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R29>
>> 30
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R30>
>> 31
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R31>
>> 32
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R32>
>> 33
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R33>
>> 34
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R34>
>> 35
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R35>
>> 36
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R36>
>> 37
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R37>
>> 38
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R38>
>> 39
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R39>
>> 40
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R40>
>> 41
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R41>
>> 42
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R42>
>> 43
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R43>
>> 44
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R44>
>> 45
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R45>
>> 46
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R46>
>> 47
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R47>
>> 48
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R48>
>> 49
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R49>
>> 50
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R50>
>> 51
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R51>
>> 52
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R52>
>> 53
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R53>
>> 54
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R54>
>> 55
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R55>
>> 56
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R56>
>> 57
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R57>
>> 58
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R58>
>> 59
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R59>
>> 60
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R60>
>> 61
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R61>
>> 62
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R62>
>> 63
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R63>
>> 64
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R64>
>> 65
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R65>
>> 66
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R66>
>> 67
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R67>
>> 68
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R68>
>> 69
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R69>
>> 70
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R70>
>> 71
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R71>
>> 72
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R72>
>> 73
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R73>
>> 74
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R74>
>> 75
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R75>
>> 76
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R76>
>> 77
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R77>
>> 78
>> <https://github.com/groonga/groonga.org/commit/0ffaec0dafeafe78cd24848d9bee71a3f575ef26#diff-ac3790d12e8525d532a903e9cabb5571R78>
>>
>> 	
>>
>> @@ -0,0 +1,78 @@
>> +---
>> +layout: post.en
>> +title: Groonga 6.0.5 has been released!
>> +description: Groonga 6.0.5 has been released!
>> +published: false
>> +---
>> +
>> +## Groonga 6.0.5 has been released!
>> +
>> +[Groonga 6.0.5](/docs/news.html#release-6-0-5) has been released!
>> +
>> +How to install in each environment: [Install](/docs/install.html)
>> +
>> +### Changes
>> +
>> +Here are important changes in this release:
>> +
>> + * Improved `fuzzy_search` to specify `max_distance` easily
>> + * Supported `query_expand` command
>> + * Reduced build time from source archive
>> +
>> +#### Improved `fuzzy_search` to specify `max_distance` easily
>> +
>> +`fuzzy_search` itself was introduced since Groonga 6.0.0, but it is not
>> easy to customize `max_distance`.
>> +
>> +When executing fuzzy search, `max_distance` parameter is often changed
>> to customize behavior of fuzzy search.
>> +In the previous versions, only object literal was accepted as the 3rd
>> argument. It was annoying to specify `{'max_distance': XXX'}` as the 3rd
>> argument every time to customize it.
>> +
>> +Here is the example how to customize `max_distance`.
>> +
>> +Before(Groonga 6.0.0 - 6.0.4):
>> +
>> + > fuzzy_search(column, _key, {'max_distance': 2})
>> +
>> +After(Groonga 6.0.5 or later):
>> +
>> + > fuzzy_search(column, _key, 2)
>> +
>> +#### Supported `query_expand` command
>> +
>> +In this release, `query_expand` command is supported.
>> +
>> +There is a plugin for Groonga to expand query -
>> [QueryExpanderTSV](/docs/reference/query_expanders/tsv.html).
>> +But there is no easy way to conform expanded result from Groonga.
>> +
>> +If you can't search well when using query expander plugin, try this
>> command whether expanded query is correct.
>> +
>> +Here is the sample tsv which stores synonyms.
>> +
>> + % cat synonyms.tsv
>> + # -*- coding: utf-8 -*-
>> + #
>> + # key[TAB]synonym1[TAB]synonym2[TAB]...
>> + #
>> + groonga groonga rroonga mroonga
>> +
>> +Let's confirm how to work it.
>> +
>> + > plugin_register query_expanders/tsv
>> + [[0,1467092787.938153,0.0003046989440917969],true]
>> + > query_expand QueryExpanderTSV groonga
>> + [[0,1467092794.028075,0.0001063346862792969],"((groonga) OR (rroonga)
>> OR (mroonga))"]
>> +
>> +As you can see, `groonga` is expanded to `((groonga) OR (rroonga) OR
>> (mroonga))`.
>> +
>> +#### Reduced build time from source archive
>> +
>> +In this release, total build time of Groonga is reduced.
>> +
>> +If you use Groonga packages for some distributions, you have nothing to
>> do with it, but, if you build Groonga from source archive, it may be
>> happy with it.
>> +
>> +On my PC (CPU:Core i5-4210U Memory:8GB), building Groonga 6.0.4 takes
>> 11 minutes, on the other hand, Groonga 6.0.5 takes about 7 minutes! Yay!
>> +
>> +### Conclusions
>> +
>> +Please refer to [Release 6.0.5 -
>> 2016-06-29](/docs/news.html#release-6-0-5) about detailed changes since
>> 6.0.4.
>> +
>> +Then, let's go all out to search by Groonga!
>>
>>
>>
>> _______________________________________________
>> Groonga-commit mailing list
>> Groonga-commit �� lists.osdn.me
>> http://lists.osdn.me/mailman/listinfo/groonga-commit
>>
>
>


-- 
横山 昌史 <Masafumi Yokoyama>
E-mail: yokoyama �� clear-code.com
株式会社クリアコード
〒170-0005 東京都豊島区南大塚3-29-9
Tel: 03-5927-9440
Web: http://www.clear-code.com/




More information about the Groonga-commit mailing list
Back to archive index