File: news.html

package info (click to toggle)
groonga 11.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 121,576 kB
  • sloc: ansic: 801,209; javascript: 62,121; ruby: 46,206; cpp: 33,790; xml: 24,951; yacc: 13,333; sh: 7,776; python: 3,266; makefile: 2,315; perl: 133
file content (5553 lines) | stat: -rw-r--r-- 346,803 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553


<!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>News &#8212; Groonga v10.1.1-31-g1e46ba6 documentation</title>
    <link rel="stylesheet" href="_static/groonga.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
    <script src="_static/jquery.js"></script>
    <script src="_static/underscore.js"></script>
    <script src="_static/doctools.js"></script>
    <script src="_static/language_data.js"></script>
    
    <link rel="shortcut icon" href="_static/favicon.ico"/>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" /> 
  </head><body>
<div class="header">
  <h1 class="title">
    <a id="top-link" href="index.html">
      <span class="project">groonga</span>
      <span class="separator">-</span>
      <span class="description">An open-source fulltext search engine and column store.</span>
    </a>
  </h1>

  <div class="other-language-links">
    <ul>
      <li><a href="../../ja/html/news.html">日本語</a></li>
    </ul>
  </div>
</div>
  

    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="nav-item nav-item-0"><a href="index.html">Groonga v10.1.1-31-g1e46ba6 documentation</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">News</a></li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="news">
<h1>News<a class="headerlink" href="#news" title="Permalink to this headline">¶</a></h1>
<div class="section" id="release-11-0-0-2021-02-09">
<span id="release-11-0-0"></span><h2>Release 11.0.0 - 2021-02-09<a class="headerlink" href="#release-11-0-0-2021-02-09" title="Permalink to this headline">¶</a></h2>
<p>This is a major version up! But It keeps backward compatibility. We can upgrade to 11.0.0 without rebuilding database.</p>
<div class="section" id="improvements">
<h3>Improvements<a class="headerlink" href="#improvements" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for outputting values of scalar column and vector column via nested index.</p>
<ul>
<li><p>The nested index is that has structure as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Products TABLE_PAT_KEY ShortText

table_create Purchases TABLE_NO_KEY
column_create Purchases product COLUMN_SCALAR Products
column_create Purchases tag COLUMN_SCALAR ShortText

column_create Products purchases COLUMN_INDEX Purchases product
</pre></div>
</div>
</li>
<li><p>The <code class="docutils literal notranslate"><span class="pre">Products.purchases</span></code> column is a index of <code class="docutils literal notranslate"><span class="pre">Purchases.product</span></code> column in the above example.
Also, <code class="docutils literal notranslate"><span class="pre">Purchases.product</span></code> is a reference to <code class="docutils literal notranslate"><span class="pre">Products</span></code> table.</p></li>
<li><p>We had not got the correct search result when we search via nested index until now.</p></li>
<li><p>The result had been as follows until now. We can see that <code class="docutils literal notranslate"><span class="pre">{&quot;product&quot;:</span> <span class="pre">&quot;apple&quot;,</span>&#160; <span class="pre">&quot;tag&quot;:</span> <span class="pre">&quot;man&quot;}</span></code> is not output.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Products TABLE_PAT_KEY ShortText

table_create Purchases TABLE_NO_KEY
column_create Purchases product COLUMN_SCALAR Products
column_create Purchases tag COLUMN_SCALAR ShortText

column_create Products purchases COLUMN_INDEX Purchases product

load --table Products
[
{&quot;_key&quot;: &quot;apple&quot;},
{&quot;_key&quot;: &quot;banana&quot;},
{&quot;_key&quot;: &quot;cacao&quot;}
]

load --table Purchases
[
{&quot;product&quot;: &quot;apple&quot;,  &quot;tag&quot;: &quot;man&quot;},
{&quot;product&quot;: &quot;banana&quot;, &quot;tag&quot;: &quot;man&quot;},
{&quot;product&quot;: &quot;cacao&quot;,  &quot;tag&quot;: &quot;woman&quot;},
{&quot;product&quot;: &quot;apple&quot;,  &quot;tag&quot;: &quot;many&quot;}
]

select Products \
  --output_columns _key,purchases.tag
[
  [
    0,
    1612504193.380738,
    0.0002026557922363281
  ],
  [
    [
      [
        3
      ],
      [
        [
          &quot;_key&quot;,
          &quot;ShortText&quot;
        ],
        [
          &quot;purchases.tag&quot;,
          &quot;ShortText&quot;
        ]
      ],
      [
        &quot;apple&quot;,
        &quot;many&quot;
      ],
      [
        &quot;banana&quot;,
        &quot;man&quot;
      ],
      [
        &quot;cacao&quot;,
        &quot;man&quot;
      ]
    ]
  ]
]
</pre></div>
</div>
</li>
<li><p>The result will be as follows from this release. We can see that <code class="docutils literal notranslate"><span class="pre">{&quot;product&quot;:</span> <span class="pre">&quot;apple&quot;,</span>&#160; <span class="pre">&quot;tag&quot;:</span> <span class="pre">&quot;man&quot;}</span></code> is output.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Products \
  --output_columns _key,purchases.tag
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        3
      ],
      [
        [
          &quot;_key&quot;,
          &quot;ShortText&quot;
        ],
        [
          &quot;purchases.tags&quot;,
          &quot;Tags&quot;
        ]
      ],
      [
        &quot;apple&quot;,
        [
          [
            &quot;man&quot;,
            &quot;one&quot;
          ],
          [
            &quot;child&quot;,
            &quot;many&quot;
          ]
        ]
      ],
      [
        &quot;banana&quot;,
        [
          [
            &quot;man&quot;,
            &quot;many&quot;
          ]
        ]
      ],
      [
        &quot;cacao&quot;,
        [
          [
            &quot;woman&quot;
          ]
        ]
      ]
    ]
  ]
]
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>[Windows] Dropped support for packages of Windows version that we had cross compiled by using MinGW on Linux.</p>
<ul class="simple">
<li><p>Because there aren’t probably many people who use that.</p></li>
<li><p>These above packages are that We had provided as below name until now.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-x.x.x-x86.exe</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-x.x.x-x86.zip</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-x.x.x-x64.exe</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-x.x.x-x86.zip</span></code></p></li>
</ul>
</li>
<li><p>From now on, we use the following packages for Windows.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-latest-x86-vs2019-with-vcruntime.zip</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-latest-x64-vs2019-with-vcruntime.zip</span></code></p></li>
</ul>
</li>
<li><p>If a system already has installed Microsoft Visual C++ Runtime Library, we suggest that we use the following packages.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-latest-x86-vs2019.zip</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-latest-x64-vs2019.zip</span></code></p></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="fixes">
<h3>Fixes<a class="headerlink" href="#fixes" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that there is possible that index is corrupt when Groonga executes many additions, delete, and update information in it.</p>
<ul>
<li><p>This bug occurs when we only execute many delete information from index.
However, it doesn’t occur when we only execute many additions information into index.</p></li>
<li><p>We can repair the index that is corrupt by this bug using reconstruction of it.</p></li>
<li><p>This bug doesn’t detect unless we reference the broken index.
Therefore, the index in our indexes may has already broken.</p></li>
<li><p>We can use [<a class="reference internal" href="reference/commands/index_column_diff.html"><span class="doc">index_column_diff</span></a>] command to confirm whether the index has already been broken or not.</p></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="release-10-1-1-2021-01-25">
<span id="release-10-1-1"></span><h2>Release 10.1.1 - 2021-01-25<a class="headerlink" href="#release-10-1-1-2021-01-25" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id1">
<h3>Improvements<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for outputting UInt64 value in Apache Arrow format.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for outputting a number of hits in Apache Arrow format as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>-- metadata --
GROONGA:n-hits: 10
</pre></div>
</div>
</li>
<li><p>[<a class="reference internal" href="reference/functions/query.html"><span class="doc">query</span></a>] Added support for optimization of “order by estimated size”.</p>
<ul class="simple">
<li><p>Normally, we can search at high speed when we first execute a condition which number of hits is a little.</p>
<ul>
<li><p>The “B (There are few) &amp;&amp; A (There are many)” faster than “A (There are many) &amp;&amp; B (There are few)”.</p></li>
</ul>
</li>
<li><p>This is a known optimization. However we need reorder conditions by ourselves.</p></li>
<li><p>Groonga executes this reorder automatically by using optimization of “order by estimated size”.</p></li>
<li><p>This optimization is valid by <code class="docutils literal notranslate"><span class="pre">GRN_ORDER_BY_ESTIMATED_SIZE_ENABLE=yes</span></code>.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/functions/between.html"><span class="doc">between</span></a>] Improved performance by the following improvements.</p>
<ul class="simple">
<li><p>Improved the accuracy of a decision whether the <code class="docutils literal notranslate"><span class="pre">between()</span></code> use sequential search or not.</p></li>
<li><p>Improved that we set a result of <code class="docutils literal notranslate"><span class="pre">between()</span></code> into a result set in bulk.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improved performance for a prefix search.</p>
<ul>
<li><p>For example, the performance of the following prefix search by using “*” improved.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Memos TABLE_PAT_KEY ShortText
table_create Contents TABLE_PAT_KEY ShortText   --normalizer NormalizerAuto
column_create Contents entries_key_index COLUMN_INDEX Memos _key

load --table Memos
[
{&quot;_key&quot;: &quot;(groonga) Start to try!&quot;},
{&quot;_key&quot;: &quot;(mroonga) Installed&quot;},
{&quot;_key&quot;: &quot;(groonga) Upgraded!&quot;}
]

select \
  --table Memos \
  --match_columns _key \
  --query &#39;\\(groonga\\)*&#39;
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenMecab] Improved performance for parallel construction fo token column. [GitHub#1158][Patched by naoa]</p></li>
</ul>
</div>
<div class="section" id="id2">
<h3>Fixes<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/functions/sub_filter.html"><span class="doc">sub_filter</span></a>] Fixed a bug that <code class="docutils literal notranslate"><span class="pre">sub_filter</span></code> doesn’t work in <code class="docutils literal notranslate"><span class="pre">slices[].filter</span></code>.</p>
<ul>
<li><p>For example, the result of <code class="docutils literal notranslate"><span class="pre">sub_filter</span></code> was 0 records by the following query by this bug.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Users TABLE_HASH_KEY ShortText
column_create Users age COLUMN_SCALAR UInt8

table_create Memos TABLE_NO_KEY
column_create Memos user COLUMN_SCALAR Users
column_create Memos content COLUMN_SCALAR Text

load --table Users
[
{&quot;_key&quot;: &quot;alice&quot;, &quot;age&quot;: 9},
{&quot;_key&quot;: &quot;bob&quot;,   &quot;age&quot;: 29}
]

load --table Memos
[
{&quot;user&quot;: &quot;alice&quot;, &quot;content&quot;: &quot;hello&quot;},
{&quot;user&quot;: &quot;bob&quot;,   &quot;content&quot;: &quot;world&quot;},
{&quot;user&quot;: &quot;alice&quot;, &quot;content&quot;: &quot;bye&quot;},
{&quot;user&quot;: &quot;bob&quot;,   &quot;content&quot;: &quot;yay&quot;}
]

select \
  --table Memos \
  --slices[adult].filter &#39;_id &gt; 1 &amp;&amp; sub_filter(user, &quot;age &gt;= 18&quot;)&#39;
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>Fixed a bug that it is possible that we can’t add data and Groonga crash when we repeat much addition of data and deletion of data against a hash table.</p></li>
</ul>
</div>
<div class="section" id="thanks">
<h3>Thanks<a class="headerlink" href="#thanks" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>naoa</p></li>
</ul>
</div>
</div>
<div class="section" id="release-10-1-0-2020-12-29">
<span id="release-10-1-0"></span><h2>Release 10.1.0 - 2020-12-29<a class="headerlink" href="#release-10-1-0-2020-12-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id3">
<h3>Improvements<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/functions/highlight_html.html"><span class="doc">highlight_html</span></a>] Added support for removing leading full width spaces from highlight target. [PGroonga#GitHub#155][Reported by Hung Nguyen V]</p>
<ul>
<li><p>Until now, leading full width spaces had also included in the target of highlight as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries TABLE_NO_KEY
column_create Entries body COLUMN_SCALAR ShortText

table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
column_create Terms document_index COLUMN_INDEX|WITH_POSITION Entries body

load --table Entries
[
{&quot;body&quot;: &quot;Groonga 高速!&quot;}
]

select Entries --output_columns \
  --match_columns body --query &#39;高速&#39; \
  --output_columns &#39;highlight_html(body)&#39;
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        1
      ],
      [
        [
          &quot;highlight_html&quot;,
          null
        ]
      ],
      [
        &quot;Groonga&lt;span class=\&quot;keyword\&quot;&gt; 高速&lt;/span&gt;!&quot;
      ]
    ]
  ]
]
</pre></div>
</div>
</li>
<li><p>However, this is needless as the target of highlight.
Therefore, in this release, <code class="docutils literal notranslate"><span class="pre">highlight_html()</span></code> removes leading full width spaces.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/status.html"><span class="doc">status</span></a>] Added a new item <code class="docutils literal notranslate"><span class="pre">features</span></code>.</p>
<ul>
<li><p>We can display which Groonga’s features are enabled as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>status --output_pretty yes
[
  [
    0,
    0.0,
    0.0
  ],
  {
    &quot;alloc_count&quot;: 361,
    &quot;starttime&quot;: 1608087311,
    &quot;start_time&quot;: 1608087311,
    &quot;uptime&quot;: 35,
    &quot;version&quot;: &quot;10.1.0&quot;,
    &quot;n_queries&quot;: 0,
    &quot;cache_hit_rate&quot;: 0.0,
    &quot;command_version&quot;: 1,
    &quot;default_command_version&quot;: 1,
    &quot;max_command_version&quot;: 3,
    &quot;n_jobs&quot;: 0,
    &quot;features&quot;: {
      &quot;nfkc&quot;: true,
      &quot;mecab&quot;: true,
      &quot;message_pack&quot;: true,
      &quot;mruby&quot;: true,
      &quot;onigmo&quot;: true,
      &quot;zlib&quot;: true,
      &quot;lz4&quot;: false,
      &quot;zstandard&quot;: false,
      &quot;kqueue&quot;: false,
      &quot;epoll&quot;: true,
      &quot;poll&quot;: false,
      &quot;rapidjson&quot;: false,
      &quot;apache_arrow&quot;: false,
      &quot;xxhash&quot;: false
    }
  }
]
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/status.html"><span class="doc">status</span></a>] Added a new item <code class="docutils literal notranslate"><span class="pre">apache_arrow</span></code>.</p>
<ul class="simple">
<li><p>We can display Apache Arrow version that Groonga use as below.</p></li>
</ul>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[
  [
    0,
    1608088628.440753,
    0.0006628036499023438
  ],
  {
    &quot;alloc_count&quot;: 360,
    &quot;starttime&quot;: 1608088617,
    &quot;start_time&quot;: 1608088617,
    &quot;uptime&quot;: 11,
    &quot;version&quot;: &quot;10.0.9-39-g5a4c6f3&quot;,
    &quot;n_queries&quot;: 0,
    &quot;cache_hit_rate&quot;: 0.0,
    &quot;command_version&quot;: 1,
    &quot;default_command_version&quot;: 1,
    &quot;max_command_version&quot;: 3,
    &quot;n_jobs&quot;: 0,
    &quot;features&quot;: {
      &quot;nfkc&quot;: true,
      &quot;mecab&quot;: true,
      &quot;message_pack&quot;: true,
      &quot;mruby&quot;: true,
      &quot;onigmo&quot;: true,
      &quot;zlib&quot;: true,
      &quot;lz4&quot;: true,
      &quot;zstandard&quot;: false,
      &quot;kqueue&quot;: false,
      &quot;epoll&quot;: true,
      &quot;poll&quot;: false,
      &quot;rapidjson&quot;: false,
      &quot;apache_arrow&quot;: true,
      &quot;xxhash&quot;: false
    },
    &quot;apache_arrow&quot;: {
      &quot;version_major&quot;: 2,
      &quot;version_minor&quot;: 0,
      &quot;version_patch&quot;: 0,
      &quot;version&quot;: &quot;2.0.0&quot;
    }
  }
]
</pre></div>
</div>
<ul class="simple">
<li><p>This item only display when Apache Arrow is valid in Groonga.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/window_function.html"><span class="doc">Window function</span></a>] Added support for processing all tables at once even if target tables straddle a shard. (experimental)</p>
<ul>
<li><p>If the target tables straddle a shard, the window function had processed each shard until now.</p>
<ul>
<li><p>Therefore, if we used multiple group keys in windows functions, the value of the group keys from the second had to be one kind of value.</p></li>
<li><p>However, we can use multiple kind of values for it as below by this improvement.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>plugin_register sharding
plugin_register functions/time

table_create Logs_20170315 TABLE_NO_KEY
column_create Logs_20170315 timestamp COLUMN_SCALAR Time
column_create Logs_20170315 price COLUMN_SCALAR UInt32
column_create Logs_20170315 item COLUMN_SCALAR ShortText

table_create Logs_20170316 TABLE_NO_KEY
column_create Logs_20170316 timestamp COLUMN_SCALAR Time
column_create Logs_20170316 price COLUMN_SCALAR UInt32
column_create Logs_20170316 item COLUMN_SCALAR ShortText

table_create Logs_20170317 TABLE_NO_KEY
column_create Logs_20170317 timestamp COLUMN_SCALAR Time
column_create Logs_20170317 price COLUMN_SCALAR UInt32
column_create Logs_20170317 item COLUMN_SCALAR ShortText

load --table Logs_20170315
[
{&quot;timestamp&quot;: &quot;2017/03/15 10:00:00&quot;, &quot;price&quot;: 1000, &quot;item&quot;: &quot;A&quot;},
{&quot;timestamp&quot;: &quot;2017/03/15 11:00:00&quot;, &quot;price&quot;:  900, &quot;item&quot;: &quot;A&quot;},
{&quot;timestamp&quot;: &quot;2017/03/15 12:00:00&quot;, &quot;price&quot;:  300, &quot;item&quot;: &quot;B&quot;},
{&quot;timestamp&quot;: &quot;2017/03/15 13:00:00&quot;, &quot;price&quot;:  200, &quot;item&quot;: &quot;B&quot;}
]

load --table Logs_20170316
[
{&quot;timestamp&quot;: &quot;2017/03/16 10:00:00&quot;, &quot;price&quot;:  530, &quot;item&quot;: &quot;A&quot;},
{&quot;timestamp&quot;: &quot;2017/03/16 11:00:00&quot;, &quot;price&quot;:  520, &quot;item&quot;: &quot;B&quot;},
{&quot;timestamp&quot;: &quot;2017/03/16 12:00:00&quot;, &quot;price&quot;:  110, &quot;item&quot;: &quot;A&quot;},
{&quot;timestamp&quot;: &quot;2017/03/16 13:00:00&quot;, &quot;price&quot;:  410, &quot;item&quot;: &quot;A&quot;},
{&quot;timestamp&quot;: &quot;2017/03/16 14:00:00&quot;, &quot;price&quot;:  710, &quot;item&quot;: &quot;B&quot;}
]

load --table Logs_20170317
[
{&quot;timestamp&quot;: &quot;2017/03/17 10:00:00&quot;, &quot;price&quot;:  800, &quot;item&quot;: &quot;A&quot;},
{&quot;timestamp&quot;: &quot;2017/03/17 11:00:00&quot;, &quot;price&quot;:  400, &quot;item&quot;: &quot;B&quot;},
{&quot;timestamp&quot;: &quot;2017/03/17 12:00:00&quot;, &quot;price&quot;:  500, &quot;item&quot;: &quot;B&quot;},
{&quot;timestamp&quot;: &quot;2017/03/17 13:00:00&quot;, &quot;price&quot;:  300, &quot;item&quot;: &quot;A&quot;}
]

table_create Times TABLE_PAT_KEY Time
column_create Times logs_20170315 COLUMN_INDEX Logs_20170315 timestamp
column_create Times logs_20170316 COLUMN_INDEX Logs_20170316 timestamp
column_create Times logs_20170317 COLUMN_INDEX Logs_20170317 timestamp

logical_range_filter Logs \
  --shard_key timestamp \
  --filter &#39;price &gt;= 300&#39; \
  --limit -1 \
  --columns[offsetted_timestamp].stage filtered \
  --columns[offsetted_timestamp].type Time \
  --columns[offsetted_timestamp].flags COLUMN_SCALAR \
  --columns[offsetted_timestamp].value &#39;timestamp - 39600000000&#39; \
  --columns[offsetted_day].stage filtered \
  --columns[offsetted_day].type Time \
  --columns[offsetted_day].flags COLUMN_SCALAR \
  --columns[offsetted_day].value &#39;time_classify_day(offsetted_timestamp)&#39; \
  --columns[n_records_per_day_and_item].stage filtered \
  --columns[n_records_per_day_and_item].type UInt32 \
  --columns[n_records_per_day_and_item].flags COLUMN_SCALAR \
  --columns[n_records_per_day_and_item].value &#39;window_count()&#39; \
  --columns[n_records_per_day_and_item].window.group_keys &#39;offsetted_day,item&#39; \
  --output_columns &quot;_id,time_format_iso8601(offsetted_day),item,n_records_per_day_and_item&quot;
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        &quot;_id&quot;,
        &quot;UInt32&quot;
      ],
      [
        &quot;time_format_iso8601&quot;,
        null
      ],
      [
        &quot;item&quot;,
        &quot;ShortText&quot;
      ],
      [
        &quot;n_records_per_day_and_item&quot;,
        &quot;UInt32&quot;
      ]
    ],
    [
      1,
      &quot;2017-03-14T00:00:00.000000+09:00&quot;,
      &quot;A&quot;,
      1
    ],
    [
      2,
      &quot;2017-03-15T00:00:00.000000+09:00&quot;,
      &quot;A&quot;,
      2
    ],
    [
      3,
      &quot;2017-03-15T00:00:00.000000+09:00&quot;,
      &quot;B&quot;,
      1
    ],
    [
      1,
      &quot;2017-03-15T00:00:00.000000+09:00&quot;,
      &quot;A&quot;,
      2
    ],
    [
      2,
      &quot;2017-03-16T00:00:00.000000+09:00&quot;,
      &quot;B&quot;,
      2
    ],
    [
      4,
      &quot;2017-03-16T00:00:00.000000+09:00&quot;,
      &quot;A&quot;,
      2
    ],
    [
      5,
      &quot;2017-03-16T00:00:00.000000+09:00&quot;,
      &quot;B&quot;,
      2
    ],
    [
      1,
      &quot;2017-03-16T00:00:00.000000+09:00&quot;,
      &quot;A&quot;,
      2
    ],
    [
      2,
      &quot;2017-03-17T00:00:00.000000+09:00&quot;,
      &quot;B&quot;,
      2
    ],
    [
      3,
      &quot;2017-03-17T00:00:00.000000+09:00&quot;,
      &quot;B&quot;,
      2
    ],
    [
      4,
      &quot;2017-03-17T00:00:00.000000+09:00&quot;,
      &quot;A&quot;,
      1
    ]
  ]
]
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>This feature requires Apache Arrow 3.0.0 that is not released yet.</p></li>
</ul>
</li>
<li><p>Added support for sequential search against reference column.</p>
<ul>
<li><p>This feature is only used if an index search will match many records and the current result set is enough small.</p>
<ul class="simple">
<li><p>Because the sequential search is faster than the index search in the above case.</p></li>
</ul>
</li>
<li><p>It is invalid by default.</p></li>
<li><p>It is valid if we set <code class="docutils literal notranslate"><span class="pre">GRN_II_SELECT_TOO_MANY_INDEX_MATCH_RATIO_REFERENCE</span></code> environment variable.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">GRN_II_SELECT_TOO_MANY_INDEX_MATCH_RATIO_REFERENCE</span></code> environment variable is a threshold to switch the sequential search from the index search.</p>
<ul>
<li><p>For example, if we set <code class="docutils literal notranslate"><span class="pre">GRN_II_SELECT_TOO_MANY_INDEX_MATCH_RATIO_REFERENCE=0.7</span></code> as below, if the number of records for the result set less than 70 % of total records, a search is executed by a sequential search.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$ export GRN_II_SELECT_TOO_MANY_INDEX_MATCH_RATIO_REFERENCE=0.7

table_create Tags TABLE_HASH_KEY ShortText
table_create Memos TABLE_HASH_KEY ShortText
column_create Memos tag COLUMN_SCALAR Tags

load --table Memos
[
{&quot;_key&quot;: &quot;Rroonga is fast!&quot;, &quot;tag&quot;: &quot;Rroonga&quot;},
{&quot;_key&quot;: &quot;Groonga is fast!&quot;, &quot;tag&quot;: &quot;Groonga&quot;},
{&quot;_key&quot;: &quot;Mroonga is fast!&quot;, &quot;tag&quot;: &quot;Mroonga&quot;},
{&quot;_key&quot;: &quot;Groonga sticker!&quot;, &quot;tag&quot;: &quot;Groonga&quot;},
{&quot;_key&quot;: &quot;Groonga is good!&quot;, &quot;tag&quot;: &quot;Groonga&quot;}
]

column_create Tags memos_tag COLUMN_INDEX Memos tag

select Memos --query &#39;_id:&gt;=3 tag:@Groonga&#39; --output_columns _id,_score,_key,tag
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        2
      ],
      [
        [
          &quot;_id&quot;,
          &quot;UInt32&quot;
        ],
        [
          &quot;_score&quot;,
          &quot;Int32&quot;
        ],
        [
          &quot;_key&quot;,
          &quot;ShortText&quot;
        ],
        [
          &quot;tag&quot;,
          &quot;Tags&quot;
        ]
      ],
      [
        4,
        2,
        &quot;Groonga sticker!&quot;,
        &quot;Groonga&quot;
      ],
      [
        5,
        2,
        &quot;Groonga is good!&quot;,
        &quot;Groonga&quot;
      ]
    ]
  ]
]
</pre></div>
</div>
</li>
</ul>
</li>
</ul>
</li>
<li><p>[tokenizers] Added support for the token column into <code class="docutils literal notranslate"><span class="pre">TokenDocumentVectorTFIDF</span></code> and <code class="docutils literal notranslate"><span class="pre">TokenDocumentVectorBM25</span></code>.</p>
<ul>
<li><p>If there is the token column that has the same source as the index column, these tokenizer use the token id of the token column.</p>
<ul class="simple">
<li><p>The token column has already had data that has already finished tokenize.</p></li>
<li><p>Therefore, these tokenizer are improved performance by using a token column.</p></li>
</ul>
</li>
<li><p>For example, we can use this feature by making a token column named <code class="docutils literal notranslate"><span class="pre">content_tokens</span></code> as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Memos TABLE_NO_KEY
column_create Memos content COLUMN_SCALAR Text

load --table Memos
[
{&quot;content&quot;: &quot;a b c a&quot;},
{&quot;content&quot;: &quot;c b c&quot;},
{&quot;content&quot;: &quot;b b a&quot;},
{&quot;content&quot;: &quot;a c c&quot;},
{&quot;content&quot;: &quot;a&quot;}
]

table_create Tokens TABLE_PAT_KEY ShortText \
  --normalizer NormalizerNFKC121 \
  --default_tokenizer TokenNgram
column_create Tokens memos_content COLUMN_INDEX|WITH_POSITION Memos content

column_create Memos content_tokens COLUMN_VECTOR Tokens content

table_create DocumentVectorBM25 TABLE_HASH_KEY Tokens \
  --default_tokenizer \
    &#39;TokenDocumentVectorBM25(&quot;index_column&quot;, &quot;memos_content&quot;, \
                             &quot;df_column&quot;, &quot;df&quot;)&#39;
column_create DocumentVectorBM25 df COLUMN_SCALAR UInt32

column_create Memos content_feature COLUMN_VECTOR|WITH_WEIGHT|WEIGHT_FLOAT32 \
  DocumentVectorBM25 content

select Memos
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        5
      ],
      [
        [
          &quot;_id&quot;,
          &quot;UInt32&quot;
        ],
        [
          &quot;content&quot;,
          &quot;Text&quot;
        ],
        [
          &quot;content_feature&quot;,
          &quot;DocumentVectorBM25&quot;
        ],
        [
          &quot;content_tokens&quot;,
          &quot;Tokens&quot;
        ]
      ],
      [
        1,
        &quot;a b c a&quot;,
        {
          &quot;a&quot;: 0.5095787,
          &quot;b&quot;: 0.6084117,
          &quot;c&quot;: 0.6084117
        },
        [
          &quot;a&quot;,
          &quot;b&quot;,
          &quot;c&quot;,
          &quot;a&quot;
        ]
      ],
      [
        2,
        &quot;c b c&quot;,
        {
          &quot;c&quot;: 0.8342565,
          &quot;b&quot;: 0.5513765
        },
        [
          &quot;c&quot;,
          &quot;b&quot;,
          &quot;c&quot;
        ]
      ],
      [
        3,
        &quot;b b a&quot;,
        {
          &quot;b&quot;: 0.9430448,
          &quot;a&quot;: 0.3326656
        },
        [
          &quot;b&quot;,
          &quot;b&quot;,
          &quot;a&quot;
        ]
      ],
      [
        4,
        &quot;a c c&quot;,
        {
          &quot;a&quot;: 0.3326656,
          &quot;c&quot;: 0.9430448
        },
        [
          &quot;a&quot;,
          &quot;c&quot;,
          &quot;c&quot;
        ]
      ],
      [
        5,
        &quot;a&quot;,
        {
          &quot;a&quot;: 1.0
        },
        [
          &quot;a&quot;
        ]
      ]
    ]
  ]
]
</pre></div>
</div>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">TokenDocumentVectorTFIDF</span></code> and <code class="docutils literal notranslate"><span class="pre">TokenDocumentVectorBM25</span></code> give a weight against each tokens.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">TokenDocumentVectorTFIDF</span></code> calculate a weight for token by using TF-IDF.</p>
<blockquote>
<div><ul class="simple">
<li><p>Please refer to <a class="reference external" href="https://radimrehurek.com/gensim/models/tfidfmodel.html">https://radimrehurek.com/gensim/models/tfidfmodel.html</a> about TF-IDF.</p></li>
</ul>
</div></blockquote>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">TokenDocumentVectorBM25</span></code> calculate a weight for token by using Okapi BM25.</p>
<blockquote>
<div><ul class="simple">
<li><p>Please refer to <a class="reference external" href="https://en.wikipedia.org/wiki/Okapi_BM25">https://en.wikipedia.org/wiki/Okapi_BM25</a> about Okapi BM25.</p></li>
</ul>
</div></blockquote>
</li>
</ul>
</li>
</ul>
</li>
<li><p>Improved performance when below case.</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">(column</span> <span class="pre">&#64;</span> <span class="pre">&quot;value&quot;)</span> <span class="pre">&amp;&amp;</span> <span class="pre">(column</span> <span class="pre">&#64;</span> <span class="pre">&quot;value&quot;)</span></code></p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="install/ubuntu.html"><span class="doc">Ubuntu</span></a>] Added support for Ubuntu 20.10 (Groovy Gorilla).</p></li>
<li><p>[<a class="reference internal" href="install/debian.html"><span class="doc">Debian GNU/Linux</span></a>] Dropped stretch support.</p>
<ul class="simple">
<li><p>It reached EOL.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="install/centos.html"><span class="doc">CentOS</span></a>] Dropped CentOS 6.</p>
<ul class="simple">
<li><p>It reached EOL.</p></li>
</ul>
</li>
<li><p>[httpd] Updated bundled nginx to 1.19.6.</p></li>
</ul>
</div>
<div class="section" id="id4">
<h3>Fixes<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>Fixed a bug that Groonga crash when we use multiple keys drilldown and use multiple accessor as below. [GitHub#1153][Patched by naoa]</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Tags TABLE_PAT_KEY ShortText

table_create Memos TABLE_HASH_KEY ShortText
column_create Memos tags COLUMN_VECTOR Tags
column_create Memos year COLUMN_SCALAR Int32

load --table Memos
[
{&quot;_key&quot;: &quot;Groonga is fast!&quot;, &quot;tags&quot;: [&quot;full-text-search&quot;], &quot;year&quot;: 2019},
{&quot;_key&quot;: &quot;Mroonga is fast!&quot;, &quot;tags&quot;: [&quot;mysql&quot;, &quot;full-text-search&quot;], &quot;year&quot;: 2019},
{&quot;_key&quot;: &quot;Groonga sticker!&quot;, &quot;tags&quot;: [&quot;full-text-search&quot;, &quot;sticker&quot;], &quot;year&quot;: 2020},
{&quot;_key&quot;: &quot;Rroonga is fast!&quot;, &quot;tags&quot;: [&quot;full-text-search&quot;, &quot;ruby&quot;], &quot;year&quot;: 2020},
{&quot;_key&quot;: &quot;Groonga is good!&quot;, &quot;tags&quot;: [&quot;full-text-search&quot;], &quot;year&quot;: 2020}
]

select Memos \
  --filter &#39;_id &gt; 0&#39; \
  --drilldowns[tags].keys &#39;tags,year &gt;= 2020&#39; \
  --drilldowns[tags].output_columns _key[0],_key[1],_nsubrecs

select Memos \
  --filter &#39;_id &gt; 0&#39; \
  --drilldowns[tags].keys &#39;tags,year &gt;= 2020&#39; \
  --drilldowns[tags].output_columns _key[1],_nsubrecs
</pre></div>
</div>
</li>
<li><p>Fixed a bug that the near phrase search did not match when the same phrase occurs multiple times as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries TABLE_NO_KEY
column_create Entries content COLUMN_SCALAR Text

table_create Terms TABLE_PAT_KEY ShortText \
  --default_tokenizer TokenNgram \
  --normalizer NormalizerNFKC121
column_create Terms entries_content COLUMN_INDEX|WITH_POSITION Entries content

load --table Entries
[
{&quot;content&quot;: &quot;a x a x b x x&quot;},
{&quot;content&quot;: &quot;a x x b x&quot;}
]

select Entries \
  --match_columns content \
  --query &#39;*NP2&quot;a b&quot;&#39; \
  --output_columns &#39;_score, content&#39;
</pre></div>
</div>
</li>
</ul>
</div>
<div class="section" id="id5">
<h3>Thanks<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Hung Nguyen V</p></li>
<li><p>naoa</p></li>
<li><p>timgates42 [Provided the patch at GitHub#1155]</p></li>
</ul>
</div>
</div>
<div class="section" id="release-10-0-9-2020-12-01">
<span id="release-10-0-9"></span><h2>Release 10.0.9 - 2020-12-01<a class="headerlink" href="#release-10-0-9-2020-12-01" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id6">
<h3>Improvements<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>Improved performance when we specified <code class="docutils literal notranslate"><span class="pre">-1</span></code> to <code class="docutils literal notranslate"><span class="pre">limit</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/reference_acquire.html"><span class="doc">reference_acquire</span></a>] Added a new option <code class="docutils literal notranslate"><span class="pre">--auto_release_count</span></code>.</p>
<ul>
<li><p>Groonga reduces a reference count automatically when a request reaching the number of value that is specified in <code class="docutils literal notranslate"><span class="pre">--auto_release_count</span></code>.</p></li>
<li><p>For example, the acquired reference of <code class="docutils literal notranslate"><span class="pre">Users</span></code> is released automatically after the second <code class="docutils literal notranslate"><span class="pre">status</span></code> is processed as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>reference_acquire --target_name Users --auto_release_count 2
status # Users is still referred.
status # Users&#39; reference is released after this command is processed.
</pre></div>
</div>
</li>
<li><p>We can prevent a leak of the release of acquired reference by this option.</p></li>
</ul>
</li>
<li><p>Modify behavior when Groonga evaluated empty <code class="docutils literal notranslate"><span class="pre">vector</span></code> and <code class="docutils literal notranslate"><span class="pre">uvector</span></code>.</p>
<ul class="simple">
<li><p>Empty <code class="docutils literal notranslate"><span class="pre">vector</span></code> and <code class="docutils literal notranslate"><span class="pre">uvector</span></code> are evaluated to <code class="docutils literal notranslate"><span class="pre">false</span></code> in command version 3.</p>
<ul>
<li><p>This behavior is valid for only command version 3.</p></li>
<li><p>Note that the different behavior until now.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Added a new Normalizer <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC130</span></code> based on Unicode NFKC (Normalization Form Compatibility Composition) for Unicode 13.0.</p></li>
<li><p>[<a class="reference internal" href="reference/token_filters.html"><span class="doc">Token filters</span></a>] Added a new TokenFilter <code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC130</span></code> based on Unicode NFKC (Normalization Form Compatibility Composition) for Unicode 13.0.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improved performance for <code class="docutils literal notranslate"><span class="pre">&quot;_score</span> <span class="pre">=</span> <span class="pre">column</span> <span class="pre">-</span> <span class="pre">X&quot;</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/reference_acquire.html"><span class="doc">reference_acquire</span></a>] Improved that <code class="docutils literal notranslate"><span class="pre">--reference_acquire</span></code> doesn’t get unnecessary reference of index column when we specify the <code class="docutils literal notranslate"><span class="pre">--recursive</span> <span class="pre">dependent</span></code> option.</p>
<ul class="simple">
<li><p>From this release, the targets of <code class="docutils literal notranslate"><span class="pre">--recursive</span> <span class="pre">dependent</span></code> are only the target table’s key  and the index column that is set to data column.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Add support for ordered near phrase search.</p>
<ul>
<li><p>Until now, the near phrase search have only looked for records that the distance of between specified phrases near.</p></li>
<li><p>This feature look for satisfy the following conditions records.</p>
<ul class="simple">
<li><p>If the distance of between specified phrases is near.</p></li>
<li><p>If the specified phrases are in line with specified order.</p></li>
</ul>
</li>
<li><p>This feature use <code class="docutils literal notranslate"><span class="pre">*ONP</span></code> as an operator. (Note that the operator isn’t <code class="docutils literal notranslate"><span class="pre">*NP</span></code>.)</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">$</span></code> is handled as itself in the query syntax. Note that it isn’t a special character in the query syntax.</p></li>
<li><p>If we use script syntax, this feature use as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries TABLE_NO_KEY
column_create Entries content COLUMN_SCALAR Text

table_create Terms TABLE_PAT_KEY ShortText \
  --default_tokenizer &#39;TokenNgram(&quot;unify_alphabet&quot;, false, \
                                  &quot;unify_digit&quot;, false)&#39; \
  --normalizer NormalizerNFKC121
column_create Terms entries_content COLUMN_INDEX|WITH_POSITION Entries content

load --table Entries
[
{&quot;content&quot;: &quot;abcXYZdef&quot;},
{&quot;content&quot;: &quot;abebcdXYZdef&quot;},
{&quot;content&quot;: &quot;abcdef&quot;},
{&quot;content&quot;: &quot;defXYZabc&quot;},
{&quot;content&quot;: &quot;XYZabc&quot;},
{&quot;content&quot;: &quot;abc123456789def&quot;},
{&quot;content&quot;: &quot;abc12345678def&quot;},
{&quot;content&quot;: &quot;abc1de2def&quot;}
]

select Entries --filter &#39;content *ONP &quot;abc def&quot;&#39; --output_columns &#39;_score, content&#39;
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        4
      ],
      [
        [
          &quot;_score&quot;,
          &quot;Int32&quot;
        ],
        [
          &quot;content&quot;,
          &quot;Text&quot;
        ]
      ],
      [
        1,
        &quot;abcXYZdef&quot;
      ],
      [
        1,
        &quot;abcdef&quot;
      ],
      [
        1,
        &quot;abc12345678def&quot;
      ],
      [
        1,
        &quot;abc1de2def&quot;
      ]
    ]
  ]
]
</pre></div>
</div>
</li>
<li><p>If we use query syntax, this feature use as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries --query &#39;content:*ONP &quot;abc def&quot;&#39; --output_columns &#39;_score, content&#39;
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        4
      ],
      [
        [
          &quot;_score&quot;,
          &quot;Int32&quot;
        ],
        [
          &quot;content&quot;,
          &quot;Text&quot;
        ]
      ],
      [
        1,
        &quot;abcXYZdef&quot;
      ],
      [
        1,
        &quot;abcdef&quot;
      ],
      [
        1,
        &quot;abc12345678def&quot;
      ],
      [
        1,
        &quot;abc1de2def&quot;
      ]
    ]
  ]
]
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>[httpd] Updated bundled nginx to 1.19.5.</p></li>
</ul>
</div>
<div class="section" id="id7">
<h3>Fixes<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/executables/groonga-server-http.html"><span class="doc">Groonga HTTP server</span></a>] Fixed that Groonga HTTP server finished without waiting all woker threads finished completely.</p>
<ul>
<li><p>Until now, Groonga HTTP server had started the process of finish after worker threads finished itself process.
However, worker threads may not finish completely at this timing. Therefore, Groonga HTTP server may crashed according to timing. Because Groonga HTTP server may free area of memory that worker threads are using them yet.</p></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="release-10-0-8-2020-10-29">
<span id="release-10-0-8"></span><h2>Release 10.0.8 - 2020-10-29<a class="headerlink" href="#release-10-0-8-2020-10-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id8">
<h3>Improvements<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for large drilldown keys.</p>
<ul>
<li><p>The maximum on the key size of Groonga’s tables are 4KiB.
However, if we specify multiple keys in drilldown, the size of drilldown keys may be larger than 4KiB.</p>
<ul class="simple">
<li><p>For example, if the total size for <code class="docutils literal notranslate"><span class="pre">tag</span></code> key and <code class="docutils literal notranslate"><span class="pre">n_like</span></code> key is lager than 4KiB in the following case,
the drilldown had failed.</p></li>
</ul>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select Entries \
  --limit -1 \
  --output_columns tag,n_likes \
  --drilldowns[tag.n_likes].keys tag,n_likes \
  --drilldowns[tag.n_likes].output_columns _value.tag,_value.n_likes,_nsubrecs
</pre></div>
</div>
<ul class="simple">
<li><p>Because the drilldown packes specifying all keys for drilldown. So, if each the size of drilldown key is large,
the size of the packed drilldown keys is larger than 4KiB.</p></li>
</ul>
</li>
<li><p>This feature requires <a class="reference external" href="https://github.com/Cyan4973/xxHash">xxHash</a> .</p>
<ul class="simple">
<li><p>However, if we install Groonga from package, we can use this feature without doing anything special.
Because Groonga’s package already include <a class="reference external" href="https://github.com/Cyan4973/xxHash">xxHash</a> .</p></li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for handling as the same dynamic column even if columns refer to different tables.</p>
<ul>
<li><p>We can’t have handled the same dynamic column if columns refer to different tables until now.
Because the type of columns is different.</p></li>
<li><p>However, from this version, we can handle the same dynamic column even if columns refer to different tables by casting to built-in types as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Store_A TABLE_HASH_KEY ShortText
table_create Store_B TABLE_HASH_KEY ShortText

table_create Customers TABLE_HASH_KEY Int32
column_create Customers customers_A COLUMN_VECTOR Store_A
column_create Customers customers_B COLUMN_VECTOR Store_B

load --table Customers
[
  {&quot;_key&quot;: 1604020694, &quot;customers_A&quot;: [&quot;A&quot;, &quot;B&quot;, &quot;C&quot;]},
  {&quot;_key&quot;: 1602724694, &quot;customers_B&quot;: [&quot;Z&quot;, &quot;V&quot;, &quot;Y&quot;, &quot;T&quot;]},
]

select Customers \
  --filter &#39;_key == 1604020694&#39; \
  --columns[customers].stage output \
  --columns[customers].flags COLUMN_VECTOR \
  --columns[customers].type ShortText \
  --columns[customers].value &#39;customers_A&#39; \
  --output_columns &#39;_key, customers&#39;
</pre></div>
</div>
</li>
<li><p>We have needed to set <code class="docutils literal notranslate"><span class="pre">Store_A</span></code> or <code class="docutils literal notranslate"><span class="pre">Store_B</span></code> in the <code class="docutils literal notranslate"><span class="pre">type</span></code> of <code class="docutils literal notranslate"><span class="pre">customers</span></code> column until now.</p></li>
<li><p>The type of <code class="docutils literal notranslate"><span class="pre">customers_A</span></code> column cast to <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> in the above example.</p></li>
<li><p>By this, we can also set the value of <code class="docutils literal notranslate"><span class="pre">customers_B</span></code> in the value of <code class="docutils literal notranslate"><span class="pre">customers</span></code> column.
Because both the key of <code class="docutils literal notranslate"><span class="pre">customers_A</span></code> and <code class="docutils literal notranslate"><span class="pre">customers_B</span></code> are <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> type.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improved performance when the number of records for search result are huge.</p>
<ul class="simple">
<li><p>This optimization works when below cases.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">'column</span> <span class="pre">&lt;=</span> <span class="pre">&quot;value&quot;'</span></code> or <code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">'column</span> <span class="pre">&gt;=</span> <span class="pre">&quot;value&quot;'</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">'column</span> <span class="pre">==</span> <span class="pre">&quot;value&quot;'</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">'between(...)'</span></code> or <code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">'between(_key,</span> <span class="pre">...)'</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">'sub_filter(reference_column,</span> <span class="pre">...)'</span></code></p></li>
<li><p>Comparing against <code class="docutils literal notranslate"><span class="pre">_key</span></code> such as <code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">'_key</span> <span class="pre">&gt;</span> <span class="pre">&quot;value&quot;'</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">'geo_in_circle(...)'</span></code></p></li>
</ul>
</li>
</ul>
</li>
<li><p>Updated bundled LZ4 to 1.9.2 from 1.8.2.</p></li>
<li><p>Added support xxHash 0.8</p></li>
<li><p>[httpd] Updated bundled nginx to 1.19.4.</p></li>
</ul>
</div>
<div class="section" id="id10">
<h3>Fixes<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed the following bugs related the browser based administration tool. [GitHub#1139][Reported by sutamin]</p>
<ul>
<li><p>The problem that Groonga’s logo had not been displayed.</p></li>
<li><p>The problem that the throughput chart had not been displayed on the index page for Japanese.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/functions/between.html"><span class="doc">between</span></a>] Fixed a bug that <code class="docutils literal notranslate"><span class="pre">between(_key,</span> <span class="pre">...)</span></code> is always evaluated by sequential search.</p></li>
</ul>
</div>
<div class="section" id="id11">
<h3>Thanks<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>sutamin</p></li>
</ul>
</div>
</div>
<div class="section" id="release-10-0-7-2020-09-29">
<span id="release-10-0-7"></span><h2>Release 10.0.7 - 2020-09-29<a class="headerlink" href="#release-10-0-7-2020-09-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id12">
<h3>Improvements<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[highlight], [<a class="reference internal" href="reference/functions/highlight_full.html"><span class="doc">highlight_full</span></a>] Added support for normalizer options.</p></li>
<li><p>[<a class="reference internal" href="reference/command/return_code.html"><span class="doc">Return code</span></a>] Added a new return code <code class="docutils literal notranslate"><span class="pre">GRN_CONNECTION_RESET</span></code> for resetting connection.</p>
<ul>
<li><p>it is returned when an existing connection was forcibly close by the remote host.</p></li>
</ul>
</li>
<li><p>Dropped Ubuntu 19.10 (Eoan Ermine).</p>
<ul>
<li><p>Because this version has been EOL.</p></li>
</ul>
</li>
<li><p>[httpd] Updated bundled nginx to 1.19.2.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Added support for detecting duplicate keys.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grndb</span> <span class="pre">check</span></code> is also able to detect duplicate keys since this release.</p></li>
<li><p>This check valid except a table of <code class="docutils literal notranslate"><span class="pre">TABLE_NO_KEY</span></code>.</p></li>
<li><p>If the table that was detected duplicate keys by <code class="docutils literal notranslate"><span class="pre">grndb</span> <span class="pre">check</span></code> has only index columns, we can recover by <code class="docutils literal notranslate"><span class="pre">grndb</span> <span class="pre">recover</span></code>.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/table_create.html"><span class="doc">table_create</span></a>], [<a class="reference internal" href="reference/commands/column_create.html"><span class="doc">column_create</span></a>] Added a new option <code class="docutils literal notranslate"><span class="pre">--path</span></code></p>
<ul>
<li><p>We can store specified a table or a column to any path using this option.</p></li>
<li><p>This option is useful if we want to store a table or a column that
we often use to fast storage (e.g. SSD) and store them that we don’t often
use to slow storage (e.g. HDD).</p></li>
<li><p>We can specify both relative path and absolute path in this option.</p>
<ul>
<li><p>If we specify relative path in this option, the path is resolved the path of <code class="docutils literal notranslate"><span class="pre">groonga</span></code> process as the origin.</p></li>
</ul>
</li>
<li><p>However, if we specify <code class="docutils literal notranslate"><span class="pre">--path</span></code>, the result of <code class="docutils literal notranslate"><span class="pre">dump</span></code> command includes <code class="docutils literal notranslate"><span class="pre">--path</span></code> informations.</p>
<ul>
<li><p>Therefore, if we specify <code class="docutils literal notranslate"><span class="pre">--path</span></code>, we can’t restore to host in different enviroment.</p>
<ul>
<li><p>Because the directory configuration and the location of <code class="docutils literal notranslate"><span class="pre">groonga</span></code> process in different by each enviroment.</p></li>
</ul>
</li>
<li><p>If we don’t want include <code class="docutils literal notranslate"><span class="pre">--path</span></code> informations to a dump, we need specify <code class="docutils literal notranslate"><span class="pre">--dump_paths</span> <span class="pre">no</span></code> in <code class="docutils literal notranslate"><span class="pre">dump</span></code> command.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Added a new option <code class="docutils literal notranslate"><span class="pre">--dump_paths</span></code>.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">--dump_paths</span></code> option control whether <code class="docutils literal notranslate"><span class="pre">--path</span></code> is dumped or not.</p></li>
<li><p>The default value of it is <code class="docutils literal notranslate"><span class="pre">yes</span></code>.</p></li>
<li><p>If we specify <code class="docutils literal notranslate"><span class="pre">--path</span></code> when we create tables or columns and we don’t want include <code class="docutils literal notranslate"><span class="pre">--path</span></code> informations to a dump, we specify <code class="docutils literal notranslate"><span class="pre">no</span></code> into <code class="docutils literal notranslate"><span class="pre">--dump_paths</span></code> when we execute <code class="docutils literal notranslate"><span class="pre">dump</span></code> command.</p></li>
</ul>
</li>
<li><p>[functions] Added a new function <code class="docutils literal notranslate"><span class="pre">string_toknize()</span></code>.</p>
<ul>
<li><p>It tokenizes the column value that is specified in the second argument with the tokenizer that is specified in the first argument.</p></li>
</ul>
</li>
<li><p>[tokenizers] Added a new tokenizer <code class="docutils literal notranslate"><span class="pre">TokenDocumentVectorTFIDF</span></code> (experimental).</p>
<ul>
<li><p>It generates automatically document vector by TF-IDF.</p></li>
</ul>
</li>
<li><p>[tokenizers] Added a new tokenizer <code class="docutils literal notranslate"><span class="pre">TokenDocumentVectorBM25</span></code> (experimental).</p>
<ul>
<li><p>It generates automatically document vector by BM25.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for near search in same sentence.</p></li>
</ul>
</div>
<div class="section" id="id13">
<h3>Fixes<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Fixed a bug that <code class="docutils literal notranslate"><span class="pre">load</span></code> didn’t a return response when we executed it against 257 columns.</p>
<ul>
<li><p>This bug may occur from 10.0.4 or later.</p></li>
<li><p>This bug only occur when we load data by using <code class="docutils literal notranslate"><span class="pre">[a,</span> <span class="pre">b,</span> <span class="pre">c,</span> <span class="pre">...]</span></code> format.</p>
<ul>
<li><p>If we load data by using <code class="docutils literal notranslate"><span class="pre">[{...}]</span></code>, this bug doesn’t occur.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>[MessagePack] Fixed a bug that float32 value wasn’t unpacked correctly.</p></li>
<li><p>Fixed the following bugs related multi column index.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">_score</span></code> may be broken with full text search.</p></li>
<li><p>The records that couldn’t hit might hit.</p></li>
<li><p>Please refer to the following URL for the details about occurrence conditionin of this bug.</p>
<ul>
<li><p><a class="reference external" href="https://groonga.org/en/blog/2020/09/29/groonga-10.0.7.html#multi-column-index">https://groonga.org/en/blog/2020/09/29/groonga-10.0.7.html#multi-column-index</a></p></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="release-10-0-6-2020-08-29">
<span id="release-10-0-6"></span><h2>Release 10.0.6 - 2020-08-29<a class="headerlink" href="#release-10-0-6-2020-08-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id14">
<h3>Improvements<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Improved search plan for large data.</p>
<ul>
<li><p>Normally, <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> is faster than <code class="docutils literal notranslate"><span class="pre">logical_select</span></code>.
However, it had been slower than <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> in the below case.</p>
<ul>
<li><p>If Groonga can’t get the number of required records easily, it has the feature that switches index search from sequential search. (Normally, <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> uses a sequential search when records of search target are many.)</p></li>
<li><p>The search process for it is almost the same as <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> if the above switching occurred.
So, <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> is severalfold slower than <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> in the above case if the search target is large data.
Because <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> executes sort after the search.</p></li>
</ul>
</li>
<li><p>If we search for large data, Groonga easily use sequential search than until now since this release.</p></li>
<li><p>Therefore, <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> will improve performance. Because the case of the search process almost the same as <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> decreases.</p></li>
</ul>
</li>
<li><p>[httpd] Updated bundled nginx to 1.19.1.</p></li>
<li><p>Modify how to install into Debian GNU/Linux.</p>
<ul>
<li><p>We modify to use <code class="docutils literal notranslate"><span class="pre">groonga-apt-source</span></code> instead of <code class="docutils literal notranslate"><span class="pre">groonga-archive-keyring</span></code>. Because the <code class="docutils literal notranslate"><span class="pre">lintian</span></code> command recommends using <code class="docutils literal notranslate"><span class="pre">apt-source</span></code> if a package that it puts files under the <code class="docutils literal notranslate"><span class="pre">/etc/apt/sources.lists.d/</span></code>.</p>
<ul>
<li><p>The <code class="docutils literal notranslate"><span class="pre">lintian</span></code> command is the command which checks for many common packaging errors.</p></li>
<li><p>Please also refer to the following URL for the details about installation procedures.</p>
<ul>
<li><p><a class="reference external" href="https://groonga.org/docs/install/debian.html">https://groonga.org/docs/install/debian.html</a></p></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Added a support for <code class="docutils literal notranslate"><span class="pre">highlight_html</span></code> and <code class="docutils literal notranslate"><span class="pre">highlight_full</span></code> .</p></li>
<li><p>Added support for recycling the IDs of records that are deleted when an array without value space delete.[GitHub#mroonga/mroonga#327][Reported by gaeeyo]</p>
<ul>
<li><p>If an array that doesn’t have value space is deleted, deleted IDs are never recycled.</p></li>
<li><p>Groonga had used large storage space by large ID. Because it uses large storage space by itself.</p>
<ul>
<li><p>For example, large ID is caused after many adds and deletes like Mroonga’s <code class="docutils literal notranslate"><span class="pre">mroonga_operations</span></code></p></li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improved performance of full-text-search without index.</p></li>
<li><p>[<a class="reference internal" href="reference/function.html"><span class="doc">Function</span></a>] Improved performance for calling of function that all arguments a variable reference or literal.</p></li>
<li><p>[<a class="reference internal" href="reference/indexing.html"><span class="doc">Indexing</span></a>] Improved performance of offline index construction by using token column. [GitHub#1126][Patched by naoa]</p></li>
<li><p>Improved performance for <code class="docutils literal notranslate"><span class="pre">&quot;_score</span> <span class="pre">=</span> <span class="pre">func(...)&quot;</span></code>.</p>
<ul>
<li><p>The performance when the <code class="docutils literal notranslate"><span class="pre">_score</span></code> value calculate by using only function like <code class="docutils literal notranslate"><span class="pre">&quot;_score</span> <span class="pre">=</span> <span class="pre">func(...)&quot;</span></code> improved.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id15">
<h3>Fixes<a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that garbage may be included in response after response send error.</p>
<ul>
<li><p>It may occur if a client didn’t read all responses and closed the connection.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id16">
<h3>Thanks<a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>gaeeyo</p></li>
<li><p>naoa</p></li>
</ul>
</div>
</div>
<div class="section" id="release-10-0-5-2020-07-30">
<span id="release-10-0-5"></span><h2>Release 10.0.5 - 2020-07-30<a class="headerlink" href="#release-10-0-5-2020-07-30" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id17">
<h3>Improvements<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for storing reference in table that we specify with <code class="docutils literal notranslate"><span class="pre">--load_table</span></code>.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">--load_table</span></code> is a feature that stores search results to the table in a prepared.</p>
<ul class="simple">
<li><p>If the searches are executed multiple times, we can cache the search results by storing them to this table.</p></li>
<li><p>We can shorten the search times that the search after the first time by using this table.</p></li>
</ul>
</li>
<li><p>We can store a reference to other tables into the key of this table as below since this release.</p>
<ul class="simple">
<li><p>We can make a smaller size of this table. Because we only store references without store column values.</p></li>
<li><p>If we search against this table, we can search by using indexes for reference destination.</p></li>
</ul>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Logs TABLE_HASH_KEY ShortText
column_create Logs timestamp COLUMN_SCALAR Time

table_create Times TABLE_PAT_KEY Time
column_create Times logs_timestamp COLUMN_INDEX Logs timestamp

table_create LoadedLogs TABLE_HASH_KEY Logs

load --table Logs
[
{
  &quot;_key&quot;: &quot;2015-02-03:1&quot;,
  &quot;timestamp&quot;: &quot;2015-02-03 10:49:00&quot;
},
{
  &quot;_key&quot;: &quot;2015-02-03:2&quot;,
  &quot;timestamp&quot;: &quot;2015-02-03 12:49:00&quot;
},
{
  &quot;_key&quot;: &quot;2015-02-04:1&quot;,
  &quot;timestamp&quot;: &quot;2015-02-04 00:00:00&quot;
}
]

select \
  Logs \
  --load_table LoadedLogs \
  --load_columns &quot;_key&quot; \
  --load_values &quot;_key&quot; \
  --limit 0

select \
  --table LoadedLogs \
  --filter &#39;timestamp &gt;= &quot;2015-02-03 12:49:00&quot;&#39;
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        2
      ],
      [
        [
          &quot;_id&quot;,
          &quot;UInt32&quot;
        ],
        [
          &quot;_key&quot;,
          &quot;ShortText&quot;
        ],
        [
          &quot;timestamp&quot;,
          &quot;Time&quot;
        ]
      ],
      [
        2,
        &quot;2015-02-03:2&quot;,
        1422935340.0
      ],
      [
        3,
        &quot;2015-02-04:1&quot;,
        1422975600.0
      ]
    ]
  ]
]
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improved sort performance on below cases.</p>
<ul class="simple">
<li><p>When many sort keys need ID resolution.</p>
<ul>
<li><p>For example, the following expression needs ID resolution.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">true</span> <span class="pre">--sort_keys</span> <span class="pre">column</span></code></p></li>
</ul>
</li>
<li><p>For example, the following expression doesn’t need ID resolution.
Because the <code class="docutils literal notranslate"><span class="pre">_score</span></code> pseudo column exists in the result table not the source table.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">--filter</span> <span class="pre">true</span> <span class="pre">--sort_keys</span> <span class="pre">_score</span></code></p></li>
</ul>
</li>
</ul>
</li>
<li><p>When a sort target table has a key.</p>
<ul>
<li><p>Therefore, <code class="docutils literal notranslate"><span class="pre">TABLE_NO_KEY</span></code> isn’t supported this improvement.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improved performance a bit on below cases.</p>
<ul class="simple">
<li><p>A case of searching for many records matches.</p></li>
<li><p>A case of drilldown for many records.</p></li>
</ul>
</li>
<li><p>[aggregator] Added support for score accessor for target. [GitHub#1120][Patched by naoa]</p>
<ul>
<li><p>For example, we can <code class="docutils literal notranslate"><span class="pre">_score</span></code> subject to <code class="docutils literal notranslate"><span class="pre">aggregator_*</span></code> as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Items TABLE_HASH_KEY ShortText
column_create Items price COLUMN_SCALAR UInt32
column_create Items tag COLUMN_SCALAR ShortText

load --table Items
[
{&quot;_key&quot;: &quot;Book&quot;,  &quot;price&quot;: 1000, &quot;tag&quot;: &quot;A&quot;},
{&quot;_key&quot;: &quot;Note&quot;,  &quot;price&quot;: 1000, &quot;tag&quot;: &quot;B&quot;},
{&quot;_key&quot;: &quot;Box&quot;,   &quot;price&quot;: 500,  &quot;tag&quot;: &quot;B&quot;},
{&quot;_key&quot;: &quot;Pen&quot;,   &quot;price&quot;: 500,  &quot;tag&quot;: &quot;A&quot;},
{&quot;_key&quot;: &quot;Food&quot;,  &quot;price&quot;: 500,  &quot;tag&quot;: &quot;C&quot;},
{&quot;_key&quot;: &quot;Drink&quot;, &quot;price&quot;: 300,  &quot;tag&quot;: &quot;B&quot;}
]

select Items \
  --filter true \
  --drilldowns[tag].keys tag \
  --drilldowns[tag].output_columns _key,_nsubrecs,score_mean \
  --drilldowns[tag].columns[score_mean].stage group \
  --drilldowns[tag].columns[score_mean].type Float \
  --drilldowns[tag].columns[score_mean].flags COLUMN_SCALAR \
  --drilldowns[tag].columns[score_mean].value &#39;aggregator_mean(_score)&#39;
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        6
      ],
      [
        [
          &quot;_id&quot;,
          &quot;UInt32&quot;
        ],
        [
          &quot;_key&quot;,
          &quot;ShortText&quot;
        ],
        [
          &quot;price&quot;,
          &quot;UInt32&quot;
        ],
        [
          &quot;tag&quot;,
          &quot;ShortText&quot;
        ]
      ],
      [
        1,
        &quot;Book&quot;,
        1000,
        &quot;A&quot;
      ],
      [
        2,
        &quot;Note&quot;,
        1000,
        &quot;B&quot;
      ],
      [
        3,
        &quot;Box&quot;,
        500,
        &quot;B&quot;
      ],
      [
        4,
        &quot;Pen&quot;,
        500,
        &quot;A&quot;
      ],
      [
        5,
        &quot;Food&quot;,
        500,
        &quot;C&quot;
      ],
      [
        6,
        &quot;Drink&quot;,
        300,
        &quot;B&quot;
      ]
    ],
    {
      &quot;tag&quot;: [
        [
          3
        ],
        [
          [
            &quot;_key&quot;,
            &quot;ShortText&quot;
          ],
          [
            &quot;_nsubrecs&quot;,
            &quot;Int32&quot;
          ],
          [
            &quot;score_mean&quot;,
            &quot;Float&quot;
          ]
        ],
        [
          &quot;A&quot;,
          2,
          1.0
        ],
        [
          &quot;B&quot;,
          3,
          1.0
        ],
        [
          &quot;C&quot;,
          1,
          1.0
        ]
      ]
    }
  ]
]
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/indexing.html"><span class="doc">Indexing</span></a>] Improved performance of offline index construction on VC++ version.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Use <code class="docutils literal notranslate"><span class="pre">null</span></code> instead <code class="docutils literal notranslate"><span class="pre">NaN</span></code>, <code class="docutils literal notranslate"><span class="pre">Infinity</span></code>, and <code class="docutils literal notranslate"><span class="pre">-Infinity</span></code> when Groonga outputs result for JSON format.</p>
<ul class="simple">
<li><p>Because JSON doesn’t support them.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Add support fot aggregating standard deviation value.</p>
<ul>
<li><p>For example, we can calculate a standard deviation for every group as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Items TABLE_HASH_KEY ShortText
column_create Items price COLUMN_SCALAR UInt32
column_create Items tag COLUMN_SCALAR ShortText

load --table Items
[
{&quot;_key&quot;: &quot;Book&quot;,  &quot;price&quot;: 1000, &quot;tag&quot;: &quot;A&quot;},
{&quot;_key&quot;: &quot;Note&quot;,  &quot;price&quot;: 1000, &quot;tag&quot;: &quot;B&quot;},
{&quot;_key&quot;: &quot;Box&quot;,   &quot;price&quot;: 500,  &quot;tag&quot;: &quot;B&quot;},
{&quot;_key&quot;: &quot;Pen&quot;,   &quot;price&quot;: 500,  &quot;tag&quot;: &quot;A&quot;},
{&quot;_key&quot;: &quot;Food&quot;,  &quot;price&quot;: 500,  &quot;tag&quot;: &quot;C&quot;},
{&quot;_key&quot;: &quot;Drink&quot;, &quot;price&quot;: 300,  &quot;tag&quot;: &quot;B&quot;}
]

select Items \
  --drilldowns[tag].keys tag \
  --drilldowns[tag].output_columns _key,_nsubrecs,price_sd \
  --drilldowns[tag].columns[price_sd].stage group \
  --drilldowns[tag].columns[price_sd].type Float \
  --drilldowns[tag].columns[price_sd].flags COLUMN_SCALAR \
  --drilldowns[tag].columns[price_sd].value &#39;aggregator_sd(price)&#39; \
  --output_pretty yes
[
  [
    0,
    1594339851.924836,
    0.002813816070556641
  ],
  [
    [
      [
        6
      ],
      [
        [
          &quot;_id&quot;,
          &quot;UInt32&quot;
        ],
        [
          &quot;_key&quot;,
          &quot;ShortText&quot;
        ],
        [
          &quot;price&quot;,
          &quot;UInt32&quot;
        ],
        [
          &quot;tag&quot;,
          &quot;ShortText&quot;
        ]
      ],
      [
        1,
        &quot;Book&quot;,
        1000,
        &quot;A&quot;
      ],
      [
        2,
        &quot;Note&quot;,
        1000,
        &quot;B&quot;
      ],
      [
        3,
        &quot;Box&quot;,
        500,
        &quot;B&quot;
      ],
      [
        4,
        &quot;Pen&quot;,
        500,
        &quot;A&quot;
      ],
      [
        5,
        &quot;Food&quot;,
        500,
        &quot;C&quot;
      ],
      [
        6,
        &quot;Drink&quot;,
        300,
        &quot;B&quot;
      ]
    ],
    {
      &quot;tag&quot;: [
        [
          3
        ],
        [
          [
            &quot;_key&quot;,
            &quot;ShortText&quot;
          ],
          [
            &quot;_nsubrecs&quot;,
            &quot;Int32&quot;
          ],
          [
            &quot;price_sd&quot;,
            &quot;Float&quot;
          ]
        ],
        [
          &quot;A&quot;,
          2,
          250.0
        ],
        [
          &quot;B&quot;,
          3,
          294.3920288775949
        ],
        [
          &quot;C&quot;,
          1,
          0.0
        ]
      ]
    }
  ]
]
</pre></div>
</div>
<ul class="simple">
<li><p>We can also calculate sample standard deviation to specifing <code class="docutils literal notranslate"><span class="pre">aggregate_sd(target,</span> <span class="pre">{&quot;unbiased&quot;:</span> <span class="pre">true})</span></code>.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>[Windows] Dropped Visual Studio 2013 support.</p></li>
</ul>
</div>
<div class="section" id="id18">
<h3>Fixes<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/executables/groonga-server-http.html"><span class="doc">Groonga HTTP server</span></a>] Fixed a bug that a request can’t halt even if we execute <code class="docutils literal notranslate"><span class="pre">shutdown?mode=immediate</span></code> when the response was halted by error occurrence.</p></li>
<li><p>Fixed a crash bug when an error occurs while a request.</p>
<ul>
<li><p>It only occurs when we use Apache Arrow Format.</p></li>
<li><p>Groonga crashes when we send request to Groonga again after the previous request was halted by error occurrence.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/functions/between.html"><span class="doc">between</span></a>] Fixed a crash bug when temporary table is used.</p>
<ul>
<li><p>For example, if we specify a dynamic column in the first argument for <code class="docutils literal notranslate"><span class="pre">between</span></code>, Groonga had crashed.</p></li>
</ul>
</li>
<li><p>Fixed a bug that procedure created by plugin is freed unexpectedly.</p>
<ul>
<li><p>It’s only occurred in reference count mode.</p></li>
<li><p>It’s not occurred if we don’t use <code class="docutils literal notranslate"><span class="pre">plugin_register</span></code>.</p></li>
<li><p>It’s not occurred in the process that executes <code class="docutils literal notranslate"><span class="pre">plugin_register</span></code>.</p></li>
<li><p>It’s occurred in the process that doesn’t execute <code class="docutils literal notranslate"><span class="pre">plugin_register</span></code>.</p></li>
</ul>
</li>
<li><p>Fixed a bug that normalization error occurred while static index construction by <code class="docutils literal notranslate"><span class="pre">token_column</span></code>. [GitHub#1122][Reported by naoa]</p></li>
</ul>
</div>
<div class="section" id="id19">
<h3>Thanks<a class="headerlink" href="#id19" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>naoa</p></li>
</ul>
</div>
</div>
<div class="section" id="release-10-0-4-2020-06-29">
<span id="release-10-0-4"></span><h2>Release 10.0.4 - 2020-06-29<a class="headerlink" href="#release-10-0-4-2020-06-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id20">
<h3>Improvements<a class="headerlink" href="#id20" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/tables.html"><span class="doc">Tables</span></a>] Added support for registering 400M records into a hash table.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improve scorer performance when the <code class="docutils literal notranslate"><span class="pre">_score</span></code> doesn’t get recursively values.</p>
<ul class="simple">
<li><p>Groonga get recursively value of <code class="docutils literal notranslate"><span class="pre">_score</span></code> when search result is search target.</p></li>
<li><p>For example, the search targets of <code class="docutils literal notranslate"><span class="pre">slices</span></code> are search result. Therefore, if we use <code class="docutils literal notranslate"><span class="pre">slice</span></code> in a query, this improvement doesn’t ineffective.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/log.html"><span class="doc">Log</span></a>] Improved that we output drilldown keys in query-log.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/reference_acquire.html"><span class="doc">reference_acquire</span></a>], [<a class="reference internal" href="reference/commands/reference_release.html"><span class="doc">reference_release</span></a>] Added new commands for reference count mode.</p>
<ul class="simple">
<li><p>If we need to call multiple <code class="docutils literal notranslate"><span class="pre">load</span></code> in a short time, auto close by the reference count mode will degrade performance.</p></li>
<li><p>We can avoid the performance degrading by calling <code class="docutils literal notranslate"><span class="pre">reference_acquire</span></code> before multiple <code class="docutils literal notranslate"><span class="pre">load</span></code> and calling <code class="docutils literal notranslate"><span class="pre">reference_release</span></code> after multiple <code class="docutils literal notranslate"><span class="pre">load</span></code>.
Between <code class="docutils literal notranslate"><span class="pre">reference_acquire</span></code> and <code class="docutils literal notranslate"><span class="pre">reference_release</span></code>, auto close is disabled.</p>
<ul>
<li><p>Because <code class="docutils literal notranslate"><span class="pre">reference_acquire</span></code> acquires a reference of target objects.</p></li>
</ul>
</li>
<li><p>We can must call <code class="docutils literal notranslate"><span class="pre">reference_release</span></code> after you finish performance impact operations.</p></li>
<li><p>If we don’t call <code class="docutils literal notranslate"><span class="pre">reference_release</span></code>, the reference count mode doesn’t work.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for aggregating multiple groups on one time <code class="docutils literal notranslate"><span class="pre">drilldown</span></code>.</p>
<ul>
<li><p>We came to be able to calculate sum or arithmetic mean every different multiple groups on one time <code class="docutils literal notranslate"><span class="pre">drilldown</span></code> as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Items TABLE_HASH_KEY ShortText
column_create Items price COLUMN_SCALAR UInt32
column_create Items quantity COLUMN_SCALAR UInt32
column_create Items tag COLUMN_SCALAR ShortText

load --table Items
[
{&quot;_key&quot;: &quot;Book&quot;,  &quot;price&quot;: 1000, &quot;quantity&quot;: 100, &quot;tag&quot;: &quot;A&quot;},
{&quot;_key&quot;: &quot;Note&quot;,  &quot;price&quot;: 1000, &quot;quantity&quot;: 10,  &quot;tag&quot;: &quot;B&quot;},
{&quot;_key&quot;: &quot;Box&quot;,   &quot;price&quot;: 500,  &quot;quantity&quot;: 15,  &quot;tag&quot;: &quot;B&quot;},
{&quot;_key&quot;: &quot;Pen&quot;,   &quot;price&quot;: 500,  &quot;quantity&quot;: 12,  &quot;tag&quot;: &quot;A&quot;},
{&quot;_key&quot;: &quot;Food&quot;,  &quot;price&quot;: 500,  &quot;quantity&quot;: 111, &quot;tag&quot;: &quot;C&quot;},
{&quot;_key&quot;: &quot;Drink&quot;, &quot;price&quot;: 300,  &quot;quantity&quot;: 22,  &quot;tag&quot;: &quot;B&quot;}
]

select Items \
  --drilldowns[tag].keys tag \
  --drilldowns[tag].output_columns _key,_nsubrecs,price_sum,quantity_sum \
  --drilldowns[tag].columns[price_sum].stage group \
  --drilldowns[tag].columns[price_sum].type UInt32 \
  --drilldowns[tag].columns[price_sum].flags COLUMN_SCALAR \
  --drilldowns[tag].columns[price_sum].value &#39;aggregator_sum(price)&#39; \
  --drilldowns[tag].columns[quantity_sum].stage group \
  --drilldowns[tag].columns[quantity_sum].type UInt32 \
  --drilldowns[tag].columns[quantity_sum].flags COLUMN_SCALAR \
  --drilldowns[tag].columns[quantity_sum].value &#39;aggregator_sum(quantity)&#39;
[
  [
    0,
    0.0,
    0.0
  ],
  [
    [
      [
        6
      ],
      [
        [
          &quot;_id&quot;,
          &quot;UInt32&quot;
        ],
        [
          &quot;_key&quot;,
          &quot;ShortText&quot;
        ],
        [
          &quot;price&quot;,
          &quot;UInt32&quot;
        ],
        [
          &quot;quantity&quot;,
          &quot;UInt32&quot;
        ],
        [
          &quot;tag&quot;,
          &quot;ShortText&quot;
        ]
      ],
      [
        1,
        &quot;Book&quot;,
        1000,
        100,
        &quot;A&quot;
      ],
      [
        2,
        &quot;Note&quot;,
        1000,
        10,
        &quot;B&quot;
      ],
      [
        3,
        &quot;Box&quot;,
        500,
        15,
        &quot;B&quot;
      ],
      [
        4,
        &quot;Pen&quot;,
        500,
        12,
        &quot;A&quot;
      ],
      [
        5,
        &quot;Food&quot;,
        500,
        111,
        &quot;C&quot;
      ],
      [
        6,
        &quot;Drink&quot;,
        300,
        22,
        &quot;B&quot;
      ]
    ],
    {
      &quot;tag&quot;: [
        [
          3
        ],
        [
          [
            &quot;_key&quot;,
            &quot;ShortText&quot;
          ],
          [
            &quot;_nsubrecs&quot;,
            &quot;Int32&quot;
          ],
          [
            &quot;price_sum&quot;,
            &quot;UInt32&quot;
          ],
          [
            &quot;quantity_sum&quot;,
            &quot;UInt32&quot;
          ]
        ],
        [
          &quot;A&quot;,
          2,
          1500,
          112
        ],
        [
          &quot;B&quot;,
          3,
          1800,
          47
        ],
        [
          &quot;C&quot;,
          1,
          500,
          111
        ]
      ]
    }
  ]
]
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/executables/groonga.html"><span class="doc">groonga executable file</span></a>] Added support for <code class="docutils literal notranslate"><span class="pre">--pid-path</span></code> in standalone mode.</p>
<ul class="simple">
<li><p>Because <code class="docutils literal notranslate"><span class="pre">--pid-path</span></code> had been ignored in standalone mode in before version.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/io_flush.html"><span class="doc">io_flush</span></a>] Added support for reference count mode.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>], [<a class="reference internal" href="reference/commands/logical_count.html"><span class="doc">logical_count</span></a>] Added support for reference count mode.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/groonga-server-http.html"><span class="doc">Groonga HTTP server</span></a>] We didn’t add header after the last chunk.</p>
<ul class="simple">
<li><p>Because there is a possibility to exist that the HTTP client ignores header after the last chunk.</p></li>
</ul>
</li>
<li><p>[vector_slice] Added support for a vector that has the value of the <code class="docutils literal notranslate"><span class="pre">Float32</span></code> type. [GitHub#1112 patched by naoa]</p></li>
<li><p>Added support for parallel offline index construction using token column.</p>
<ul class="simple">
<li><p>We came to be able to construct an offline index on parallel threads from data that are tokenized in advance.</p></li>
<li><p>We can tune parameters of parallel offline construction by the following environment variables</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">GRN_TOKEN_COLUMN_PARALLEL_CHUNK_SIZE</span></code> : We specify how many records are processed per thread.</p>
<ul>
<li><p>The default value is <code class="docutils literal notranslate"><span class="pre">1024</span></code> records.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">GRN_TOKEN_COLUMN_PARALLEL_TABLE_SIZE_THRESHOLD</span></code> : We specify how many source records are required for parallel offline construction.</p>
<ul>
<li><p>The default value is <code class="docutils literal notranslate"><span class="pre">102400</span></code> records.</p></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improved performance for <code class="docutils literal notranslate"><span class="pre">load_table</span></code> on the reference count mode.</p></li>
</ul>
</div>
<div class="section" id="id21">
<h3>Fixes<a class="headerlink" href="#id21" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that the database of Groonga was broken when we search by using the dynamic columns that don’t specify a <code class="docutils literal notranslate"><span class="pre">--filter</span></code> and stridden over shard.</p></li>
<li><p>Fixed a bug that <code class="docutils literal notranslate"><span class="pre">Float32</span></code> type had not displayed on a result of <code class="docutils literal notranslate"><span class="pre">schema</span></code> command.</p></li>
<li><p>Fixed a bug that we count in surplus to <code class="docutils literal notranslate"><span class="pre">_nsubrecs</span></code> when the reference <code class="docutils literal notranslate"><span class="pre">uvector</span></code> hasn’t element.</p></li>
</ul>
</div>
<div class="section" id="id22">
<h3>Thanks<a class="headerlink" href="#id22" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>naoa</p></li>
</ul>
</div>
</div>
<div class="section" id="release-10-0-3-2020-05-29">
<span id="release-10-0-3"></span><h2>Release 10.0.3 - 2020-05-29<a class="headerlink" href="#release-10-0-3-2020-05-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id23">
<h3>Improvements<a class="headerlink" href="#id23" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>We came to be able to construct an inverted index from data that are tokenized in advance.</p>
<ul>
<li><p>The construct of an index is speeded up from this.</p></li>
<li><p>We need to prepare token column to use this improvement.</p></li>
<li><p>token column is an auto generated value column like an index column.</p></li>
<li><p>token column value is generated from source column value by tokenizing the source column value.</p></li>
<li><p>We can create a token column by setting the source column as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Terms TABLE_PAT_KEY ShortText \
  --normalizer NormalizerNFKC121 \
  --default_tokenizer TokenNgram

table_create Notes TABLE_NO_KEY
column_create Notes title COLUMN_SCALAR Text

# The last &quot;title&quot; is the source column.
column_create Notes title_terms COLUMN_VECTOR Terms title
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] We came to be able to specify a <code class="docutils literal notranslate"><span class="pre">vector</span></code> for the argument of a function.</p>
<ul>
<li><p>For example, <code class="docutils literal notranslate"><span class="pre">flags</span></code> options of <code class="docutils literal notranslate"><span class="pre">query</span></code> can describe by a <code class="docutils literal notranslate"><span class="pre">vector</span></code> as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>select \
  --table Memos \
  --filter &#39;query(&quot;content&quot;, &quot;-content:@mroonga&quot;, \
                  { \
                    &quot;expander&quot;: &quot;QueryExpanderTSV&quot;, \
                    &quot;flags&quot;: [&quot;ALLOW_LEADING_NOT&quot;, &quot;ALLOW_COLUMN&quot;] \
                  })&#39;
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added a new stage <code class="docutils literal notranslate"><span class="pre">result_set</span></code> for dynamic columns.</p>
<ul class="simple">
<li><p>This stage generates a column into a result set table. Therefore, it is not generated if <code class="docutils literal notranslate"><span class="pre">query</span></code> or <code class="docutils literal notranslate"><span class="pre">filter</span></code> doesn’t exist</p>
<ul>
<li><p>Because if <code class="docutils literal notranslate"><span class="pre">query</span></code> or <code class="docutils literal notranslate"><span class="pre">filter</span></code> doesn’t exist, Groonga doesn’t make a result set table.</p></li>
</ul>
</li>
<li><p>We can’t use <code class="docutils literal notranslate"><span class="pre">_value</span></code> for the stage. The <code class="docutils literal notranslate"><span class="pre">result_set</span></code> stage is for storing value by <code class="docutils literal notranslate"><span class="pre">score_column</span></code>.</p></li>
</ul>
</li>
<li><p>[vector_slice] Added support for weight vector that has weight of <code class="docutils literal notranslate"><span class="pre">Float32</span></code> type. [GitHub#1106 patched by naoa]</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage and <code class="docutils literal notranslate"><span class="pre">output</span></code> stage of dynamic columns on drilldowns. [GitHub#1101 patched by naoa][GitHub#1100 patched by naoa]</p>
<ul class="simple">
<li><p>We can use <code class="docutils literal notranslate"><span class="pre">filtered</span></code> and <code class="docutils literal notranslate"><span class="pre">output</span></code> stage of dynamic columns on drilldowns as with <code class="docutils literal notranslate"><span class="pre">drilldowns[Label].stage</span> <span class="pre">filtered</span></code> and <code class="docutils literal notranslate"><span class="pre">drilldowns[Label].stage</span> <span class="pre">output</span></code>.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for <code class="docutils literal notranslate"><span class="pre">Float</span></code> type value in aggregating on drilldown.</p>
<ul class="simple">
<li><p>We can aggregate max value, min value, and sum value for <code class="docutils literal notranslate"><span class="pre">Float</span></code> type value using <code class="docutils literal notranslate"><span class="pre">MAX</span></code>, <code class="docutils literal notranslate"><span class="pre">MIN</span></code>, and <code class="docutils literal notranslate"><span class="pre">SUM</span></code>.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/functions/query.html"><span class="doc">query</span></a>] [<a class="reference internal" href="reference/functions/geo_in_rectangle.html"><span class="doc">geo_in_rectangle</span></a>] [<a class="reference internal" href="reference/functions/geo_in_circle.html"><span class="doc">geo_in_circle</span></a>] Added a new option <code class="docutils literal notranslate"><span class="pre">score_column</span></code> for <code class="docutils literal notranslate"><span class="pre">query()</span></code>, <code class="docutils literal notranslate"><span class="pre">geo_in_rectangle()</span></code>, and <code class="docutils literal notranslate"><span class="pre">geo_in_circle()</span></code>.</p>
<ul class="simple">
<li><p>We can store a score value by condition using <code class="docutils literal notranslate"><span class="pre">score_column</span></code>.</p></li>
<li><p>Normally, Groonga calculate a score by adding scores of all conditions. However, we sometimes want to get a score value by condition.</p></li>
<li><p>For example, if we want to only use how near central coordinate as score as below, we use <code class="docutils literal notranslate"><span class="pre">score_column</span></code>.</p></li>
</ul>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create LandMarks TABLE_NO_KEY
column_create LandMarks name COLUMN_SCALAR ShortText
column_create LandMarks category COLUMN_SCALAR ShortText
column_create LandMarks point COLUMN_SCALAR WGS84GeoPoint

table_create Points TABLE_PAT_KEY WGS84GeoPoint
column_create Points land_mark_index COLUMN_INDEX LandMarks point

load --table LandMarks
[
  {&quot;name&quot;: &quot;Aries&quot;      , &quot;category&quot;: &quot;Tower&quot;     , &quot;point&quot;: &quot;11x11&quot;},
  {&quot;name&quot;: &quot;Taurus&quot;     , &quot;category&quot;: &quot;Lighthouse&quot;, &quot;point&quot;: &quot;9x10&quot; },
  {&quot;name&quot;: &quot;Gemini&quot;     , &quot;category&quot;: &quot;Lighthouse&quot;, &quot;point&quot;: &quot;8x8&quot;  },
  {&quot;name&quot;: &quot;Cancer&quot;     , &quot;category&quot;: &quot;Tower&quot;     , &quot;point&quot;: &quot;12x12&quot;},
  {&quot;name&quot;: &quot;Leo&quot;        , &quot;category&quot;: &quot;Tower&quot;     , &quot;point&quot;: &quot;11x13&quot;},
  {&quot;name&quot;: &quot;Virgo&quot;      , &quot;category&quot;: &quot;Temple&quot;    , &quot;point&quot;: &quot;22x10&quot;},
  {&quot;name&quot;: &quot;Libra&quot;      , &quot;category&quot;: &quot;Tower&quot;     , &quot;point&quot;: &quot;14x14&quot;},
  {&quot;name&quot;: &quot;Scorpio&quot;    , &quot;category&quot;: &quot;Temple&quot;    , &quot;point&quot;: &quot;21x9&quot; },
  {&quot;name&quot;: &quot;Sagittarius&quot;, &quot;category&quot;: &quot;Temple&quot;    , &quot;point&quot;: &quot;43x12&quot;},
  {&quot;name&quot;: &quot;Capricorn&quot;  , &quot;category&quot;: &quot;Tower&quot;     , &quot;point&quot;: &quot;33x12&quot;},
  {&quot;name&quot;: &quot;Aquarius&quot;   , &quot;category&quot;: &quot;mountain&quot;  , &quot;point&quot;: &quot;55x11&quot;},
  {&quot;name&quot;: &quot;Pisces&quot;     , &quot;category&quot;: &quot;Tower&quot;     , &quot;point&quot;: &quot;9x9&quot;  },
  {&quot;name&quot;: &quot;Ophiuchus&quot;  , &quot;category&quot;: &quot;mountain&quot;  , &quot;point&quot;: &quot;21x21&quot;}
]

select LandMarks \
  --sort_keys &#39;distance&#39; \
  --columns[distance].stage initial \
  --columns[distance].type Float \
  --columns[distance].flags COLUMN_SCALAR \
  --columns[distance].value 0.0 \
  --output_columns &#39;name, category, point, distance, _score&#39; \
  --limit -1 \
  --filter &#39;geo_in_circle(point, &quot;11x11&quot;, &quot;11x1&quot;, {&quot;score_column&quot;: distance}) &amp;&amp; category == &quot;Tower&quot;&#39;
[
  [
    0,
    1590647445.406149,
    0.0002503395080566406
  ],
  [
    [
      [
        5
      ],
      [
        [
          &quot;name&quot;,
          &quot;ShortText&quot;
        ],
        [
          &quot;category&quot;,&quot;ShortText&quot;
        ],
        [
          &quot;point&quot;,
          &quot;WGS84GeoPoint&quot;
        ],
        [
          &quot;distance&quot;,
          &quot;Float&quot;
        ],
        [
          &quot;_score&quot;,
          &quot;Int32&quot;
        ]
      ],
      [
        &quot;Aries&quot;,
        &quot;Tower&quot;,
        &quot;11x11&quot;,
        0.0,
        1
      ],
      [
        &quot;Cancer&quot;,
        &quot;Tower&quot;,
        &quot;12x12&quot;,
        0.0435875803232193,
        1
      ],
      [
        &quot;Leo&quot;,
        &quot;Tower&quot;,
        &quot;11x13&quot;,
        0.06164214760065079,
        1
      ],
      [
        &quot;Pisces&quot;,
        &quot;Tower&quot;,
        &quot;9x9&quot;,
        0.0871751606464386,
        1
      ],
      [
        &quot;Libra&quot;,
        &quot;Tower&quot;,
        &quot;14x14&quot;,
        0.1307627409696579,
        1
      ]
    ]
  ]
]
</pre></div>
</div>
<ul class="simple">
<li><p>The sort by <code class="docutils literal notranslate"><span class="pre">_score</span></code> is meaningless in the above example. Because the value of <code class="docutils literal notranslate"><span class="pre">_score</span></code> is all <code class="docutils literal notranslate"><span class="pre">1</span></code> by <code class="docutils literal notranslate"><span class="pre">category</span> <span class="pre">==</span> <span class="pre">&quot;Tower&quot;</span></code>.
However, we can sort distance from central coordinate using <code class="docutils literal notranslate"><span class="pre">score_column</span></code>.</p></li>
</ul>
</li>
<li><p>[Windows] Groonga came to be able to output backtrace when it occurs error even if it doesn’t crash.</p></li>
<li><p>[Windows] Dropped support for old Windows.</p>
<ul class="simple">
<li><p>Groonga for Windows come to require Windows 8 (Windows Server 2012) or later from 10.0.3.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improved sort performance when sort keys were mixed referable sort keys and the other sort keys.</p>
<ul class="simple">
<li><p>We improved sort performance if mixed referable sort keys and the other and there are referable keys two or more.</p>
<ul>
<li><p>Referable sort keys are sort keys that except below them.</p>
<ul>
<li><p>Compressed columns</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">_value</span></code> against the result of drilldown that is specified multiple values to the key of drilldown.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">_key</span></code> against patricia trie table that has not the key of <code class="docutils literal notranslate"><span class="pre">ShortText</span></code> type.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">_score</span></code></p></li>
</ul>
</li>
</ul>
</li>
<li><p>The more sort keys that except string, a decrease in the usage of memory for sort.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improved sort performance when sort keys are all referable keys case.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improve scorer performance as a <code class="docutils literal notranslate"><span class="pre">_socre</span> <span class="pre">=</span> <span class="pre">column1*X</span> <span class="pre">+</span> <span class="pre">column2*Y</span> <span class="pre">+</span> <span class="pre">...</span></code> case.</p>
<ul class="simple">
<li><p>This optimization effective when there are many <code class="docutils literal notranslate"><span class="pre">+</span></code> or <code class="docutils literal notranslate"><span class="pre">*</span></code> in <code class="docutils literal notranslate"><span class="pre">_score</span></code>.</p></li>
<li><p>At the moment, it has only effective against <code class="docutils literal notranslate"><span class="pre">+</span></code> and <code class="docutils literal notranslate"><span class="pre">*</span></code>.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for phrase near search.</p>
<ul>
<li><p>We can search phrase by phrase by a near search.</p>
<ul>
<li><p>Query syntax for near phrase search is <code class="docutils literal notranslate"><span class="pre">*NP&quot;Phrase1</span> <span class="pre">phrase2</span> <span class="pre">...&quot;</span></code>.</p></li>
<li><p>Script syntax for near phrase search is <code class="docutils literal notranslate"><span class="pre">column</span> <span class="pre">*NP</span> <span class="pre">&quot;phrase1</span> <span class="pre">phrase2</span> <span class="pre">...&quot;</span></code>.</p></li>
<li><p>If the search target phrase includes space, we can search for it by surrounding it with <code class="docutils literal notranslate"><span class="pre">&quot;</span></code> as below.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Entries TABLE_NO_KEY
column_create Entries content COLUMN_SCALAR Text

table_create Terms TABLE_PAT_KEY ShortText \
  --default_tokenizer &#39;TokenNgram(&quot;unify_alphabet&quot;, false, \
                                  &quot;unify_digit&quot;, false)&#39; \
  --normalizer NormalizerNFKC121
column_create Terms entries_content COLUMN_INDEX|WITH_POSITION Entries content

load --table Entries
[
{&quot;content&quot;: &quot;I started to use Groonga. It&#39;s very fast!&quot;},
{&quot;content&quot;: &quot;I also started to use Groonga. It&#39;s also very fast! Really fast!&quot;}
]

select Entries --filter &#39;content *NP &quot;\\&quot;I started\\&quot; \\&quot;use Groonga\\&quot;&quot;&#39; --output_columns &#39;content&#39;
[
  [
    0,
    1590469700.715882,
    0.03997230529785156
  ],
  [
    [
      [
        1
      ],
      [
        [
          &quot;content&quot;,
          &quot;Text&quot;
        ]
      ],
      [
        &quot;I started to use Groonga. It&#39;s very fast!&quot;
      ]
    ]
  ]
]
</pre></div>
</div>
</li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/columns/vector.html"><span class="doc">Vector column</span></a>] Added support for <code class="docutils literal notranslate"><span class="pre">float32</span></code> weight vector.</p>
<ul>
<li><p>We can store weight as <code class="docutils literal notranslate"><span class="pre">float32</span></code> instead of <code class="docutils literal notranslate"><span class="pre">uint32</span></code>.</p></li>
<li><p>We need to add <code class="docutils literal notranslate"><span class="pre">WEIGHT_FLOAT32</span></code> flag when execute <code class="docutils literal notranslate"><span class="pre">column_create</span></code> to use this feature.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>column_create Records tags COLUMN_VECTOR|WITH_WEIGHT|WEIGHT_FLOAT32 Tags
</pre></div>
</div>
</li>
<li><p>However, <code class="docutils literal notranslate"><span class="pre">WEIGHT_FLOAT32</span></code> flag isn’t available with <code class="docutils literal notranslate"><span class="pre">COLUMN_INDEX</span></code> flag for now.</p></li>
</ul>
</li>
<li><p>Added following APIs</p>
<ul>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_obj_is_xxx</span></code> functions. For more information as below.</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">grn_obj_is_weight_vector(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*obj)</span></code></p>
<ul>
<li><p>It returns as a <code class="docutils literal notranslate"><span class="pre">bool</span></code> whether the object is a weight vector.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_obj_is_uvector(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*obj)</span></code></p>
<ul>
<li><p>It returns as a <code class="docutils literal notranslate"><span class="pre">bool</span></code> whether the object is a <code class="docutils literal notranslate"><span class="pre">uvector</span></code>.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">uvector</span></code> is a <code class="docutils literal notranslate"><span class="pre">vector</span></code> that size of elements for <code class="docutils literal notranslate"><span class="pre">vector</span></code> are fixed.</p></li>
</ul>
</li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_obj_is_weight_uvector(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*obj)</span></code></p>
<ul>
<li><p>It returns as a <code class="docutils literal notranslate"><span class="pre">bool</span></code> whether the object is a weight uvector.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_type_id_size(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_id</span> <span class="pre">id)</span></code>.</p>
<ul class="simple">
<li><p>It returns the size of Groonga data type as a <code class="docutils literal notranslate"><span class="pre">size_t</span></code>.</p></li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_selector_data_get_xxx</span></code> functions. For more information as below.</p>
<ul class="simple">
<li><p>These functions return selector related data.</p>
<ul>
<li><p>These functions are supposed to call in selector. If they are called except in selector, they return <code class="docutils literal notranslate"><span class="pre">NULL</span></code>.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_selector_data_get(grn_ctx</span> <span class="pre">*ctx)</span></code></p>
<ul>
<li><p>It returns all information that relating calling selector as <code class="docutils literal notranslate"><span class="pre">grn_selector_data</span> <span class="pre">*</span></code> structure.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_selector_data_get_selector(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_selector_data</span> <span class="pre">*data)</span></code></p>
<ul>
<li><p>It returns selector itself as <code class="docutils literal notranslate"><span class="pre">grn_obj</span> <span class="pre">*</span></code>.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_selector_data_get_expr(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_selector_data</span> <span class="pre">*data)</span></code></p>
<ul>
<li><p>It returns selector is used <code class="docutils literal notranslate"><span class="pre">--filter</span></code> condition and <code class="docutils literal notranslate"><span class="pre">--query</span></code> condition as <code class="docutils literal notranslate"><span class="pre">grn_obj</span> <span class="pre">*</span></code>.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_selector_data_get_table(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_selector_data</span> <span class="pre">*data)</span></code></p>
<ul>
<li><p>It returns target table as <code class="docutils literal notranslate"><span class="pre">grn_obj</span> <span class="pre">*</span></code></p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_selector_data_get_index(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_selector_data</span> <span class="pre">*data)</span></code></p>
<ul>
<li><p>It returns index is used by selector as <code class="docutils literal notranslate"><span class="pre">grn_obj</span> <span class="pre">*</span></code>.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_selector_data_get_args(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_selector_data</span> <span class="pre">*data,</span> <span class="pre">size_t</span> <span class="pre">*n_args)</span></code></p>
<ul>
<li><p>It returns arguments of function that called selector as <code class="docutils literal notranslate"><span class="pre">grn_obj</span> <span class="pre">**</span></code>.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_selector_data_get_result_set(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_selector_data</span> <span class="pre">*data)</span></code></p>
<ul>
<li><p>It returns result table as <code class="docutils literal notranslate"><span class="pre">grn_obj</span> <span class="pre">*</span></code>.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_selector_data_get_op(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_selector_data</span> <span class="pre">*data)</span></code></p>
<ul>
<li><p>It returns how to perform the set operation on existing result set as <code class="docutils literal notranslate"><span class="pre">grn_operator</span></code>.</p></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_plugin_proc_xxx</span></code> functions. For more information as below.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_plugin_proc_get_value_operator(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*value,</span> <span class="pre">grn_operator</span> <span class="pre">default_operator,</span> <span class="pre">const</span> <span class="pre">char</span> <span class="pre">*context)</span></code></p>
<ul class="simple">
<li><p>It returns the operator of a query as a <code class="docutils literal notranslate"><span class="pre">grn_operator</span></code>.</p>
<ul>
<li><p>For example, <code class="docutils literal notranslate"><span class="pre">&amp;&amp;</span></code> is returned as a <code class="docutils literal notranslate"><span class="pre">GRN_OP_AND</span></code>.</p></li>
</ul>
</li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_plugin_proc_get_value_bool(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*value,</span> <span class="pre">bool</span> <span class="pre">default_value,</span> <span class="pre">const</span> <span class="pre">char</span> <span class="pre">*tag)</span></code></p>
<ul>
<li><p>It returns the value that is specified <code class="docutils literal notranslate"><span class="pre">true</span></code> or <code class="docutils literal notranslate"><span class="pre">false</span></code> like <code class="docutils literal notranslate"><span class="pre">with_transposition</span></code> argument of the below function as a <code class="docutils literal notranslate"><span class="pre">bool</span></code> (<code class="docutils literal notranslate"><span class="pre">bool</span></code> is the data type of C language).</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>fuzzy_search(column, query, {&quot;max_distance&quot;: 1, &quot;prefix_length&quot;: 0, &quot;max_expansion&quot;: 0, &quot;with_transposition&quot;: true})
</pre></div>
</div>
</li>
</ul>
</li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_proc_options_xxx</span></code> functions. For more information as below.</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">query()</span></code> only uses them for now.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_proc_options_parsev(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*options,</span> <span class="pre">const</span> <span class="pre">char</span> <span class="pre">*tag,</span> <span class="pre">const</span> <span class="pre">char</span> <span class="pre">*name,</span> <span class="pre">va_list</span> <span class="pre">args)</span></code></p>
<ul>
<li><p>This function execute parse options.</p></li>
<li><p>We had to implement parsing to options ourselves until now, however, we can parse them by just call this function from this version.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_proc_options_parse(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*options,</span> <span class="pre">const</span> <span class="pre">char</span> <span class="pre">*tag,</span> <span class="pre">const</span> <span class="pre">char</span> <span class="pre">*name,</span> <span class="pre">...)</span></code></p>
<ul>
<li><p>It calls <code class="docutils literal notranslate"><span class="pre">grn_proc_options_parsev()</span></code>. Therefore, features of this function same <code class="docutils literal notranslate"><span class="pre">grn_proc_options_parsev()</span></code>.</p></li>
<li><p>It only differs in the interface compare with <code class="docutils literal notranslate"><span class="pre">grn_proc_options_parsev()</span></code>.</p></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_text_printfv(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*bulk,</span> <span class="pre">const</span> <span class="pre">char</span> <span class="pre">*format,</span> <span class="pre">va_list</span> <span class="pre">args)</span></code></p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">grn_text_vprintf</span></code> is deprecated from 10.0.3. We use <code class="docutils literal notranslate"><span class="pre">grn_text_printfv</span></code> instead.</p></li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_type_id_is_float_family(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_id</span> <span class="pre">id)</span></code>.</p>
<ul class="simple">
<li><p>It returns whether <code class="docutils literal notranslate"><span class="pre">grn_type_id</span></code> is <code class="docutils literal notranslate"><span class="pre">GRN_DB_FLOAT32</span></code> or <code class="docutils literal notranslate"><span class="pre">GRN_DB_FLOAT</span></code> or not as a <code class="docutils literal notranslate"><span class="pre">bool</span></code>.</p></li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_dat_cursor_get_max_n_records(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_dat_cursor</span> <span class="pre">*c)</span></code>.</p>
<ul class="simple">
<li><p>It returns the number of max records the cursor can have as a <code class="docutils literal notranslate"><span class="pre">size_t</span></code>. (This API is for the DAT table)</p></li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_table_cursor_get_max_n_records(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_table_cursor</span> <span class="pre">*cursor)</span></code>.</p>
<ul class="simple">
<li><p>It returns the number of max records the cursor can have as a <code class="docutils literal notranslate"><span class="pre">size_t</span></code>.</p></li>
<li><p>It can use against all table type (<code class="docutils literal notranslate"><span class="pre">TABLE_NO_KEY</span></code>, <code class="docutils literal notranslate"><span class="pre">TABLE_HASH_KEY</span></code>, <code class="docutils literal notranslate"><span class="pre">TABLE_DAT_KEY</span></code>, and <code class="docutils literal notranslate"><span class="pre">TABLE_PAT_KEY</span></code>).</p></li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_result_set_add_xxx</span></code> functions. For more information as below.</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">grn_result_set_add_record(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_hash</span> <span class="pre">*result_set,</span> <span class="pre">grn_posting</span> <span class="pre">*posting,</span> <span class="pre">grn_operator</span> <span class="pre">op)</span></code></p>
<ul>
<li><p>It adds a record into the table of result sets.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_ii_posting_add_float</span></code> is deprecated from 10.0.3. We use <code class="docutils literal notranslate"><span class="pre">grn_rset_add_records()</span></code> instead.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_result_set_add_table(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_hash</span> <span class="pre">*result_set,</span> <span class="pre">grn_obj</span> <span class="pre">*table,</span> <span class="pre">double</span> <span class="pre">score,</span> <span class="pre">grn_operator</span> <span class="pre">op)</span></code></p>
<ul>
<li><p>It adds a table into the result sets.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_result_set_add_table_cursor(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_hash</span> <span class="pre">*result_set,</span> <span class="pre">grn_table_cursor</span> <span class="pre">*cursor,</span> <span class="pre">double</span> <span class="pre">score,</span> <span class="pre">grn_operator</span> <span class="pre">op)</span></code></p>
<ul>
<li><p>It adds records that a table cursor has into the result sets.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_vector_copy(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*src,</span> <span class="pre">grn_obj</span> <span class="pre">*dest)</span></code>.</p>
<ul class="simple">
<li><p>It copies a <code class="docutils literal notranslate"><span class="pre">vector</span></code> object. It returns whether success copy a <code class="docutils literal notranslate"><span class="pre">vector</span></code> object.</p></li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_obj_have_source(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*obj)</span></code>.</p>
<ul class="simple">
<li><p>It returns whether the column has a source column as a <code class="docutils literal notranslate"><span class="pre">bool</span></code>.</p></li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_obj_is_token_column(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*obj)</span></code>.</p>
<ul class="simple">
<li><p>It returns whether the column is a token column as a <code class="docutils literal notranslate"><span class="pre">bool</span></code>.</p></li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_hash_add_table_cursor(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_hash</span> <span class="pre">*hash,</span> <span class="pre">grn_table_cursor</span> <span class="pre">*cursor,</span> <span class="pre">double</span> <span class="pre">score)</span></code>.</p>
<ul class="simple">
<li><p>It’s for bulk result set insert. It’s faster than inserting records by <code class="docutils literal notranslate"><span class="pre">grn_ii_posting_add()</span></code>.</p></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id24">
<h3>Fixes<a class="headerlink" href="#id24" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a crash bug if the modules (tokenizers, normalizers, and token filters) are used at the same time from multiple threads.</p></li>
<li><p>Fixed precision of <code class="docutils literal notranslate"><span class="pre">Float32</span></code> value when it outputted.</p>
<ul>
<li><p>The precision of it changes to  8-digit to 7-digit from 10.0.3.</p></li>
</ul>
</li>
<li><p>Fixed a bug that Groonga used the wrong cache when the query that just the parameters of dynamic column different was executed. [GitHub#1102 patched by naoa]</p></li>
</ul>
</div>
<div class="section" id="id25">
<h3>Thanks<a class="headerlink" href="#id25" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>naoa</p></li>
</ul>
</div>
</div>
<div class="section" id="release-10-0-2-2020-04-29">
<span id="release-10-0-2"></span><h2>Release 10.0.2 - 2020-04-29<a class="headerlink" href="#release-10-0-2-2020-04-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id26">
<h3>Improvements<a class="headerlink" href="#id26" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>Added support for <code class="docutils literal notranslate"><span class="pre">uvector</span></code> for <code class="docutils literal notranslate"><span class="pre">time_classify_*</span></code> functions. [GitHub#1089][Patched by naoa]</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">uvector</span></code> is a vector that size of elements for vector are fixed.</p></li>
<li><p>For example, a vector that has values of Time type as elements is a <code class="docutils literal notranslate"><span class="pre">uvector</span></code>.</p></li>
</ul>
</li>
<li><p>Improve sort performance if sort key that can’t refer value with zero-copy is mixed.</p>
<ul class="simple">
<li><p>Some sort key (e.g. <code class="docutils literal notranslate"><span class="pre">_score</span></code>) values can’t be referred with zero-copy.</p></li>
<li><p>If there is at least one sort key that can’t be referable is included, all sort keys are copied before.</p></li>
<li><p>With this change, we just copy sort keys that can’t be referred. Referable sort keys are just referred without a copy.</p></li>
<li><p>However, this change may have performance regression when all sort keys are referable.</p></li>
</ul>
</li>
<li><p>Added support for loading weight vector as a JSON string.</p>
<ul>
<li><p>We can load weight vector as a JSON string as below example.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>table_create Tags TABLE_PAT_KEY ShortText
table_create Data TABLE_NO_KEY
column_create Data tags COLUMN_VECTOR|WITH_WEIGHT Tags
column_create Tags data_tags COLUMN_INDEX|WITH_WEIGHT Data tags
load --table Data
[
  {&quot;tags&quot;: &quot;{\&quot;fruit\&quot;: 10, \&quot;apple\&quot;: 100}&quot;},
  {&quot;tags&quot;: &quot;{\&quot;fruit\&quot;: 200}&quot;}
]
</pre></div>
</div>
</li>
</ul>
</li>
<li><p>Added support for <code class="docutils literal notranslate"><span class="pre">Float32</span></code> type.</p>
<ul class="simple">
<li><p>Groonga already has a <code class="docutils literal notranslate"><span class="pre">Float</span></code> type. However, it is double precision floating point number. Therefore if we only use single precision floating point number, it is not efficient.</p></li>
<li><p>We can select more suitable type by adding a <code class="docutils literal notranslate"><span class="pre">Float32</span></code> type.</p></li>
</ul>
</li>
<li><p>Added following APIs</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_obj_unref(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_obj</span> <span class="pre">*obj)</span></code></p>
<ul>
<li><p>This API is only used on the reference count mode (The reference count mode is a state of <code class="docutils literal notranslate"><span class="pre">GRN_ENABLE_REFERENCE_COUNT=yes</span></code>.).</p>
<ul>
<li><p>It calls <code class="docutils literal notranslate"><span class="pre">grn_obj_unlink()</span></code> only on the reference count mode. It doesn’t do anything except when the reference count mode.</p></li>
<li><p>We useful it when we need only call <code class="docutils literal notranslate"><span class="pre">grn_obj_unlink()</span></code> on the referece count mode.</p></li>
<li><p>Because as the following example, we don’t write condition that whether the reference count mode or not.</p>
<ul>
<li><p>The example if we don’t use <code class="docutils literal notranslate"><span class="pre">grn_obj_unref()</span></code>.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>if (grn_enable_reference_count) {
 grn_obj_unlink(ctx, obj);
}
</pre></div>
</div>
</li>
<li><p>The example if we use <code class="docutils literal notranslate"><span class="pre">grn_obj_unref()</span></code>.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>grn_obj_ubref(ctx, obj);
</pre></div>
</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_get_version_major(void)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_get_version_minor(void)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_get_version_micro(void)</span></code></p>
<ul class="simple">
<li><p>They return Groonga’s major, minor, and micor version numbers as a <code class="docutils literal notranslate"><span class="pre">uint32_t</span></code>.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_record_id(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_posting</span> <span class="pre">*posting)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_section_id(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_posting</span> <span class="pre">*posting)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_position(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_posting</span> <span class="pre">*posting)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_tf(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_posting</span> <span class="pre">*posting)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_weight(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_posting</span> <span class="pre">*posting)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_weight_float(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_posting</span> <span class="pre">*posting)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_rest(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_posting</span> <span class="pre">*posting)</span></code></p>
<ul class="simple">
<li><p>They return information on the posting list.</p></li>
<li><p>These APIs return value as a <code class="docutils literal notranslate"><span class="pre">uint32_t</span></code> except <code class="docutils literal notranslate"><span class="pre">grn_posting_get_weight_float</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_weight_float</span></code> returns value as a <code class="docutils literal notranslate"><span class="pre">float</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_section_id(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_posting</span> <span class="pre">*posting)</span></code></p>
<ul>
<li><p>Section id is the internal representation of the column name.</p></li>
<li><p>If column name store in posting list as a string, it is a large amount of information and it use waste capacity.</p></li>
<li><p>Therefore, Groonga compresses the amount of information and use storage capacity is small by storing column name in the posting list as a number called section id.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_tf(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_posting</span> <span class="pre">*posting)</span></code></p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">tf</span></code> of <code class="docutils literal notranslate"><span class="pre">grn_posting_get_tf</span></code> is Term Frequency score.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_posting_get_weight_float(grn_ctx</span> <span class="pre">*ctx,</span> <span class="pre">grn_posting</span> <span class="pre">*posting)</span></code></p>
<ul>
<li><p>It returns weight of token as a <code class="docutils literal notranslate"><span class="pre">float</span></code>.</p></li>
<li><p>We suggest using this API when we get a weight of token after this.</p>
<ul>
<li><p>Because we modify the internal representation of the weight from <code class="docutils literal notranslate"><span class="pre">uint32_t</span></code> to <code class="docutils literal notranslate"><span class="pre">float</span></code> in the near future.</p></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id27">
<h3>Fixes<a class="headerlink" href="#id27" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that Groonga for 32bit on GNU/Linux may crash.</p></li>
<li><p>Fixed a bug that unrelated column value may be cleared. [GtiHub#1087][Reported by sutamin]</p></li>
<li><p>Fixed a memory leak when we dumped records with <code class="docutils literal notranslate"><span class="pre">dump</span></code> command.</p></li>
<li><p>Fixed a memory leak when we specified invalid value into <code class="docutils literal notranslate"><span class="pre">output_columns</span></code>.</p></li>
<li><p>Fixed a memory leak when we executed <code class="docutils literal notranslate"><span class="pre">snippet</span></code> function.</p></li>
<li><p>Fixed a memory leak when we filled the below conditions.</p>
<ul>
<li><p>If we used dynamic columns on the <code class="docutils literal notranslate"><span class="pre">initial</span></code> stage.</p></li>
<li><p>If we used <code class="docutils literal notranslate"><span class="pre">slices</span></code> argument with <code class="docutils literal notranslate"><span class="pre">select</span></code> command.</p></li>
</ul>
</li>
<li><p>Fixed a memory leak when we deleted tables with <code class="docutils literal notranslate"><span class="pre">logical_table_remove</span></code>.</p></li>
<li><p>Fixed a memory leak when we use the reference count mode.</p>
<ul>
<li><p>The reference count mode is a <code class="docutils literal notranslate"><span class="pre">GRN_ENABLE_REFERENCE_COUNT=yes</span></code> state.</p></li>
<li><p>This mode is experimental. Performance may degrade by this mode.</p></li>
</ul>
</li>
<li><p>Fixed a bug that Groonga too much unlink <code class="docutils literal notranslate"><span class="pre">_key</span></code> accessor when we load data for apache arrow format.</p></li>
</ul>
</div>
<div class="section" id="id28">
<h3>Thanks<a class="headerlink" href="#id28" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>sutamin</p></li>
<li><p>naoa</p></li>
</ul>
</div>
</div>
<div class="section" id="release-10-0-1-2020-03-30">
<span id="release-10-0-1"></span><h2>Release 10.0.1 - 2020-03-30<a class="headerlink" href="#release-10-0-1-2020-03-30" title="Permalink to this headline">¶</a></h2>
<p>We have been released Groonga 10.0.1.
Because Ubuntu and Windows(VC++ version) package in Groonga 10.0.0 were mistaken.</p>
<p>If we have already used Groonga 10.0.0 for CentOS, Debian, Windows(MinGW version), no problem with continued use it.</p>
<div class="section" id="id29">
<h3>Fixes<a class="headerlink" href="#id29" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Added a missing runtime(vcruntime140_1.dll) in package for Windows VC++ version.</p></li>
</ul>
</div>
</div>
<div class="section" id="release-10-0-0-2020-03-29">
<span id="release-10-0-0"></span><h2>Release 10.0.0 - 2020-03-29<a class="headerlink" href="#release-10-0-0-2020-03-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id30">
<h3>Improvements<a class="headerlink" href="#id30" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[httpd] Updated bundled nginx to 1.17.9.</p></li>
<li><p>[httpd] Added support for specifying output type as an extension.</p>
<ul class="simple">
<li><p>For example, we can write <code class="docutils literal notranslate"><span class="pre">load.json</span></code> instead of <code class="docutils literal notranslate"><span class="pre">load?output_type=json</span></code>.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/log.html"><span class="doc">Log</span></a>] Outputted a path of opened or closed file into a log of dump level on Linux.</p></li>
<li><p>[<a class="reference internal" href="reference/log.html"><span class="doc">Log</span></a>] Outputted a path of closed file into a log of debug level on Windows.</p></li>
<li><p>Added following API and macros</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">grn_timeval_from_double(grn_ctx,</span> <span class="pre">double)</span></code></p>
<ul>
<li><p>This API converts <code class="docutils literal notranslate"><span class="pre">double</span></code> type to <code class="docutils literal notranslate"><span class="pre">grn_timeval</span></code> type.</p></li>
<li><p>It returns value of <code class="docutils literal notranslate"><span class="pre">grn_timeval</span></code> type.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">GRN_TIMEVAL_TO_NSEC(timeval)</span></code></p>
<ul>
<li><p>This macro converts value of <code class="docutils literal notranslate"><span class="pre">grn_timeval</span></code> type to nanosecond as the value of <code class="docutils literal notranslate"><span class="pre">uint64_t</span></code> type.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">GRN_TIME_USEC_TO_SEC(usec)</span></code></p>
<ul>
<li><p>This macro converts microsecond to second.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>Deprecated the following macro.</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">GRN_OBJ_FORMAT_FIN(grn_ctx,</span> <span class="pre">grn_obj_format)</span></code></p>
<ul>
<li><p>We <code class="docutils literal notranslate"><span class="pre">grn_obj_format_fin(grn_ctx,</span> <span class="pre">grn_obj_format)</span></code> use instead since 10.0.0.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>],[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Added support for stream output.</p>
<ul>
<li><p>This feature requires <code class="docutils literal notranslate"><span class="pre">command_version</span> <span class="pre">3</span></code> or later. The header content is outputted after the body content.</p></li>
<li><p>Currently, this feature support only <code class="docutils literal notranslate"><span class="pre">dump</span></code> and <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> always returns the output as a stream on <code class="docutils literal notranslate"><span class="pre">command_version</span> <span class="pre">3</span></code> or later.</p></li>
<li><p>This feature has the following limitations.</p>
<ul class="simple">
<li><p>-1 is only allowed for negative <code class="docutils literal notranslate"><span class="pre">limit</span></code></p></li>
<li><p>MessagePack output isn’t supported</p></li>
</ul>
</li>
<li><p>We a little changed the response contents of JSON by this modify.</p>
<ul>
<li><p>The key order differs from before versions as below.</p>
<ul>
<li><p>The key order in before versions.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>{
  &quot;header&quot;: {...},
  &quot;body&quot;: {...}
}
</pre></div>
</div>
</li>
<li><p>The key order in this version(10.0.0).</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>{
  &quot;body&quot;: {...},
  &quot;header&quot;: {...}
}
</pre></div>
</div>
</li>
</ul>
</li>
</ul>
</li>
<li><p>Disabled caches of <code class="docutils literal notranslate"><span class="pre">dump</span></code> and <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> when they execute on <code class="docutils literal notranslate"><span class="pre">command_version</span> <span class="pre">3</span></code>.</p>
<ul class="simple">
<li><p>Because of <code class="docutils literal notranslate"><span class="pre">dump</span></code> and <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> on <code class="docutils literal notranslate"><span class="pre">command_version</span> <span class="pre">3</span></code> returns stream since 10.0.0, Groonga can not cache the whole response.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Added support for outputting response as Apache Arrow format.</p>
<ul class="simple">
<li><p>Supported data type as below.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">UInt8</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Int8</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">UInt16</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Int16</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">UInt32</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Int32</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">UInt64</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Int64</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Time</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">ShortText</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Text</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">LongText</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Vector</span></code> of <code class="docutils literal notranslate"><span class="pre">Int32</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Reference</span> <span class="pre">vector</span></code></p></li>
</ul>
</li>
</ul>
</li>
<li><p>Supported Ubuntu 20.04 (Focal Fossa).</p></li>
<li><p>Dropped Ubuntu 19.04 (Disco Dingo).</p>
<ul class="simple">
<li><p>Because this version has been EOL.</p></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="release-9-1-2-2020-01-29">
<span id="release-9-1-2"></span><h2>Release 9.1.2 - 2020-01-29<a class="headerlink" href="#release-9-1-2-2020-01-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id31">
<h3>Improvements<a class="headerlink" href="#id31" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[tools] Added a script for copying only files of specify tables or columns.</p>
<ul>
<li><p>This script name is copy-related-files.rb.</p></li>
<li><p>This script is useful if we want to extract specifying tables or columns from a huge database.</p></li>
<li><p>Related files of specific tables or columns may need for reproducing fault.</p></li>
<li><p>If we difficult to offer a database whole, we can extract related files of target tables or columns by this tool.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/shutdown.html"><span class="doc">shutdown</span></a>] Accept <code class="docutils literal notranslate"><span class="pre">/d/shutdown?mode=immediate</span></code> immediately even when all threads are used.</p>
<ul>
<li><p>This feature can only use on the Groonga HTTP server.</p></li>
</ul>
</li>
<li><p>Unused objects free immediately by using <code class="docutils literal notranslate"><span class="pre">GRN_ENABLE_REFERENCE_COUNT=yes</span></code>.</p>
<ul>
<li><p>This feature is experimental. Performance degrade by this feature.</p></li>
<li><p>If we load to span many tables, we can expect to keep in the usage of memory by this feature.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="install/centos.html"><span class="doc">CentOS</span></a>] We prepare <code class="docutils literal notranslate"><span class="pre">groonga-release</span></code> by version.</p>
<ul>
<li><p>Note that the little modification how to install.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="install/debian.html"><span class="doc">Debian GNU/Linux</span></a>] We use <code class="docutils literal notranslate"><span class="pre">groonga-archive-keyring</span></code> for adding the Groonga apt repository.</p>
<ul>
<li><p>We can easy to add the Groonga apt repository to our system by this improvement.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-archive-keyring</span></code> includes all information for using the Groonga apt repository. Thus, we need not be conscious of changing of repository information or PGP key by installing this package.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-archive-keyring</span></code> is deb package. Thus, we can easy to update by <code class="docutils literal notranslate"><span class="pre">apt</span> <span class="pre">update</span></code>.</p></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="release-9-1-1-2020-01-07">
<span id="release-9-1-1"></span><h2>Release 9.1.1 - 2020-01-07<a class="headerlink" href="#release-9-1-1-2020-01-07" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id32">
<h3>Improvements<a class="headerlink" href="#id32" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Added support for Apache Arrow format data.</p>
<ul>
<li><p>If we use Apache Arrow format data, we may reduce parse cost. Therefore, data might be loading faster than other formats.</p></li>
<li><p>Groonga can also directly input data for Apache Arrow format from other data analysis systems by this improvement.</p></li>
<li><p>However, Apache Arrow format can use in the HTTP interface only. We can’t use it in the command line interface.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Added how to load Apache Arrow format data in the document.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Improve error message.</p>
<ul>
<li><p>Response of <code class="docutils literal notranslate"><span class="pre">load</span></code> command includes error message also.</p></li>
<li><p>If we faile data load, Groonga output error detail of <code class="docutils literal notranslate"><span class="pre">load</span></code> command by this Improvement.</p></li>
</ul>
</li>
<li><p>[httpd] Updated bundled nginx to 1.17.7.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/groonga-server-http.html"><span class="doc">Groonga HTTP server</span></a>] Added support for sending command parameters by body of HTTP request.</p>
<ul>
<li><p>We must set <code class="docutils literal notranslate"><span class="pre">application/x-www-form-urlencoded</span></code> to <code class="docutils literal notranslate"><span class="pre">Content-Type</span></code> for this case.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/executables/groonga-server-http.html"><span class="doc">Groonga HTTP server</span></a>] Added how to use HTTP POST in the document.</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-1-0-2019-11-29">
<span id="release-9-1-0"></span><h2>Release 9.1.0 - 2019-11-29<a class="headerlink" href="#release-9-1-0-2019-11-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id33">
<h3>Improvements<a class="headerlink" href="#id33" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Improved the performance of the “&amp;&amp;” operation.</p>
<ul>
<li><p>For example, the performance of condition expression such as the following is increased.</p></li>
<li><p>( A || B ) &amp;&amp; ( C || D ) &amp;&amp; ( E || F) …</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/tokenizers/token_mecab.html"><span class="doc">TokenMecab</span></a>] Added a new option <code class="docutils literal notranslate"><span class="pre">use_base_form</span></code></p>
<ul>
<li><p>We can search using the base form of a token by this option.</p></li>
<li><p>For example, if we search “支えた” using this option, “支える” is hit also.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id34">
<h3>Fixes<a class="headerlink" href="#id34" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fix a bug that when the accessor is index, performance decreases.</p>
<ul>
<li><p>For example, it occurs with the query include the following conditions.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">accessor</span> <span class="pre">&#64;</span> <span class="pre">query</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">accessor</span> <span class="pre">==</span> <span class="pre">query</span></code></p></li>
</ul>
</li>
</ul>
</li>
<li><p>Fixed a bug the estimated size of a search result was overflow when the buffer is big enough. [PGroonga#GitHub#115][Reported by Albert Song]</p></li>
<li><p>Improved a test(1) portability. [GitHub#1065][Patched by OBATA Akio]</p></li>
<li><p>Added missing tools.</p>
<ul>
<li><p>Because <code class="docutils literal notranslate"><span class="pre">index-column-diff-all.sh</span></code> and <code class="docutils literal notranslate"><span class="pre">object-inspect-all.sh</span></code> had not bundled in before version.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id35">
<h3>Thanks<a class="headerlink" href="#id35" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Albert Song</p></li>
<li><p>OBATA Akio</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-0-9-2019-10-30">
<span id="release-9-0-9"></span><h2>Release 9.0.9 - 2019-10-30<a class="headerlink" href="#release-9-0-9-2019-10-30" title="Permalink to this headline">¶</a></h2>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Maybe performance decreases from this version.
Therefore, If performance decreases than before, please report us with reproducible steps.</p>
</div>
<div class="section" id="id36">
<h3>Improvements<a class="headerlink" href="#id36" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/log.html"><span class="doc">Log</span></a>] Improved that output the sending time of response into query-log.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/status.html"><span class="doc">status</span></a>] Added that the number of current jobs in the <code class="docutils literal notranslate"><span class="pre">status</span></code> command response.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/groonga-httpd.html"><span class="doc">groonga-httpd</span></a>] Added support for <code class="docutils literal notranslate"><span class="pre">$request_time</span></code> in log.</p>
<ul>
<li><p>In the previous version, even if we specified the <code class="docutils literal notranslate"><span class="pre">$request_time</span></code> in the <code class="docutils literal notranslate"><span class="pre">log_format</span></code> directive, it was always 0.00.</p></li>
<li><p>If we specify the <code class="docutils literal notranslate"><span class="pre">$request_time</span></code>, groonga-httpd output the correct time form this version.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/executables/groonga-httpd.html"><span class="doc">groonga-httpd</span></a>] Added how to set the <code class="docutils literal notranslate"><span class="pre">$request_time</span></code> in the document.</p></li>
<li><p>Supported Ubuntu 19.10 (Eoan Ermine)</p></li>
<li><p>Supported CentOS 8 (experimental)</p>
<ul>
<li><p>The package for CentOS 8 can’t use a part of features(e.g. we can’t use <code class="docutils literal notranslate"><span class="pre">TokenMecab</span></code> and can’t cast to int32 vector from JSON string) for lacking some packages for development.</p></li>
</ul>
</li>
<li><p>[tools] Added a script for executing the <code class="docutils literal notranslate"><span class="pre">index_column_diff</span></code> command simply.</p>
<ul>
<li><p>This script name is index-column-diff-all.sh.</p></li>
<li><p>This script extracts index columns form Groonga’s database and execute the <code class="docutils literal notranslate"><span class="pre">index_column_diff</span></code> command to them.</p></li>
</ul>
</li>
<li><p>[tools] Added a script for executing <code class="docutils literal notranslate"><span class="pre">object_inspect</span></code> against
all objects.</p>
<ul>
<li><p>This script name is object-inspect-all.sh.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id37">
<h3>Fixes<a class="headerlink" href="#id37" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that Groonga crash when we specify the value as the first argument of between.[GitHub#1045][Reported by yagisumi]</p></li>
</ul>
</div>
<div class="section" id="id38">
<h3>Thanks<a class="headerlink" href="#id38" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>yagisumi</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-0-8-2019-09-27">
<span id="release-9-0-8"></span><h2>Release 9.0.8 - 2019-09-27<a class="headerlink" href="#release-9-0-8-2019-09-27" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id39">
<h3>Improvements<a class="headerlink" href="#id39" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/log_reopen.html"><span class="doc">log_reopen</span></a>] Added a supplementary explanation when we use <code class="docutils literal notranslate"><span class="pre">groonga-httpd</span></code> with 2 or more workers.</p></li>
<li><p>Improved that Groonga ignores the index being built.</p>
<ul>
<li><p>We can get correct search results even if the index is under construction.</p></li>
<li><p>However, the search is slow because of Groonga out of use the index to search in this case.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/functions/sub_filter.html"><span class="doc">sub_filter</span></a>] Added a feature that <code class="docutils literal notranslate"><span class="pre">sub_filter</span></code> executes a sequential search when Groonga is building indexes for the target column or the target column hasn’t indexed.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">sub_filter</span></code> was an error if the above situation in before
version.</p></li>
<li><p>From this version, <code class="docutils literal notranslate"><span class="pre">sub_filter</span></code> returns search results if the above situation.</p></li>
<li><p>However if the above situation, <code class="docutils literal notranslate"><span class="pre">sub_filter</span></code> is slow. Because it is executed as a sequential search.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="install/centos.html"><span class="doc">CentOS</span></a>] Dropped 32-bit package support on CentOS 6.</p></li>
</ul>
</div>
<div class="section" id="id40">
<h3>Fixes<a class="headerlink" href="#id40" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Fixed a bug that exception about closing the same object twice occurs when we have enough records and the number of records that unmatch filter search criteria is more than the estimated value of it.</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-0-7-2019-08-29">
<span id="release-9-0-7"></span><h2>Release 9.0.7 - 2019-08-29<a class="headerlink" href="#release-9-0-7-2019-08-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id41">
<h3>Improvements<a class="headerlink" href="#id41" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[httpd] Updated bundled nginx to 1.17.3.</p>
<ul>
<li><p>Contains security fix for CVE-2019-9511, CVE-2019-9513, and CVE-2019-9516.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id42">
<h3>Fixes<a class="headerlink" href="#id42" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that Groonga crash when posting lists were huge.</p>
<ul>
<li><p>However, this bug almost doesn’t occur by general data. Because posting lists don’t grow bigger so much by them.</p></li>
</ul>
</li>
<li><p>Fixed a bug that returns an empty result when we specify <code class="docutils literal notranslate"><span class="pre">initial</span></code> into a stage of a dynamic column and search for using index. [GitHub#683]</p></li>
<li><p>Fixed a bug that the configure phase didn’t detect libedit despite installing it. [GitHub#1030][Patched by yu]</p></li>
<li><p>Fixed a bug that <code class="docutils literal notranslate"><span class="pre">--offset</span></code> and <code class="docutils literal notranslate"><span class="pre">--limit</span></code> options didn’t work
with <code class="docutils literal notranslate"><span class="pre">--sort_keys</span></code> and <code class="docutils literal notranslate"><span class="pre">--slices</span></code> options. [clear-code/redmine_full_text_search#70][Reported by a9zawa]</p></li>
<li><p>Fixed a bug that search result is empty when the result of <code class="docutils literal notranslate"><span class="pre">select</span></code> command is huge. [groonga-dev,04770][Reported by Yutaro Shimamura]</p></li>
<li><p>Fixed a bug that doesn’t use a suitable index when prefix search and suffix search. [GitHub#1007, PGroonga#GitHub#96][Reported by oknj]</p></li>
</ul>
</div>
<div class="section" id="id43">
<h3>Thanks<a class="headerlink" href="#id43" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>oknj</p></li>
<li><p>Yutaro Shimamura</p></li>
<li><p>yu</p></li>
<li><p>a9zawa</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-0-6-2019-08-05">
<span id="release-9-0-6"></span><h2>Release 9.0.6 - 2019-08-05<a class="headerlink" href="#release-9-0-6-2019-08-05" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id44">
<h3>Improvements<a class="headerlink" href="#id44" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Added support for Debian 10 (buster).</p></li>
</ul>
</div>
<div class="section" id="id45">
<h3>Fixes<a class="headerlink" href="#id45" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Fixed a bug that search is an error when occurring search escalation.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Fixed a bug that may return wrong search results when we use nested equal condition.</p></li>
<li><p>[geo_distance_location_rectangle] Fixed an example that has wrong <code class="docutils literal notranslate"><span class="pre">load</span></code> format. [GitHub#1023][Patched by yagisumi]</p></li>
<li><p>[<a class="reference internal" href="tutorial/micro_blog.html"><span class="doc">Let’s create micro-blog</span></a>] Fixed an example that has wrong search results. [GutHub#1024][Patched by yagisumi]</p></li>
</ul>
</div>
<div class="section" id="id46">
<h3>Thanks<a class="headerlink" href="#id46" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>yagisumi</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-0-5-2019-07-30">
<span id="release-9-0-5"></span><h2>Release 9.0.5 - 2019-07-30<a class="headerlink" href="#release-9-0-5-2019-07-30" title="Permalink to this headline">¶</a></h2>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>There are some critical bugs are found in this release. <code class="docutils literal notranslate"><span class="pre">select</span></code> command returns wrong search results.
We will release the new version (9.0.6) which fixes the issues.
Please do not use Groonga 9.0.5, and recommends to upgrade to 9.0.6 in the future.
The detail of this issues are explained at <a class="reference external" href="http://groonga.org/en/blog/2019/07/30/groonga-9.0.5.html">http://groonga.org/en/blog/2019/07/30/groonga-9.0.5.html</a>.</p>
</div>
<div class="section" id="id47">
<h3>Improvements<a class="headerlink" href="#id47" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Improved that only apply an optimization when the search target shard is large enough.</p>
<ul>
<li><p>This feature reduces that duplicate search result between offset when we use same sort key.</p></li>
<li><p>Large enough threshold is 10000 records by default.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Added new option <code class="docutils literal notranslate"><span class="pre">unify_to_katakana</span></code> for <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC100</span></code>.</p>
<ul>
<li><p>This option normalize hiragana to katakana.</p></li>
<li><p>For example, <code class="docutils literal notranslate"><span class="pre">ゔぁゔぃゔゔぇゔぉ</span></code> is normalized to <code class="docutils literal notranslate"><span class="pre">ヴァヴィヴヴェヴォ</span></code>.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added drilldowns support as a slices parameter.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added columns support as a slices parameter.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Improved that we can refer <code class="docutils literal notranslate"><span class="pre">_score</span></code> in the initial stage for slices parameter.</p></li>
<li><p>[<a class="reference internal" href="reference/functions/highlight_html.html"><span class="doc">highlight_html</span></a>], [<a class="reference internal" href="reference/functions/snippet_html.html"><span class="doc">snippet_html</span></a>] Improved that extract a keyword also from an expression of before executing a slices when we specify the slices parameter.</p></li>
<li><p>Improved that collect scores also from an expression of before executing a slices when we specify the slices parameter.</p></li>
<li><p>Stopped add 1 in score automatically when add posting to posting list.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_ii_posting_add</span></code> is backward incompatible changed by this change.
* Caller must increase the score to maintain compatibility.</p></li>
</ul>
</li>
<li><p>Added support for index search for nested equal like <code class="docutils literal notranslate"><span class="pre">XXX.YYY.ZZZ</span> <span class="pre">==</span> <span class="pre">AAA</span></code>.</p></li>
<li><p>Reduce rehash interval when we use hash table.</p>
<ul>
<li><p>This feature improve performance for output result.</p></li>
</ul>
</li>
<li><p>Improved to we can add tag prefix in the query log.</p>
<ul>
<li><p>We become easy to understand that it is filtered which the condition.</p></li>
</ul>
</li>
<li><p>Added support for Apache Arrow 1.0.0.</p>
<ul>
<li><p>However, It’s not released this version yet.</p></li>
</ul>
</li>
<li><p>Added support for Amazon Linux 2.</p></li>
</ul>
</div>
<div class="section" id="id48">
<h3>Fixes<a class="headerlink" href="#id48" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that vector values of JSON like <code class="docutils literal notranslate"><span class="pre">&quot;[1,</span> <span class="pre">2,</span> <span class="pre">3]&quot;</span></code> are not indexed.</p></li>
<li><p>Fixed wrong parameter name in <code class="docutils literal notranslate"><span class="pre">table_create</span></code> tests. [GitHub#1000][Patch by yagisumi]</p></li>
<li><p>Fixed a bug that drilldown label is empty when a drilldown command is executed by <code class="docutils literal notranslate"><span class="pre">command_version=3</span></code>. [GitHub#1001][Reported by yagisumi]</p></li>
<li><p>Fixed build error for Windows package on MinGW.</p></li>
<li><p>Fixed install missing COPYING for Windows package on MinGW.</p></li>
<li><p>Fixed a bug that don’t highlight when specifing non-text query as highlight target keyword.</p></li>
<li><p>Fixed a bug that broken output of MessagePack format of [<a class="reference internal" href="reference/commands/object_inspect.html"><span class="doc">object_inspect</span></a>]. [GitHub#1009][Reported by yagisumi]</p></li>
<li><p>Fixed a bug that broken output of MessagePack format of <code class="docutils literal notranslate"><span class="pre">index_column_diff</span></code>. [GitHub#1010][Reported by yagisumi]</p></li>
<li><p>Fixed a bug that broken output of MessagePack format of [<a class="reference internal" href="reference/commands/suggest.html"><span class="doc">suggest</span></a>]. [GitHub#1011][Reported by yagisumi]</p></li>
<li><p>Fixed a bug that allocate size by realloc isn’t enough when a search for a table of patricia trie and so on. [Reported by Shimadzu Corporation]</p>
<ul>
<li><p>Groonga may be crashed by this bug.</p></li>
</ul>
</li>
<li><p>Fix a bug that <code class="docutils literal notranslate"><span class="pre">groonga.repo</span></code> is removed when updating 1.5.0 from <code class="docutils literal notranslate"><span class="pre">groonga-release</span></code> version before 1.5.0-1. [groonga-talk:429][Reported by Josep Sanz]</p></li>
</ul>
</div>
<div class="section" id="id49">
<h3>Thanks<a class="headerlink" href="#id49" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>yagisumi</p></li>
<li><p>Shimadzu Corporation</p></li>
<li><p>Josep Sanz</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-0-4-2019-06-29">
<span id="release-9-0-4"></span><h2>Release 9.0.4 - 2019-06-29<a class="headerlink" href="#release-9-0-4-2019-06-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id50">
<h3>Improvements<a class="headerlink" href="#id50" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Added support for array literal with multiple elements.</p></li>
<li><p>Added support equivalence operation of a vector.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Increase outputting logs into query log.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> command comes to output a log for below timing.</p>
<ul>
<li><p>After filtering by <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code>.</p></li>
<li><p>After sorting by <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code>.</p></li>
<li><p>After applying dynamic column.</p></li>
<li><p>After output results.</p></li>
</ul>
</li>
<li><p>We can see how much has been finished this command by this feature.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Added document for <code class="docutils literal notranslate"><span class="pre">TokenPattern</span></code> description.</p></li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Added document for <code class="docutils literal notranslate"><span class="pre">TokenTable</span></code> description.</p></li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Added document for <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code> description.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Added output operation log into groonga.log</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grndb</span></code> command comes to output execution result and execution process.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Added support for checking empty files.</p>
<ul>
<li><p>We can check if the empty files exist by this feature.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Added support new option <code class="docutils literal notranslate"><span class="pre">--since</span></code></p>
<ul>
<li><p>We can specify a scope of an inspection.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Added document about new option <code class="docutils literal notranslate"><span class="pre">--since</span></code></p></li>
<li><p>Bundle RapidJSON</p>
<ul>
<li><p>We can use RapidJson as Groonga’s JSON parser partly. (This feature is partly yet)</p></li>
<li><p>We can more exactly parse JSON by using this.</p></li>
</ul>
</li>
<li><p>Added support for casting to int32 vector from JSON string.</p>
<ul>
<li><p>This feature requires RapidJSON.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/functions/query.html"><span class="doc">query</span></a>] Added <code class="docutils literal notranslate"><span class="pre">default_operator</span></code>.</p>
<ul>
<li><p>We can customize operator when “keyword1 keyword2”.</p></li>
<li><p>“keyword1 Keyword2” is AND operation in default.</p></li>
<li><p>We can change “keyword1 keyword2“‘s operator except AND.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id51">
<h3>Fixes<a class="headerlink" href="#id51" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[optimizer] Fix a bug that execution error when specified multiple filter conditions and like <code class="docutils literal notranslate"><span class="pre">xxx.yyy==&quot;keyword&quot;</span></code>.</p></li>
<li><p>Added missing LICENSE files in Groonga package for Windows(VC++ version).</p></li>
<li><p>Added UCRT runtime into Groonga package for Windows(VC++ version).</p></li>
<li><p>[<a class="reference internal" href="reference/window_function.html"><span class="doc">Window function</span></a>] Fix a memory leak.</p>
<ul>
<li><p>This occurs when multiple windows with sort keys are used. [Patched by Takashi Hashida]</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id52">
<h3>Thanks<a class="headerlink" href="#id52" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Takashi Hashida</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-0-3-2019-05-29">
<span id="release-9-0-3"></span><h2>Release 9.0.3 - 2019-05-29<a class="headerlink" href="#release-9-0-3-2019-05-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id53">
<h3>Improvements<a class="headerlink" href="#id53" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added more query logs.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">select</span></code> command comes to output a log for below timing.</p>
<ul>
<li><p>After sorting by drilldown.</p></li>
<li><p>After filter by drilldown.</p></li>
</ul>
</li>
<li><p>We can see how much has been finished this command by this feature.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Added more query logs.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">logical_select</span></code> command comes to output a log for below timing.</p>
<ul>
<li><p>After making dynamic columns.</p></li>
<li><p>After grouping by drilldown.</p></li>
<li><p>After sorting by drilldown.</p></li>
<li><p>After filter by drilldown.</p></li>
<li><p>After sorting by <code class="docutils literal notranslate"><span class="pre">logical_select</span></code>.</p></li>
</ul>
</li>
<li><p>We can see how much has been finished this command by this feature.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Improved performance of sort a little when we use <code class="docutils literal notranslate"><span class="pre">limit</span></code> option.</p></li>
<li><p>[index_column_diff] Improved performance.</p>
<ul>
<li><p>We have greatly shortened the execution speed of this command.</p></li>
</ul>
</li>
<li><p>[index_column_diff] Improved ignore invalid reference.</p></li>
<li><p>[index_column_diff] Added support for duplicated vector element case.</p></li>
<li><p>[Normalizers] Added a new Normalizer <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC121</span></code> based on Unicode NFKC (Normalization Form Compatibility Composition) for Unicode 12.1.</p></li>
<li><p>[TokenFilters] Added a new TokenFilter <code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC121</span></code> based on Unicode NFKC (Normalization Form Compatibility Composition) for Unicode 12.1.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Added a new option <code class="docutils literal notranslate"><span class="pre">--log-flags</span></code></p>
<ul>
<li><p>We can specify output items of a log as with groonga executable file.</p></li>
<li><p>See [<a class="reference internal" href="reference/executables/groonga.html"><span class="doc">groonga executable file</span></a>] to know about supported log flags.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/functions/snippet_html.html"><span class="doc">snippet_html</span></a>] Added a new option for changing a return value when no match by search.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/plugin_unregister.html"><span class="doc">plugin_unregister</span></a>] Added support full path of Windows.</p></li>
<li><p>Added support for multiline log message.</p>
<ul>
<li><p>The multiline log message is easy to read by this feature.</p></li>
</ul>
</li>
<li><p>Output key in Groonga’s log when we search by index.</p></li>
<li><p>[<a class="reference internal" href="tutorial/match_columns.html"><span class="doc">match_columns parameter</span></a>] Added a document for indexes with weight.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Added a explanation for <code class="docutils literal notranslate"><span class="pre">order</span></code> parameter.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/object_inspect.html"><span class="doc">object_inspect</span></a>] Added an explanation for new statistics <code class="docutils literal notranslate"><span class="pre">INDEX_COLUMN_VALUE_STATISTICS_NEXT_PHYSICAL_SEGMENT_ID</span></code> and <code class="docutils literal notranslate"><span class="pre">INDEX_COLUMN_VALUE_STATISTICS_N_PHYSICAL_SEGMENTS</span></code>.</p></li>
<li><p>Dropped Ubuntu 14.04 support.</p></li>
</ul>
</div>
<div class="section" id="id54">
<h3>Fixes<a class="headerlink" href="#id54" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[index_column_diff] Fixed a bug that too much <code class="docutils literal notranslate"><span class="pre">remains</span></code> are reported.</p></li>
<li><p>Fixed a build error when we use <code class="docutils literal notranslate"><span class="pre">--without-onigmo</span></code> option. [GitHub#951] [Reported by Tomohiro KATO]</p></li>
<li><p>Fixed a vulnerability of “CVE: 2019-11675”. [Reported by Wolfgang Hotwagner]</p></li>
<li><p>Removed extended path prefix <code class="docutils literal notranslate"><span class="pre">\\?\</span></code> at Windows version of Groonga. [GitHub#958] [Reported by yagisumi]</p>
<ul>
<li><p>This extended prefix causes a bug that plugin can’t be found correctly.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id55">
<h3>Thanks<a class="headerlink" href="#id55" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Tomohiro KATO</p></li>
<li><p>Wolfgang Hotwagner</p></li>
<li><p>yagisumi</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-0-2-2019-04-29">
<span id="release-9-0-2"></span><h2>Release 9.0.2 - 2019-04-29<a class="headerlink" href="#release-9-0-2-2019-04-29" title="Permalink to this headline">¶</a></h2>
<p>We provide a package for Windows made from VC++ from this release.</p>
<p>We also provide a package for Windows made form MinGW as in the past.
However, we will provide it made from VC++ instead of making from MinGW sooner or later.</p>
<div class="section" id="id56">
<h3>Improvements<a class="headerlink" href="#id56" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/column_create.html"><span class="doc">column_create</span></a>] Added a new flag <code class="docutils literal notranslate"><span class="pre">INDEX_LARGE</span></code> for index column.</p>
<ul>
<li><p>We can make an index column has space that two times of default by this flag.</p></li>
<li><p>However, note that it also uses two times of memory usage.</p></li>
<li><p>This flag useful when index target data are large.</p></li>
<li><p>Large data must have many records (normally at least 10 millions records) and at least one of the following features.</p>
<ul>
<li><p>Index targets are multiple columns</p></li>
<li><p>Index table has tokenizer</p></li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/object_inspect.html"><span class="doc">object_inspect</span></a>] Added a new statistics <code class="docutils literal notranslate"><span class="pre">next_physical_segment_id</span></code> and <code class="docutils literal notranslate"><span class="pre">max_n_physical_segments</span></code> for physical segment information.</p>
<ul>
<li><p>We can confirm usage of index column space and max value of index column space by this information.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Added support for window function over shard.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Added support for window function over shard.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_count.html"><span class="doc">logical_count</span></a>] Added support for window function over shard.</p></li>
<li><p>We provided a package for Windows made from VC++.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/io_flush.html"><span class="doc">io_flush</span></a>] Added a new option <code class="docutils literal notranslate"><span class="pre">--recursive</span> <span class="pre">dependent</span></code></p>
<ul>
<li><p>We can all of the specified flush target object, child objects, corresponding table of an index column and corresponding index column are flush target objects.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id57">
<h3>Fixes<a class="headerlink" href="#id57" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed “unknown type name ‘bool’” compilation error in some environments.</p></li>
<li><p>Fixed a bug that incorrect output number over Int32 by command of execute via mruby (e.g. <code class="docutils literal notranslate"><span class="pre">logical_select</span></code>, <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code>, <code class="docutils literal notranslate"><span class="pre">logical_count</span></code>, etc.). [GitHub#936] [Patch by HashidaTKS]</p></li>
</ul>
</div>
<div class="section" id="id58">
<h3>Thanks<a class="headerlink" href="#id58" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>HashidaTKS</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-0-1-2019-03-29">
<span id="release-9-0-1"></span><h2>Release 9.0.1 - 2019-03-29<a class="headerlink" href="#release-9-0-1-2019-03-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id59">
<h3>Improvements<a class="headerlink" href="#id59" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Added support to acccept null for vector value.</p>
<ul>
<li><p>You can use <cite>select … –columns[vector].flags COLUMN_VECTOR –columns[vector].value “null”</cite></p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Translated document into English.</p></li>
<li><p>Added more checks and logging for invalid indexes. It helps to clarify the index related bugs.</p></li>
<li><p>Improved an explanation about <code class="docutils literal notranslate"><span class="pre">GRN_TABLE_SELECT_ENOUGH_FILTERED_RATIO</span></code> behavior in news at <a class="reference internal" href="#release-8-0-6"><span class="std std-ref">Release 8.0.6 - 2018-08-29</span></a>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added new argument <code class="docutils literal notranslate"><span class="pre">--load_table</span></code>, <code class="docutils literal notranslate"><span class="pre">--load_columns</span></code> and <code class="docutils literal notranslate"><span class="pre">--load_values</span></code>.</p>
<ul>
<li><p>You can store a result of <code class="docutils literal notranslate"><span class="pre">select</span></code> in a table that specifying <code class="docutils literal notranslate"><span class="pre">--load_table</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">--load_values</span></code> option specifies columns of result of <code class="docutils literal notranslate"><span class="pre">select</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">--load_columns</span></code> options specifies columns of table that specifying <code class="docutils literal notranslate"><span class="pre">--load_table</span></code>.</p></li>
<li><p>In this way, you can store values of columns that specifying with <code class="docutils literal notranslate"><span class="pre">--load_values</span></code> into columns that specifying with <code class="docutils literal notranslate"><span class="pre">--load_columns</span></code>.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added documentation about <code class="docutils literal notranslate"><span class="pre">load_table</span></code>, <code class="docutils literal notranslate"><span class="pre">load_columns</span></code> and <code class="docutils literal notranslate"><span class="pre">load_values</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Added supoort to display a table of load destination in a query log.</p>
<ul>
<li><p>A name of table of load destination display as string in <code class="docutils literal notranslate"><span class="pre">[]</span></code> as below.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">:000000000000000</span> <span class="pre">load(3):</span> <span class="pre">[LoadedLogs][3]</span></code></p></li>
</ul>
</li>
<li><p>Added a new API:</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_ii_get_flags()</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_index_column_diff()</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_memory_get_usage()</span></code></p></li>
</ul>
</li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">index_column_diff</span></code> command to check broken index column. If you want to log progress of command execution, set log level to debug.</p></li>
</ul>
</div>
<div class="section" id="id60">
<h3>Fixes<a class="headerlink" href="#id60" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/functions/snippet_html.html"><span class="doc">snippet_html</span></a>] Changed to return an empty vector for no match.</p>
<ul>
<li><p>In such a case, an empty vector <code class="docutils literal notranslate"><span class="pre">[]</span></code> is returned instead of <code class="docutils literal notranslate"><span class="pre">null</span></code>.</p></li>
</ul>
</li>
<li><p>Fixed a warning about possibility of counting threads overflow.
In real world, it doesn’t affect user because enourmous number of threads is not used. [GitHub#904]</p></li>
<li><p>Fixed build error on macOS [GitHub#909] [Reported by shiro615]</p></li>
<li><p>Fixed a stop word handling bug.</p>
<ul>
<li><p>This bug occurs when we set the first token as a stop word in our query.</p></li>
<li><p>If this bug occurs, our search query isn’t hit.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/api/global_configurations.html"><span class="doc">Global configurations</span></a>] Fixed a typo about parameter name of <code class="docutils literal notranslate"><span class="pre">grn_lock_set_timeout</span></code>.</p></li>
<li><p>Fixed a bug that deleted records may be matched because of updating indexes incorrectly.</p>
<ul>
<li><p>It may occure when large number of records is added or deleted.</p></li>
</ul>
</li>
<li><p>Fixed a memory leak when <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code> returns no records. [GitHub#911] [Patch by HashidaTKS]</p></li>
<li><p>Fixed a bug that query will not match because of loading data is not normalized correctly.
[PGroonga#GitHub#93, GitHub#912,GitHub#913] [Reported by kamicup and dodaisuke]</p>
<ul>
<li><p>This bug occurs when load data contains whitespace after KATAKANA and <code class="docutils literal notranslate"><span class="pre">unify_kana</span></code> option is used for normalizer.</p></li>
</ul>
</li>
<li><p>Fixed a bug that an indexes is broken during updating indexes.</p>
<ul>
<li><p>It may occurs when repeating to add large number of records or delete them for a long term.</p></li>
</ul>
</li>
<li><p>Fixed a crash bug that allocated working area is not enough size when updating indexes.</p></li>
</ul>
</div>
<div class="section" id="id61">
<h3>Thanks<a class="headerlink" href="#id61" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>shiro615</p></li>
<li><p>HashidaTKS</p></li>
<li><p>kamicup</p></li>
<li><p>dodaisuke</p></li>
</ul>
</div>
</div>
<div class="section" id="release-9-0-0-2019-02-09">
<span id="release-9-0-0"></span><h2>Release 9.0.0 - 2019-02-09<a class="headerlink" href="#release-9-0-0-2019-02-09" title="Permalink to this headline">¶</a></h2>
<p>This is a major version up! But It keeps backward compatibility.
You can upgrade to 9.0.0 without rebuilding database.</p>
<div class="section" id="id62">
<h3>Improvements<a class="headerlink" href="#id62" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Added a new tokenizer <code class="docutils literal notranslate"><span class="pre">TokenPattern</span></code>.</p>
<ul>
<li><p>You can extract tokens by regular expression.</p>
<ul>
<li><p>This tokenizer extracts only token that matches the regular expression.</p></li>
</ul>
</li>
<li><p>You can also specify multiple patterns of regular expression.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Added a new tokenizer <code class="docutils literal notranslate"><span class="pre">TokenTable</span></code>.</p>
<ul>
<li><p>You can extract tokens by a value of columns of existing a table.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Added support for dumping binary data.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added support for similer search against index column.</p>
<ul>
<li><p>If you have used multi column index, you can similar search against all source columns by this feature.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Added new option <code class="docutils literal notranslate"><span class="pre">remove_blank</span></code> for <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC100</span></code>.</p>
<ul>
<li><p>This option remove white spaces.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/executables/groonga.html"><span class="doc">groonga executable file</span></a>] Improve display of thread id in log.</p>
<ul>
<li><p>Because It was easy to confuse thread id and process id on Windows version, it made clear which is a thread id or a process id.</p></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="release-8-1-1-2019-01-29">
<span id="release-8-1-1"></span><h2>Release 8.1.1 - 2019-01-29<a class="headerlink" href="#release-8-1-1-2019-01-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id63">
<h3>Improvements<a class="headerlink" href="#id63" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Added new argument <code class="docutils literal notranslate"><span class="pre">--load_table</span></code>, <code class="docutils literal notranslate"><span class="pre">--load_columns</span></code> and <code class="docutils literal notranslate"><span class="pre">--load_values</span></code>.</p>
<ul>
<li><p>You can store a result of <code class="docutils literal notranslate"><span class="pre">logical_select</span></code> in a table that specifying <code class="docutils literal notranslate"><span class="pre">--load_table</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">--load_values</span></code> option specifies columns of result of <code class="docutils literal notranslate"><span class="pre">logical_select</span></code>.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">--load_columns</span></code> options specifies columns of table that specifying <code class="docutils literal notranslate"><span class="pre">--load_table</span></code>.</p></li>
<li><p>In this way, you can store values of columns that specifying with <code class="docutils literal notranslate"><span class="pre">--load_values</span></code> into columns that specifying with <code class="docutils literal notranslate"><span class="pre">--load_columns</span></code>.</p></li>
</ul>
</li>
<li><p>Improve error log when update error of index.</p>
<ul>
<li><p>Added more information in the log.</p>
<ul>
<li><p>For example, output source buffer and chunk when occur merge of posting lists error.</p></li>
<li><p>Also, outputting the log a free space size of a buffer and request size of a buffer when occurs error of allocating a buffer.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/executables/groonga.html"><span class="doc">groonga executable file</span></a>] Added a new option <code class="docutils literal notranslate"><span class="pre">--log-flags</span></code>.</p>
<ul>
<li><p>We can specify output items of a log of the Groonga.</p></li>
<li><p>We can output as below items.</p>
<ul>
<li><p>Timestamp</p></li>
<li><p>Log message</p></li>
<li><p>Location(the location where the log was output)</p></li>
<li><p>Process id</p></li>
<li><p>Thread id</p></li>
</ul>
</li>
<li><p>We can specify prefix as below.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">+</span></code></p>
<ul>
<li><p>This prefix means that “add the flag”.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">-</span></code></p>
<ul>
<li><p>This prefix means that “remove the flag”.</p></li>
</ul>
</li>
<li><p>No prefix means that “replace existing flags”.</p></li>
</ul>
</li>
<li><p>Specifically, we can specify flags as below.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">none</span></code></p>
<ul>
<li><p>Output nothing into the log.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">time</span></code></p>
<ul>
<li><p>Output a timestamp into the log.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">message</span></code></p>
<ul>
<li><p>Output log messages into the log.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">location</span></code></p>
<ul>
<li><p>Output the location where the log was output( a file name, a line and a function name) and process id.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">process_id</span></code></p>
<ul>
<li><p>Output a process id into the log.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">pid</span></code></p>
<ul>
<li><p>This flag is an alias of <code class="docutils literal notranslate"><span class="pre">process_id</span></code>.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">thread_id</span></code></p>
<ul>
<li><p>Output thread id into the log.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">all</span></code></p>
<ul>
<li><p>This flag specifies all flags except <code class="docutils literal notranslate"><span class="pre">none</span></code> and <code class="docutils literal notranslate"><span class="pre">default</span></code> flags.</p></li>
</ul>
</li>
<li><p><code class="docutils literal notranslate"><span class="pre">default</span></code></p>
<ul>
<li><p>Output a timestamp and log messages into the log.</p></li>
</ul>
</li>
</ul>
</li>
<li><p>We can also specify multiple log flags by separating flags with <code class="docutils literal notranslate"><span class="pre">|</span></code>.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id64">
<h3>Fixes<a class="headerlink" href="#id64" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>Fixed a memory leak when occurs index update error.</p></li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Fixed a bug that stateless normalizers and stateful normalizers return wrong results when we use them at the same time.</p>
<blockquote>
<div><ul class="simple">
<li><p>Stateless normalizers are below.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_kana</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_kana_case</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_kana_voiced_sound_mark</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_hyphen</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_prolonged_sound_mark</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_hyphen_and_prolonged_sound_mark</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_middle_dot</span></code></p></li>
</ul>
</li>
<li><p>Stateful normalizers are below.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_katakana_v_sounds</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_katakana_bu_sound</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_to_romaji</span></code></p></li>
</ul>
</li>
</ul>
</div></blockquote>
</li>
</ul>
</div>
</div>
<div class="section" id="release-8-1-0-2018-12-29">
<span id="release-8-1-0"></span><h2>Release 8.1.0 - 2018-12-29<a class="headerlink" href="#release-8-1-0-2018-12-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id65">
<h3>Improvements<a class="headerlink" href="#id65" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[httpd] Updated bundled nginx to 1.15.8.</p></li>
</ul>
</div>
<div class="section" id="id66">
<h3>Fixes<a class="headerlink" href="#id66" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that unlock against DB is always executed after flush when after execute a <code class="docutils literal notranslate"><span class="pre">io_flush</span></code> command.</p></li>
<li><p>Fixed a bug that <code class="docutils literal notranslate"><span class="pre">reindex</span></code> command doesn’t finish when execute a <code class="docutils literal notranslate"><span class="pre">reindex</span></code> command against table that has record that has not references.</p></li>
</ul>
</div>
</div>
<div class="section" id="release-8-0-9-2018-11-29">
<span id="release-8-0-9"></span><h2>Release 8.0.9 - 2018-11-29<a class="headerlink" href="#release-8-0-9-2018-11-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id67">
<h3>Improvements<a class="headerlink" href="#id67" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Improved that output a tokenizer name in error message when create tokenizer fail.</p></li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenDelimit] Supported that customizing delimiter of a token.</p>
<ul>
<li><p>You can use token other than whitespace as a token of delimiter.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenDelimit] Added new option <code class="docutils literal notranslate"><span class="pre">pattern</span></code>.</p>
<ul>
<li><p>You can specify delimiter with regular expression by this option.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Added force_prefix_search value to each token information.</p>
<ul>
<li><p>“force_prefix” is kept for backward compatibility.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/token_filters.html"><span class="doc">Token filters</span></a>] Added built-in token filter <code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC100</span></code>.</p>
<ul>
<li><p>You can convert katakana to hiragana like NormalizerNFKC100 with a <code class="docutils literal notranslate"><span class="pre">unify_kana</span></code> option.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/token_filters.html"><span class="doc">Token filters</span></a>][TokenFilterStem] Added new option <code class="docutils literal notranslate"><span class="pre">algorithm</span></code>.</p>
<ul>
<li><p>You can also stem language other than English(French, Spanish, Portuguese, Italian, Romanian, German, Dutch, Swedish, Norwegian, Danish, Russian, Finnish) by this option.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/token_filters.html"><span class="doc">Token filters</span></a>][TokenFilterStopWord] Added new option <code class="docutils literal notranslate"><span class="pre">column</span></code>.</p>
<ul>
<li><p>You can specify stop word in a column other than is_stop_word column by this option.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Supported output options of token filter options.</p>
<ul>
<li><p>If you specify a tokenizer like <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code> or <code class="docutils literal notranslate"><span class="pre">TokenMecab</span></code> etc that has options, you can output these options with <code class="docutils literal notranslate"><span class="pre">table_list</span></code> command.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/truncate.html"><span class="doc">truncate</span></a>] Supported a table that it has token filter option.</p>
<ul>
<li><p>You can <code class="docutils literal notranslate"><span class="pre">truncate</span></code> even a tabel that it has token filter like <code class="docutils literal notranslate"><span class="pre">TokenFilterStem</span></code> or <code class="docutils literal notranslate"><span class="pre">TokenStopWord</span></code> that has options.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/schema.html"><span class="doc">schema</span></a>] Support output of options of token filter.</p></li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Added new option for <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC100</span></code> that <code class="docutils literal notranslate"><span class="pre">unify_to_romaji</span></code> option.</p>
<ul>
<li><p>You can normalize hiragana and katakana to romaji by this option.</p></li>
</ul>
</li>
<li><p>[query-log][show-condition] Supported “func() &gt; 0” case.</p></li>
<li><p>[Windows] Improved that ensure flushing on unmap.</p></li>
<li><p>Improved error message on opening input file error.</p></li>
<li><p>[httpd] Updated bundled nginx to 1.15.7.</p>
<ul>
<li><p>contains security fix for CVE-2018-16843 and CVE-2018-16844.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id68">
<h3>Fixes<a class="headerlink" href="#id68" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>Fixed a memory leak when evaluating window function.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/groonga-httpd.html"><span class="doc">groonga-httpd</span></a>] Fixed bug that log content may be mixed.</p></li>
<li><p>Fixed a bug that generates invalid JSON when occurs error of slice on output_columns.</p></li>
<li><p>Fixed a memory leak when getting nested reference vector column value.</p></li>
<li><p>Fixed a crash bug when outputting warning logs of index corruption.</p></li>
<li><p>Fix a crash bug when temporary vector is reused in expression evaluation.</p>
<ul class="simple">
<li><p>For example, crash when evaluating an expression that uses a vector as below.</p></li>
</ul>
<p><code class="docutils literal notranslate"><span class="pre">_score</span> <span class="pre">=</span> <span class="pre">_score</span> <span class="pre">+</span> <span class="pre">(vector_size(categories)</span> <span class="pre">&gt;</span> <span class="pre">0)</span></code></p>
</li>
<li><p>Fix a bug that hits a value of vector columns deleted by a delete command.[GitHub PGroonga#85][Reported by dodaisuke]</p></li>
</ul>
</div>
<div class="section" id="id69">
<h3>Thanks<a class="headerlink" href="#id69" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>dodaisuke</p></li>
</ul>
</div>
</div>
<div class="section" id="release-8-0-8-2018-10-29">
<span id="release-8-0-8"></span><h2>Release 8.0.8 - 2018-10-29<a class="headerlink" href="#release-8-0-8-2018-10-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id70">
<h3>Improvements<a class="headerlink" href="#id70" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/commands/table_list.html"><span class="doc">table_list</span></a>] Supported output options of default tokenizer.</p>
<ul class="simple">
<li><p>If you specify a tokenizer like <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code> or <code class="docutils literal notranslate"><span class="pre">TokenMecab</span></code> etc that has options, you can output these options with <code class="docutils literal notranslate"><span class="pre">table_list</span></code> command.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Supported normalizer options in sequential match with <code class="docutils literal notranslate"><span class="pre">record</span> <span class="pre">&#64;</span> <span class="pre">'query'</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/truncate.html"><span class="doc">truncate</span></a>] Supported a table that it has tokenizer option.</p>
<ul class="simple">
<li><p>You can <code class="docutils literal notranslate"><span class="pre">truncate</span></code> even a tabel that it has tokenizer like <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code> or <code class="docutils literal notranslate"><span class="pre">TokenMecab</span></code> etc that has options.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenMecab] Added new option <code class="docutils literal notranslate"><span class="pre">target_class</span></code></p>
<ul>
<li><p>This option searches a token of specifying a part-of-speech. For example, you can search only a noun.</p></li>
<li><p>This option can also specify subclasses and exclude or add specific part-of-speech of specific using <code class="docutils literal notranslate"><span class="pre">+</span></code> or <code class="docutils literal notranslate"><span class="pre">-</span></code>. So, you can also search except a pronoun as below.</p>
<p><code class="docutils literal notranslate"><span class="pre">'TokenMecab(&quot;target_class&quot;,</span> <span class="pre">&quot;-名詞/代名詞&quot;,</span> <span class="pre">&quot;target_class&quot;,</span> <span class="pre">&quot;+&quot;)'</span></code></p>
</li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/io_flush.html"><span class="doc">io_flush</span></a>] Supported locking of a database during a <code class="docutils literal notranslate"><span class="pre">io_flush</span></code>.</p>
<ul class="simple">
<li><p>Because Groonga had a problem taht is a crash when deleteing a table of a target of a <code class="docutils literal notranslate"><span class="pre">io_flush</span></code> during execution of a <code class="docutils literal notranslate"><span class="pre">io_flush</span></code>.</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/functions/cast_loose.html"><span class="doc">cast_loose</span></a>] Added a new function <code class="docutils literal notranslate"><span class="pre">cast_loose</span></code>.</p>
<ul class="simple">
<li><p>This function cast to a type to specify. If a value to specify can’t cast, it become to a default value to specify.</p></li>
</ul>
</li>
<li><p>Added optimize the order of evaluation of a conditional expression.(experimental)</p>
<ul>
<li><p>You can active this feature by setting environment value as below.</p>
<p><code class="docutils literal notranslate"><span class="pre">GRN_EXPR_OPTIMIZE=yes</span></code></p>
</li>
</ul>
</li>
<li><p>Supported <code class="docutils literal notranslate"><span class="pre">(?-mix:XXX)</span></code> form for index searchable regular expression. [groonga-dev,04683][Reported by Masatoshi SEKI]</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">(?-mix:XXX)</span></code> form treats the same as XXX.</p></li>
</ul>
</li>
<li><p>[httpd] Updated bundled nginx to 1.15.5.</p></li>
<li><p>Supported Ubuntu 18.10 (Cosmic Cuttlefish)</p></li>
</ul>
</div>
<div class="section" id="id71">
<h3>Fixes<a class="headerlink" href="#id71" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that the Groonga GQTP server may fail to accept a new connection. [groonga-dev,04688][Reported by Yutaro Shimamura]</p>
<ul>
<li><p>It’s caused when interruption client process without using quit.</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id72">
<h3>Thanks<a class="headerlink" href="#id72" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Masatoshi SEKI</p></li>
<li><p>Yutaro Shimamura</p></li>
</ul>
</div>
</div>
<div class="section" id="release-8-0-7-2018-09-29">
<span id="release-8-0-7"></span><h2>Release 8.0.7 - 2018-09-29<a class="headerlink" href="#release-8-0-7-2018-09-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id73">
<h3>Improvements<a class="headerlink" href="#id73" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenMecab] support outputting metadata of Mecab.</p>
<ul>
<li><p>Added new option <code class="docutils literal notranslate"><span class="pre">include_class</span></code> for <code class="docutils literal notranslate"><span class="pre">TokenMecab</span></code>.</p>
<p>This option outputs <code class="docutils literal notranslate"><span class="pre">class</span></code> and <code class="docutils literal notranslate"><span class="pre">subclass</span></code> in Mecab’s metadata.</p>
</li>
<li><p>Added new option <code class="docutils literal notranslate"><span class="pre">include_reading</span></code> for <code class="docutils literal notranslate"><span class="pre">TokenMecab</span></code>.</p>
<p>This option outputs <code class="docutils literal notranslate"><span class="pre">reading</span></code> in Mecab’s metadata.</p>
</li>
<li><p>Added new option <code class="docutils literal notranslate"><span class="pre">include_form</span></code> for <code class="docutils literal notranslate"><span class="pre">TokenMecab</span></code>.</p>
<p>This option outputs <code class="docutils literal notranslate"><span class="pre">inflected_type</span></code>, <code class="docutils literal notranslate"><span class="pre">inflected_form</span></code> and <code class="docutils literal notranslate"><span class="pre">base_form</span></code> in Mecab’s metadata.</p>
</li>
<li><p>Added new option <code class="docutils literal notranslate"><span class="pre">use_reading</span></code> for <code class="docutils literal notranslate"><span class="pre">TokenMecab</span></code>.</p>
<p>This option supports a search by kana.</p>
<p>This option is useful for countermeasure of orthographical variants because it searches with kana.</p>
</li>
</ul>
</li>
<li><p>[plugin] Groonga now can grab plugins from multiple directories.</p>
<p>You can specify multiple directories to <code class="docutils literal notranslate"><span class="pre">GRN_PLUGINS_PATH</span></code> separated with “:” on non Windows, “;” on Windows.</p>
<p><code class="docutils literal notranslate"><span class="pre">GRN_PLUGINS_PATH</span></code> has high priority than the existing <code class="docutils literal notranslate"><span class="pre">GRN_PLUGINS_DIR</span></code>.
Currently, this option is not supported Windows.</p>
</li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenNgram] Added new option <code class="docutils literal notranslate"><span class="pre">unify_alphabet</span></code> for <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code>.</p>
<p>If we use <code class="docutils literal notranslate"><span class="pre">unify_alphabet</span></code> as <code class="docutils literal notranslate"><span class="pre">false</span></code>, <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code> uses bigram tokenize method for ASCII character.</p>
</li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenNgram] Added new option <code class="docutils literal notranslate"><span class="pre">unify_symbol</span></code> for <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code>.</p>
<p><code class="docutils literal notranslate"><span class="pre">TokenNgram(&quot;unify_symbol&quot;,</span> <span class="pre">false)</span></code> is same behavior of <code class="docutils literal notranslate"><span class="pre">TokenBigramSplitSymbol</span></code>.</p>
</li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenNgram] Added new option <code class="docutils literal notranslate"><span class="pre">unify_digit</span></code> for <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code>.</p>
<p>If we use <code class="docutils literal notranslate"><span class="pre">unify_digit</span></code> as <code class="docutils literal notranslate"><span class="pre">false</span></code>, If we set false, <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code> uses bigram tokenize method for digits.</p>
</li>
<li><p>[httpd] Updated bundled nginx to 1.15.4.</p></li>
</ul>
</div>
<div class="section" id="id74">
<h3>Fixes<a class="headerlink" href="#id74" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed wrong score calculations on some cases.</p>
<ul>
<li><p>It’s caused when adding, multiplication or division numeric to a bool value.</p></li>
<li><p>It’s caused when comparing a scalar and vector columns using <code class="docutils literal notranslate"><span class="pre">!=</span></code> or <code class="docutils literal notranslate"><span class="pre">==</span></code>.</p></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="release-8-0-6-2018-08-29">
<span id="release-8-0-6"></span><h2>Release 8.0.6 - 2018-08-29<a class="headerlink" href="#release-8-0-6-2018-08-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id75">
<h3>Improvements<a class="headerlink" href="#id75" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenMecab] add <code class="docutils literal notranslate"><span class="pre">chunked_tokenize</span></code> and <code class="docutils literal notranslate"><span class="pre">chunk_size_threshold</span></code> options.</p></li>
<li><p>[optimizer] support estimation for query family expressions.
It will generate more effective execution plan with query family expressions such as <code class="docutils literal notranslate"><span class="pre">column</span> <span class="pre">&#64;</span> <span class="pre">query</span></code>, <code class="docutils literal notranslate"><span class="pre">column</span> <span class="pre">&#64;~</span> <span class="pre">pattern</span></code> and so on.</p></li>
<li><p>[optimizer] plug-in -&gt; built-in
It’s disabled by default for now.
We can enable it by defining <code class="docutils literal notranslate"><span class="pre">GRN_EXPR_OPTIMIZE=yes</span></code> environment variable or using <code class="docutils literal notranslate"><span class="pre">expression_rewriters</span></code> table as before.</p></li>
<li><p>Enable sequential search for enough filtered case by default.
If the current result is enough filtered, sequential search is faster than index search.
If the current result has only 1% records of all records in a table and less than 1000 records, sequential search is used even when index search is available.</p>
<p>Cullently, this optimization is applied when search by <code class="docutils literal notranslate"><span class="pre">==</span></code>, <code class="docutils literal notranslate"><span class="pre">&gt;</span></code>, <code class="docutils literal notranslate"><span class="pre">&lt;</span></code>, <code class="docutils literal notranslate"><span class="pre">&gt;=</span></code>, or <code class="docutils literal notranslate"><span class="pre">&lt;=</span></code>.</p>
<p>When a key of a table that has columns specified by the filter is <code class="docutils literal notranslate"><span class="pre">ShortText</span></code>, you must set <code class="docutils literal notranslate"><span class="pre">NormalizerAuto</span></code> to normalizer of the table to apply this optimization.</p>
<p>You can disable this feature by <code class="docutils literal notranslate"><span class="pre">GRN_TABLE_SELECT_ENOUGH_FILTERED_RATIO=0.0</span></code> environment variable.</p>
</li>
<li><p>[load] improve error message.
Table name is included.</p></li>
<li><p>[load] add <code class="docutils literal notranslate"><span class="pre">lock_table</span></code> option.
If <code class="docutils literal notranslate"><span class="pre">--lock_table</span> <span class="pre">yes</span></code> is specified, <code class="docutils literal notranslate"><span class="pre">load</span></code> locks the target table while updating columns and applying <code class="docutils literal notranslate"><span class="pre">--each</span></code>.
This option avoids <code class="docutils literal notranslate"><span class="pre">load</span></code> and <code class="docutils literal notranslate"><span class="pre">delete</span></code> conflicts but it’ll reduce load performance.</p></li>
<li><p>[vector_find] avoid to crash with unsupported modes</p></li>
</ul>
</div>
<div class="section" id="id76">
<h3>Fixes<a class="headerlink" href="#id76" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[index] fix a bug that offline index construction for text vector with <code class="docutils literal notranslate"><span class="pre">HASH_KEY</span></code>.
It creates index with invalid section ID.</p></li>
<li><p>Fix a bug that <code class="docutils literal notranslate"><span class="pre">--match_columns</span> <span class="pre">'index[0]</span> <span class="pre">||</span> <span class="pre">index[9]'</span></code> uses wrong section.</p></li>
<li><p>[highlighter] fix a wrong highlight bug
It’s caused when lexicon is hash table and keyword is less than N of N-gram.</p></li>
<li><p>[mruby] fix a bug that real error is hidden.
mruby doesn’t support error propagation by no argument raise.
<a class="reference external" href="https://github.com/mruby/mruby/issues/290">https://github.com/mruby/mruby/issues/290</a></p></li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenNgram loose]: fix a not found bug when query has only loose types.
<code class="docutils literal notranslate"><span class="pre">highlight_html()</span></code> with lexicon was also broken.</p></li>
<li><p>Fix a bug that text-&gt;number cast ignores trailing garbage.
“0garbage” should be cast error.</p></li>
<li><p>Fix an optimization bug for <code class="docutils literal notranslate"><span class="pre">reference_column</span> <span class="pre">&gt;=</span> <span class="pre">'key_value'</span></code> case</p></li>
</ul>
</div>
</div>
<div class="section" id="release-8-0-5-2018-07-29">
<span id="release-8-0-5"></span><h2>Release 8.0.5 - 2018-07-29<a class="headerlink" href="#release-8-0-5-2018-07-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id77">
<h3>Improvements<a class="headerlink" href="#id77" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/grn_expr/script_syntax.html"><span class="doc">Script syntax</span></a>] Added complementary explain about similar search against Japanese documents.
[GitHub#858][Patch by Yasuhiro Horimoto]</p></li>
<li><p>[<a class="reference internal" href="reference/functions/time_classify_day_of_week.html"><span class="doc">time_classify_day_of_week</span></a>] Added a new API: <code class="docutils literal notranslate"><span class="pre">time_classify_day_of_week()</span></code>.</p></li>
<li><p>Suppressed a warning with <code class="docutils literal notranslate"><span class="pre">-fstack-protector</span></code>.
Suggested by OBATA Akio.</p></li>
<li><p>Added a new API: <code class="docutils literal notranslate"><span class="pre">time_format_iso8601()</span></code>.</p></li>
<li><p>Exported a struct <code class="docutils literal notranslate"><span class="pre">grn_raw_string</span></code>.</p></li>
<li><p>Added a new API: <code class="docutils literal notranslate"><span class="pre">grn_obj_clear_option_values()</span></code>.
It allows you to clear option values on remove (for persistent) / close (for temporary.)</p></li>
<li><p>[log] Reported index column name for error message <code class="docutils literal notranslate"><span class="pre">[ii][update][one]</span></code>.</p></li>
<li><p>[httpd] Updated bundled nginx to 1.15.2.</p></li>
<li><p>[<a class="reference internal" href="install/ubuntu.html"><span class="doc">Ubuntu</span></a>] Dropped Ubuntu 17.10 (Artful Aardvark) support.
It has reached EOL at July 19, 2018.</p></li>
<li><p>[<a class="reference internal" href="install/debian.html"><span class="doc">Debian GNU/Linux</span></a>] Dropped jessie support.
Debian’s security and release team will no longer produce updates for jessie.</p></li>
</ul>
</div>
<div class="section" id="id78">
<h3>Fixes<a class="headerlink" href="#id78" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed returning wrong result after unfinished <code class="docutils literal notranslate"><span class="pre">/d/load</span></code> data by POST.</p></li>
<li><p>Fixed wrong function call around KyTea.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Added a missing label for the <code class="docutils literal notranslate"><span class="pre">--force-truncate</span></code> option.</p></li>
<li><p>Fixed crash on closing of a database, when a normalizer provided by a plugin (ex. <code class="docutils literal notranslate"><span class="pre">groonga-normalizer-mysql</span></code>) is used with any option.</p></li>
<li><p>Fixed a bug that normalizer/tokenizer options may be ignored.
It’s occurred when the same object ID is reused.</p></li>
</ul>
</div>
</div>
<div class="section" id="release-8-0-4-2018-06-29">
<span id="release-8-0-4"></span><h2>Release 8.0.4 - 2018-06-29<a class="headerlink" href="#release-8-0-4-2018-06-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id79">
<h3>Improvements<a class="headerlink" href="#id79" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[log] Add sub error for error message <code class="docutils literal notranslate"><span class="pre">[ii][update][one]</span></code>.</p></li>
<li><p>Added a new API: <code class="docutils literal notranslate"><span class="pre">grn_highlighter_clear_keywords()</span></code>.</p></li>
<li><p>Added a new predicate: <code class="docutils literal notranslate"><span class="pre">grn_obj_is_number_family_bulk()</span></code>.</p></li>
<li><p>Added a new API: <code class="docutils literal notranslate"><span class="pre">grn_plugin_proc_get_value_mode()</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/functions/vector_find.html"><span class="doc">vector_find</span></a>] Added a new function <code class="docutils literal notranslate"><span class="pre">vector_find()</span></code>.</p></li>
<li><p>Suppress memcpy warnings in msgpack.</p></li>
<li><p>Updated mruby from 1.0.0 to 1.4.1.</p></li>
<li><p>[doc][<a class="reference internal" href="reference/api/grn_obj.html"><span class="doc">grn_obj</span></a>] Added API reference for <code class="docutils literal notranslate"><span class="pre">grn_obj_is_index_column()</span></code>.</p></li>
<li><p>[windows] Suppress printf format warnings.</p></li>
<li><p>[windows] Suppress warning by msgpack.</p></li>
<li><p>[<a class="reference internal" href="reference/api/grn_obj.html"><span class="doc">grn_obj</span></a>][<a class="reference internal" href="reference/api/plugin.html"><span class="doc">Plugin</span></a>] Added encoding converter.
rules:</p>
<ul>
<li><p>grn_ctx::errbuf: grn_encoding</p></li>
<li><p>grn_logger_put: grn_encoding</p></li>
<li><p>mruby: UTF-8</p></li>
<li><p>path: locale</p></li>
</ul>
</li>
<li><p>[mrb] Added <code class="docutils literal notranslate"><span class="pre">LocaleOutput</span></code>.</p></li>
<li><p>[windows] Supported converting image path to grn_encoding.</p></li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenMecab] Convert error message encoding.</p></li>
<li><p>[<a class="reference internal" href="reference/window_functions/window_sum.html"><span class="doc">window_sum</span></a>] Supported dynamic column as a target column.</p></li>
<li><p>[doc][<a class="reference internal" href="reference/api/grn_obj.html"><span class="doc">grn_obj</span></a>] Added API reference for <code class="docutils literal notranslate"><span class="pre">grn_obj_is_vector_column()</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/column_create.html"><span class="doc">column_create</span></a>] Added more validations.</p>
<ul>
<li><p>1: Full text search index for vector column must have <code class="docutils literal notranslate"><span class="pre">WITH_SECTION</span></code> flag.
(Note that TokenDelmit with <code class="docutils literal notranslate"><span class="pre">WITH_POSITION</span></code> without <code class="docutils literal notranslate"><span class="pre">WITH_SECTION</span></code> is permitted.
It’s useful pattern for tag search.)</p></li>
<li><p>2: Full text search index for vector column must not be multi column index.
detail: <a class="reference external" href="https://github.com/groonga/groonga/commit/08e2456ba35407e3d5172f71a0200fac2a770142">https://github.com/groonga/groonga/commit/08e2456ba35407e3d5172f71a0200fac2a770142</a></p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Disabled log check temporarily.
Because it’s not completed yet.</p></li>
</ul>
</div>
<div class="section" id="id80">
<h3>Fixes<a class="headerlink" href="#id80" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/functions/sub_filter.html"><span class="doc">sub_filter</span></a>] Fixed too much score with a too filtered case.</p></li>
<li><p>Fixed build error if KyTea is installed.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Fixed output channel.</p></li>
<li><p>[query-log][show-condition] Maybe fixed a crash bug.</p></li>
<li><p>[highlighter][lexicon] Fixed a not highlighted bug.
The keyword wasn’t highlighted if keyword length is less than N (“N”-gram.
In many cases, it’s Bigram so “less than 2”).</p></li>
<li><p>[windows] Fixed a base path detection bug.
If system locale DLL path includes 0x5c (<code class="docutils literal notranslate"><span class="pre">\</span></code> in ASCII) such as “U+8868
CJK UNIFIED IDEOGRAPH-8868” in CP932, the base path detection is buggy.</p></li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>][TokenNgram] Fixed wrong first character length.
It’s caused for “PARENTHESIZED IDEOGRAPH” characters such as
“U+3231 PARENTHESIZED IDEOGRAPH STOCK”.</p></li>
</ul>
</div>
</div>
<div class="section" id="release-8-0-3-2018-05-29">
<span id="release-8-0-3"></span><h2>Release 8.0.3 - 2018-05-29<a class="headerlink" href="#release-8-0-3-2018-05-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id81">
<h3>Improvements<a class="headerlink" href="#id81" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/functions/highlight_html.html"><span class="doc">highlight_html</span></a>] Support highlight of results of
the search by <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC100</span></code> or <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Added new option for <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code> that
<code class="docutils literal notranslate"><span class="pre">report_source_location</span> <span class="pre">option</span></code> .
This option used when highlighting with <code class="docutils literal notranslate"><span class="pre">highlight_html</span></code> use a lexicon.</p></li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Added new option for <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC100</span></code> that
<code class="docutils literal notranslate"><span class="pre">unify_middle_dot</span> <span class="pre">option</span></code>.
This option normalizes middle dot. You can search with or without <code class="docutils literal notranslate"><span class="pre">・</span></code>
(middle dot) and regardless of <code class="docutils literal notranslate"><span class="pre">・</span></code> position.</p></li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Added new option for <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC100</span></code> that
<code class="docutils literal notranslate"><span class="pre">unify_katakana_v_sounds</span> <span class="pre">option</span></code>.
This option normalizes <code class="docutils literal notranslate"><span class="pre">ヴァヴィヴヴェヴォ</span></code> (katakana) to <code class="docutils literal notranslate"><span class="pre">バビブベボ</span></code> (katakana).
For example, you can search <code class="docutils literal notranslate"><span class="pre">バイオリン</span></code> (violin) in <code class="docutils literal notranslate"><span class="pre">ヴァイオリン</span></code> (violin).</p></li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Added new option for <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC100</span></code> that
<code class="docutils literal notranslate"><span class="pre">unify_katakana_bu_sound</span> <span class="pre">option</span></code>.
This option normalizes <code class="docutils literal notranslate"><span class="pre">ヴァヴィヴゥヴェヴォ</span></code> (katakana) to <code class="docutils literal notranslate"><span class="pre">ブ</span></code> (katakana).
For example, you can search <code class="docutils literal notranslate"><span class="pre">セーブル</span></code> (katakana) and <code class="docutils literal notranslate"><span class="pre">セーヴル</span></code> in
<code class="docutils literal notranslate"><span class="pre">セーヴェル</span></code> (katakana).</p></li>
<li><p>[<a class="reference internal" href="reference/functions/sub_filter.html"><span class="doc">sub_filter</span></a>] Supported <code class="docutils literal notranslate"><span class="pre">sub_filter</span></code> optimization
for the too filter case.
this optimize is valid when records are enough narrowed down before
<code class="docutils literal notranslate"><span class="pre">sub_filter</span></code> execution as below.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/groonga-httpd.html"><span class="doc">groonga-httpd</span></a>] Made all workers context address
to unique.
context address is <code class="docutils literal notranslate"><span class="pre">#{ID}</span></code> of below query log.</p>
<div class="line-block">
<div class="line">#{TIME_STAMP}|#{MESSAGE}</div>
<div class="line">#{TIME_STAMP}|#{ID}|&gt;#{QUERY}</div>
<div class="line">#{TIME_STAMP}|#{ID}|:#{ELAPSED_TIME} #{PROGRESS}</div>
<div class="line">#{TIME_STAMP}|#{ID}|&lt;#{ELAPSED_TIME} #{RETURN_CODE}</div>
</div>
</li>
<li><p>[<a class="reference internal" href="reference/commands/delete.html"><span class="doc">delete</span></a>] Added new options that <code class="docutils literal notranslate"><span class="pre">limit</span></code>.
You can limit the number of delete records as below example.
<code class="docutils literal notranslate"><span class="pre">delete</span> <span class="pre">--table</span> <span class="pre">Users</span> <span class="pre">--filter</span> <span class="pre">'_key</span> <span class="pre">&#64;^</span> <span class="pre">&quot;b&quot;'</span> <span class="pre">--limit</span> <span class="pre">4</span></code></p></li>
<li><p>[httpd] Updated bundled nginx to 1.14.0.</p></li>
</ul>
</div>
<div class="section" id="id82">
<h3>Fixes<a class="headerlink" href="#id82" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Fixed memory leak when an error occurs
in filtered dynamic columns.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_count.html"><span class="doc">logical_count</span></a>] Fixed memory leak on initial dynamic
column error.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Fixed memory leak when an error
occurs in dynamic column evaluation.</p></li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Fixed a bug that the wrong <code class="docutils literal notranslate"><span class="pre">source_offset</span></code> when a
loose tokenizing such as <code class="docutils literal notranslate"><span class="pre">loose_symbol</span></code> option.</p></li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Fixed a bug that FULLWIDTH LATIN CAPITAL LETTERs
such as <code class="docutils literal notranslate"><span class="pre">U+FF21</span> <span class="pre">FULLWIDTH</span> <span class="pre">LATIN</span> <span class="pre">CAPITAL</span> <span class="pre">LETTER</span> <span class="pre">A</span></code> aren’t normalized to LATIN SMALL
LETTERs such as <code class="docutils literal notranslate"><span class="pre">U+0061</span> <span class="pre">LATIN</span> <span class="pre">SMALL</span> <span class="pre">LETTER</span> <span class="pre">A</span></code>.
If you have been used <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC100</span></code> , you must recreate your indexes.</p></li>
</ul>
</div>
</div>
<div class="section" id="release-8-0-2-2018-04-29">
<span id="release-8-0-2"></span><h2>Release 8.0.2 - 2018-04-29<a class="headerlink" href="#release-8-0-2-2018-04-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id83">
<h3>Improvements<a class="headerlink" href="#id83" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>][<a class="reference internal" href="reference/executables/grndb.html#grndb-force-truncate"><span class="std std-ref">--force-truncate</span></a>] Improved
<code class="docutils literal notranslate"><span class="pre">grndb</span> <span class="pre">recover</span> <span class="pre">--force-truncate</span></code> option that it can be truncated even if
locks are left on the table.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Added <code class="docutils literal notranslate"><span class="pre">sort_keys</span></code> option.</p></li>
<li><p>Added a new function <code class="docutils literal notranslate"><span class="pre">time_format()</span></code>.
You can specify time format against a column of <code class="docutils literal notranslate"><span class="pre">Time</span></code> type.
You can specify with use format of <code class="docutils literal notranslate"><span class="pre">strftime</span></code> .</p></li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Support new tokenizer <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code>.
You can change its behavior dynamically via options.
Here is a list of available options:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">n</span></code> : “N” of Ngram. For example, “3” for trigram.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">loose_symbol</span></code> : Tokenize keywords including symbols, to be searched
by both queries with/without symbols. For example, a keyword
“090-1111-2222” will be found by any of “09011112222”, “090”, “1111”,
“2222” and “090-1111-2222”.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">loose_blank</span></code> : Tokenize keywords including blanks, to be searched
by both queries with/without blanks. For example, a keyword
“090 1111 2222” will be found by any of “09011112222”, “090”, “1111”,
“2222” and “090 1111 2222”.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">remove_blank</span></code> : Tokenize keywords including blanks, to be searched
by queries without blanks. For example, a keyword “090 1111 2222” will
be found by any of “09011112222”, “090”, “1111” or “2222”. Note that
the keyword won’t be found by a query including blanks like
“090 1111 2222”.</p></li>
</ul>
</div></blockquote>
</li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Support new normalizer “NormalizerNFKC100” based on Unicode NFKC (Normalization Form Compatibility Composition) for Unicode 10.0.</p></li>
<li><p>[<a class="reference internal" href="reference/normalizers.html"><span class="doc">Normalizers</span></a>] Support options for “NormalizerNFKC51” and “NormalizerNFKC100” normalizers.
You can change their behavior dynamically.
Here is a list of available options:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">unify_kana</span></code> : Same pronounced characters in all of full-width
Hiragana, full-width Katakana and half-width Katakana are regarded as
the same character.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_kana_case</span></code> : Large and small versions of same letters in all of
full-width Hiragana, full-width Katakana and half-width Katakana are
regarded as the same character.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_kana_voiced_sound_mark</span></code> : Letters with/without voiced sound
mark and semi voiced sound mark in all of full-width Hiragana,
full-width Katakana and half-width Katakana are regarded as the same
character.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_hyphen</span></code> : The characters like hyphen are regarded as the hyphen.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_prolonged_sound_mark</span></code> : The characters like prolonged sound mark
are regarded as the prolonged sound mark.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">unify_hyphen_and_prolonged_sound_mark</span></code> : The characters like hyphen
and prolonged sound mark are regarded as the hyphen.</p></li>
</ul>
</div></blockquote>
</li>
<li><p>[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Support output of tokenizer’s options and
normalizer’s options. Groonga 8.0.1 and earlier versions cannot import dump
including options for tokenizers or normalizers generated by Groonga 8.0.2
or later, and it will occurs error due to unsupported information.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/schema.html"><span class="doc">schema</span></a>] Support output of tokenizer’s options and
normalizer’s options. Groonga 8.0.1 and earlier versions cannot import schema
including options for tokenizers or normalizers generated by Groonga 8.0.2
or later, and it will occurs error due to unsupported information.</p></li>
<li><p>Supported Ubuntu 18.04 (Bionic Beaver)</p></li>
</ul>
</div>
<div class="section" id="id84">
<h3>Fixes<a class="headerlink" href="#id84" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that unexpected record is matched with space only query.
[groonga-dev,04609][Reported by satouyuzh]</p></li>
<li><p>Fixed a bug that wrong scorer may be used.
It’s caused when multiple scorers are used as below.
<code class="docutils literal notranslate"><span class="pre">--match_columns</span> <span class="pre">'title</span> <span class="pre">||</span> <span class="pre">scorer_tf_at_most(content,</span> <span class="pre">2.0)'</span></code>.</p></li>
<li><p>Fixed a bug that it may also take so much time to change “thread_limit”.</p></li>
</ul>
</div>
<div class="section" id="id85">
<h3>Thanks<a class="headerlink" href="#id85" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>satouyuzh</p></li>
</ul>
</div>
</div>
<div class="section" id="release-8-0-1-2018-03-29">
<span id="release-8-0-1"></span><h2>Release 8.0.1 - 2018-03-29<a class="headerlink" href="#release-8-0-1-2018-03-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id86">
<h3>Improvements<a class="headerlink" href="#id86" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/log.html"><span class="doc">Log</span></a>] Show <code class="docutils literal notranslate"><span class="pre">filter</span></code> conditions in query log.
It’s disabled by default. To enable it, you need to set an environment
variable <code class="docutils literal notranslate"><span class="pre">GRN_QUERY_LOG_SHOW_CONDITION=yes</span></code>.</p></li>
<li><p>Install <code class="docutils literal notranslate"><span class="pre">*.pdb</span></code> into the directory where <code class="docutils literal notranslate"><span class="pre">*.dll</span></code> and <code class="docutils literal notranslate"><span class="pre">*.exe</span></code>
are installed.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_count.html"><span class="doc">logical_count</span></a>] Support <code class="docutils literal notranslate"><span class="pre">filtered</span></code>
stage dynamic columns.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_count.html"><span class="doc">logical_count</span></a>]
[<a class="reference internal" href="reference/commands/logical_count.html#logical-count-post-filter"><span class="std std-ref">post_filter</span></a>] Added a new filter timing.
It’s executed after <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage columns are generated.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>]
[<a class="reference internal" href="reference/commands/logical_select.html#logical-select-post-filter"><span class="std std-ref">post_filter</span></a>] Added a new filter timing.
It’s executed after <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage columns are generated.</p></li>
<li><p>Support LZ4/Zstd/zlib compression for vector data.</p></li>
<li><p>Support alias to accessor such as <code class="docutils literal notranslate"><span class="pre">_key</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Optimize
window function for large result set.
If we find enough matched records, we don’t apply window function
to the remaining windows.</p>
<p>TODO: Disable this optimization for small result set if its overhead
is not negligible. The overhead is not evaluated yet.</p>
</li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added <code class="docutils literal notranslate"><span class="pre">match_escalation</span></code> parameter.
You can force to enable match escalation by <code class="docutils literal notranslate"><span class="pre">--match_escalation</span> <span class="pre">yes</span></code>.
It’s stronger than <code class="docutils literal notranslate"><span class="pre">--match_escalation_threshold</span> <span class="pre">99999....999</span></code>
because <code class="docutils literal notranslate"><span class="pre">--match_escalation</span> <span class="pre">yes</span></code> also works with
<code class="docutils literal notranslate"><span class="pre">SOME_CONDITIONS</span> <span class="pre">&amp;&amp;</span> <span class="pre">column</span> <span class="pre">&#64;</span> <span class="pre">'query'</span></code>.
<code class="docutils literal notranslate"><span class="pre">--match_escalation_threshold</span></code> isn’t used in this case.</p>
<p>The default is <code class="docutils literal notranslate"><span class="pre">--match_escalation</span> <span class="pre">auto</span></code>. It doesn’t change the
current behavior.</p>
<p>You can disable match escalation by <code class="docutils literal notranslate"><span class="pre">--match_escalation</span> <span class="pre">no</span></code>.
It’s the same as <code class="docutils literal notranslate"><span class="pre">--match_escalation_threshold</span> <span class="pre">-1</span></code>.</p>
</li>
<li><p>[httpd] Updated bundled nginx to 1.13.10.</p></li>
</ul>
</div>
<div class="section" id="id87">
<h3>Fixes<a class="headerlink" href="#id87" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed memory leak that occurs when a prefix query doesn’t match any token.
[GitHub#820][Patch by Naoya Murakami]</p></li>
<li><p>Fixed a bug that a cache for different databases is used when
multiple databases are opened in the same process.</p></li>
<li><p>Fixed a bug that a wrong index is constructed.
This occurs only when the source of a column is a vector column and
<code class="docutils literal notranslate"><span class="pre">WITH_SECTION</span></code> isn’t specified.</p></li>
<li><p>Fixed a bug that a constant value can overflow or underflow in
comparison (&gt;,&gt;=,&lt;,&lt;=,==,!=).</p></li>
</ul>
</div>
<div class="section" id="id88">
<h3>Thanks<a class="headerlink" href="#id88" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Naoya Murakami</p></li>
</ul>
</div>
</div>
<div class="section" id="release-8-0-0-2018-02-09">
<span id="release-8-0-0"></span><h2>Release 8.0.0 - 2018-02-09<a class="headerlink" href="#release-8-0-0-2018-02-09" title="Permalink to this headline">¶</a></h2>
<p>This is a major version up! But It keeps backward compatibility.
You can upgrade to 8.0.0 without rebuilding database.</p>
<div class="section" id="id89">
<h3>Improvements<a class="headerlink" href="#id89" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added <code class="docutils literal notranslate"><span class="pre">--drilldown_adjuster</span></code> and
<code class="docutils literal notranslate"><span class="pre">--drilldowns[LABEL].adjuster</span></code>.
You can adjust score against result of drilldown.</p></li>
<li><p>[<a class="reference internal" href="reference/indexing.html#online-index-construction"><span class="std std-ref">Online index construction</span></a>] Changed environment variable name
<code class="docutils literal notranslate"><span class="pre">GRN_II_REDUCE_EXPIRE_ENABLE</span></code> to <code class="docutils literal notranslate"><span class="pre">GRN_II_REDUCE_EXPIRE_THRESHOLD</span></code>.</p>
<p><code class="docutils literal notranslate"><span class="pre">GRN_II_REDUCE_EXPIRE_THRESHOLD=0</span> <span class="pre">==</span> <span class="pre">GRN_II_REDUCE_EXPIRE_ENABLE=no</span></code>.
<code class="docutils literal notranslate"><span class="pre">GRN_II_REDUCE_EXPIRE_THRESHOLD=-1</span></code> uses
<code class="docutils literal notranslate"><span class="pre">ii-&gt;chunk-&gt;max_map_seg</span> <span class="pre">/</span> <span class="pre">2</span></code> as threshold.
<code class="docutils literal notranslate"><span class="pre">GRN_II_REDUCE_EXPIRE_THRESHOLD</span> <span class="pre">&gt;</span> <span class="pre">0</span></code> uses
<code class="docutils literal notranslate"><span class="pre">MIN(ii-&gt;chunk-&gt;max_map_seg</span> <span class="pre">/</span> <span class="pre">2,</span> <span class="pre">GRN_II_REDUCE_EXPIRE_THRESHOLD)</span></code>
as threshold.
<code class="docutils literal notranslate"><span class="pre">GRN_II_REDUCE_EXPIRE_THRESHOLD=32</span></code> is the default.</p>
</li>
<li><p>[<a class="reference internal" href="reference/functions/between.html"><span class="doc">between</span></a>] Accept <code class="docutils literal notranslate"><span class="pre">between()</span></code> without borders.
If the number of arguments passed to <code class="docutils literal notranslate"><span class="pre">between()</span></code> is 3, the 2nd and 3rd
arguments are handled as the inclusive edges. [GitHub#685]</p></li>
</ul>
</div>
<div class="section" id="id90">
<h3>Fixes<a class="headerlink" href="#id90" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a memory leak for normal hash table.
[GitHub:mroonga/mroonga#190][Reported by fuku1]</p></li>
<li><p>Fix a memory leak for normal array.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Stopped to cache when <code class="docutils literal notranslate"><span class="pre">output_columns</span></code>
uses not stable function.</p></li>
<li><p>[Windows] Fixed wrong value report on <code class="docutils literal notranslate"><span class="pre">WSASend</span></code> error.</p></li>
</ul>
</div>
<div class="section" id="id91">
<h3>Thanks<a class="headerlink" href="#id91" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>fuku1</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-1-1-2018-01-29">
<span id="release-7-1-1"></span><h2>Release 7.1.1 - 2018-01-29<a class="headerlink" href="#release-7-1-1-2018-01-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id92">
<h3>Improvements<a class="headerlink" href="#id92" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="install/ubuntu.html"><span class="doc">Ubuntu</span></a>] Dropped Ubuntu 17.04 (Zesty Zapus) support.
It has reached EOL at Jan 13, 2018.</p></li>
<li><p>Added quorum match support.
You can use quorum match in both script syntax and query syntax.
[groonga-talk,385][Suggested by 付超群]</p>
<p>TODO: Add documents for quorum match syntax and link to them.</p>
</li>
<li><p>Added custom similarity threshold support in script syntax.
You can use custom similarity threshold in script syntax.</p>
<p>TODO: Add document for the syntax and link to it.</p>
</li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>][<a class="reference internal" href="reference/executables/grndb.html#grndb-force-lock-clear"><span class="std std-ref">--force-lock-clear</span></a>]
Added <code class="docutils literal notranslate"><span class="pre">--force-lock-clear</span></code> option. With this option, <code class="docutils literal notranslate"><span class="pre">grndb</span></code>
forces to clear locks of database, tables and data columns. You can
use your database again even if locks are remained in database,
tables and data columns.</p>
<p>But this option very risky. Normally, you should not use it. If your
database is broken, your database is still broken. This option just
ignores locks.</p>
</li>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Added surrogate pairs support in
escape syntax. For example, <code class="docutils literal notranslate"><span class="pre">\uD83C\uDF7A</span></code> is processed as <code class="docutils literal notranslate"><span class="pre">🍺</span></code>.</p></li>
<li><p>[Windows] Changed to use sparse file on Windows. It reduces disk
space and there are no performance demerit.</p></li>
<li><p>[<a class="reference internal" href="reference/indexing.html#online-index-construction"><span class="std std-ref">Online index construction</span></a>] Added
<code class="docutils literal notranslate"><span class="pre">GRN_II_REDUCE_EXPIRE_THRESHOLD</span></code> environment variable to control
when memory maps are expired in index column. It’s <code class="docutils literal notranslate"><span class="pre">-1</span></code> by
default. It means that expire timing is depends on index column
size. If index column is smaller, expire timing is more. If index
column is larger, expire timing is less.</p>
<p>You can use the previous behavior by <code class="docutils literal notranslate"><span class="pre">0</span></code>. It means that Groonga
always tries to expire.</p>
</li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>]
[<a class="reference internal" href="reference/commands/logical_range_filter.html#logical-range-filter-post-filter"><span class="std std-ref">post_filter</span></a>] Added a new filter timing.
It’s executed after <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage generated columns are generated.</p></li>
</ul>
</div>
<div class="section" id="id93">
<h3>Fixes<a class="headerlink" href="#id93" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Reduced resource usage for creating index for reference vector.
[GitHub#806][Reported by Naoya Murakami]</p></li>
<li><p>[<a class="reference internal" href="reference/commands/table_create.html"><span class="doc">table_create</span></a>] Fixed a bug that a table
is created even when <code class="docutils literal notranslate"><span class="pre">token_filters</span></code> is invalid.
[GitHub#266]</p></li>
</ul>
</div>
<div class="section" id="id94">
<h3>Thanks<a class="headerlink" href="#id94" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>付超群</p></li>
<li><p>Naoya Murakami</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-1-0-2017-12-29">
<span id="release-7-1-0"></span><h2>Release 7.1.0 - 2017-12-29<a class="headerlink" href="#release-7-1-0-2017-12-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id95">
<h3>Improvements<a class="headerlink" href="#id95" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Improved the <code class="docutils literal notranslate"><span class="pre">load</span></code>’s
query-log format.
Added detail below items in the <code class="docutils literal notranslate"><span class="pre">load</span></code>’s query-log.</p>
<blockquote>
<div><ul class="simple">
<li><p>outputs number of loaded records.</p></li>
<li><p>outputs number of error records and columns.</p></li>
<li><p>outputs number of total records.</p></li>
</ul>
</div></blockquote>
</li>
<li><p>[<a class="reference internal" href="reference/commands/logical_count.html"><span class="doc">logical_count</span></a>] Improved the
<code class="docutils literal notranslate"><span class="pre">logical_count</span></code>’s query-log format.
Added detail below items in the <code class="docutils literal notranslate"><span class="pre">logical_count</span></code>’s query-log.</p>
<blockquote>
<div><ul class="simple">
<li><p>outputs number of count.</p></li>
</ul>
</div></blockquote>
</li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Improve the
<code class="docutils literal notranslate"><span class="pre">logical_select</span></code>’s query-log format.
Added detail below items in the <code class="docutils literal notranslate"><span class="pre">logical_select</span></code>’s query-log.</p>
<blockquote>
<div><ul class="simple">
<li><p>log N outputs.</p></li>
<li><p>outputs plain drilldown.</p></li>
<li><p>outputs labeled drilldown.</p></li>
<li><p>outputs selected in each shard.</p></li>
<li><p>use “[…]” for target information.</p></li>
</ul>
</div></blockquote>
</li>
<li><p>[<a class="reference internal" href="reference/commands/delete.html"><span class="doc">delete</span></a>] Improved the <code class="docutils literal notranslate"><span class="pre">delete</span></code>’s
query-log format.
Added detail below items in the <code class="docutils literal notranslate"><span class="pre">delete</span></code>’s query-log.</p>
<blockquote>
<div><ul class="simple">
<li><p>outputs number of deleted and error records.</p></li>
<li><p>outputs number of rest number of records.</p></li>
</ul>
</div></blockquote>
</li>
<li><p>[<a class="reference internal" href="reference/executables/groonga-server-http.html"><span class="doc">Groonga HTTP server</span></a>] The server
executed by <code class="docutils literal notranslate"><span class="pre">groonga</span> <span class="pre">-s</span></code> ensure stopping by C-c.</p></li>
<li><p>Used <code class="docutils literal notranslate"><span class="pre">NaN</span></code> and <code class="docutils literal notranslate"><span class="pre">Infinity</span></code>, <code class="docutils literal notranslate"><span class="pre">-Infinity</span></code> instead of Lisp
representations(<code class="docutils literal notranslate"><span class="pre">#&lt;nan&gt;</span></code> and  <code class="docutils literal notranslate"><span class="pre">#i1/0</span></code>, <code class="docutils literal notranslate"><span class="pre">#-i1/0</span></code>).</p></li>
<li><p>Supported vector for drilldown calc target.</p></li>
<li><p>Partially supported keyword extraction from regexp search.
It enables <code class="docutils literal notranslate"><span class="pre">highlight_html</span></code> and <code class="docutils literal notranslate"><span class="pre">snippet_html</span></code> for regexp search.
[GitHub#787][Reported by takagi01]</p></li>
<li><p>[bulk] Reduced the number of <code class="docutils literal notranslate"><span class="pre">realloc()</span></code>.
<code class="docutils literal notranslate"><span class="pre">grn_bulk_*()</span></code> API supports it.</p>
<p>It improves performance for large output case on Windows.
For example, it causes 100x faster for 100MB over output.</p>
<p>Because <code class="docutils literal notranslate"><span class="pre">realloc()</span></code> is heavy on Windows.</p>
</li>
<li><p>Enabled <code class="docutils literal notranslate"><span class="pre">GRN_II_OVERLAP_TOKEN_SKIP_ENABLE</span></code> only when its value is “yes”.</p></li>
<li><p>Deprecated <code class="docutils literal notranslate"><span class="pre">GRN_NGRAM_TOKENIZER_REMOVE_BLANK_DISABLE</span></code>.
Use <code class="docutils literal notranslate"><span class="pre">GRN_NGRAM_TOKENIZER_REMOVE_BLANK_ENABLE=no</span></code> instead.</p></li>
<li><p>Added new function <code class="docutils literal notranslate"><span class="pre">index_column_source_records</span></code>.
It gets source records of index column.[Patch by Naoya Murakami]</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Supported negative “offset” for “offset + size - limit” &gt;= 0</p></li>
<li><p>Added <code class="docutils literal notranslate"><span class="pre">grn_column_cache</span></code>.
It’ll improve performance for getter of fixed size column value.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/groonga.html"><span class="doc">groonga executable file</span></a>] Added <code class="docutils literal notranslate"><span class="pre">--listen-backlog</span> <span class="pre">option</span></code>.
You can customize <code class="docutils literal notranslate"><span class="pre">listen(2)</span></code>’s backlog by this option.</p></li>
<li><p>[httpd] Updated bundled nginx to 1.13.8.</p></li>
</ul>
</div>
<div class="section" id="id96">
<h3>Fixes<a class="headerlink" href="#id96" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>Fixed a memory leak in <code class="docutils literal notranslate"><span class="pre">highlight_full</span></code></p></li>
<li><p>Fixed a crash bug by early unlink
It’s not caused by instruction in <code class="docutils literal notranslate"><span class="pre">grn_expr_parse()</span></code> but it’s caused when
libgroonga user such as Mroonga uses the following instructions:</p>
<blockquote>
<div><ol class="arabic simple">
<li><p><code class="docutils literal notranslate"><span class="pre">grn_expr_append_const(&quot;_id&quot;)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_expr_append_op(GRN_OP_GET_VALUE)</span></code></p></li>
</ol>
</div></blockquote>
</li>
</ul>
</div>
<div class="section" id="id97">
<h3>Thanks<a class="headerlink" href="#id97" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>takagi01</p></li>
<li><p>Naoya Murakami</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-0-9-2017-11-29">
<span id="release-7-0-9"></span><h2>Release 7.0.9 - 2017-11-29<a class="headerlink" href="#release-7-0-9-2017-11-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id98">
<h3>Improvements<a class="headerlink" href="#id98" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Supported newer version of Apache Arrow. In this release, 0.8.0 or
later is required for Apache Arrow support.</p></li>
<li><p>[sharding] Added new API for dynamic columns.</p>
<ul>
<li><p>Groonga::LabeledArguments</p></li>
</ul>
</li>
<li><p>[sharding] Added convenient <code class="docutils literal notranslate"><span class="pre">Table#select_all</span></code> method.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Supported dynamic
columns. Note that <code class="docutils literal notranslate"><span class="pre">initial</span></code> and <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage are only
supported.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Added documentation
about <code class="docutils literal notranslate"><span class="pre">cache</span></code> parameter and dynamic columns.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_count.html"><span class="doc">logical_count</span></a>] Supported dynamic
columns. Note that <code class="docutils literal notranslate"><span class="pre">initial</span></code> stage is only supported.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_count.html"><span class="doc">logical_count</span></a>] Added documentation about
named parameters.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Supported <code class="docutils literal notranslate"><span class="pre">--match_columns</span> <span class="pre">_key</span></code>
without index.</p></li>
<li><p>[<a class="reference internal" href="reference/functions/in_values.html"><span class="doc">in_values</span></a>] Supported to specify more
than 126 values. [GitHub#760] [GitHub#781] [groonga-dev,04449]
[Reported by Murata Satoshi]</p></li>
<li><p>[httpd] Updated bundled nginx to 1.13.7.</p></li>
</ul>
</div>
<div class="section" id="id99">
<h3>Fixes<a class="headerlink" href="#id99" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[httpd] Fixed build error when old Groonga is already installed.
[GitHub#775] [Reported by myamanishi3]</p></li>
<li><p>[<a class="reference internal" href="reference/functions/in_values.html"><span class="doc">in_values</span></a>] Fixed a bug that
<code class="docutils literal notranslate"><span class="pre">in_values</span></code> with too many arguments can cause a crash. This bug is
found during supporting more than 126 values. [GitHub#780]</p></li>
<li><p>[cmake] Fixed LZ4 and MessagePack detection. [Reported by Sergei
Golubchik]</p></li>
<li><p>[<a class="reference internal" href="reference/indexing.html#offline-index-construction"><span class="std std-ref">Offline index construction</span></a>] Fixed a bug that offline index
construction for vector column consumes unnecessary resources. If
you have a log of elements in one vector column and many records,
Groonga will crash.
[groonga-dev,04533][Reported by Toshio Uchiyama]</p></li>
</ul>
</div>
<div class="section" id="id100">
<h3>Thanks<a class="headerlink" href="#id100" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Murata Satoshi</p></li>
<li><p>myamanishi3</p></li>
<li><p>Sergei Golubchik</p></li>
<li><p>Toshio Uchiyama</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-0-8-2017-10-29">
<span id="release-7-0-8"></span><h2>Release 7.0.8 - 2017-10-29<a class="headerlink" href="#release-7-0-8-2017-10-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id101">
<h3>Improvements<a class="headerlink" href="#id101" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[windows] Supported backtrace on crash.
This feature not only function call history but also source filename
and number of lines can be displayed as much as possible.
This feature makes problem solving easier.</p></li>
<li><p>Supported <code class="docutils literal notranslate"><span class="pre">(</span> <span class="pre">)</span></code> (empty block) only query (<code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">&quot;(</span> <span class="pre">)&quot;</span></code>) for
<code class="docutils literal notranslate"><span class="pre">QUERY_NO_SYNTAX_ERROR</span></code>. In the previous version, it caused an
error. [GitHub#767]</p></li>
<li><p>Supported <code class="docutils literal notranslate"><span class="pre">(+)</span></code> (only and block) only query (<code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">&quot;(+)&quot;</span></code>)
for <code class="docutils literal notranslate"><span class="pre">QUERY_NO_SYNTAX_ERROR</span></code>. In the previous version, it caused an
error. [GitHub#767]</p></li>
<li><p>Supported <code class="docutils literal notranslate"><span class="pre">~foo</span></code> (starting with “~”) query (<code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">&quot;~y&quot;</span></code>) for
<code class="docutils literal notranslate"><span class="pre">QUERY_NO_SYNTAX_ERROR</span></code>. In the previous version, it caused an
error. [GitHub#767]</p></li>
<li><p>Modified log level of <code class="docutils literal notranslate"><span class="pre">expired</span></code> from <code class="docutils literal notranslate"><span class="pre">info</span></code> to <code class="docutils literal notranslate"><span class="pre">debug</span></code>.
<code class="docutils literal notranslate"><span class="pre">2017-10-29</span> <span class="pre">14:05:34.123456|i|</span> <span class="pre">&lt;0000000012345678:0&gt;</span> <span class="pre">expired</span>
<span class="pre">i=000000000B123456</span> <span class="pre">max=10</span> <span class="pre">(2/2)</span></code> This message is logged when memory
mapped area for index is unmapped.  Thus, this log message is useful
information for debugging, in other words, as it is unnecessary
information in normal operation, we changed log level from <code class="docutils literal notranslate"><span class="pre">info</span></code>
to <code class="docutils literal notranslate"><span class="pre">debug</span></code>.</p></li>
<li><p>Supported Ubuntu 17.10 (Artful Aardvark)</p></li>
</ul>
</div>
<div class="section" id="id102">
<h3>Fixes<a class="headerlink" href="#id102" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[dat] Fixed a bug that large file is created unexpectedly in the
worst case during database expansion process. This bug may occurs
when you create/delete index columns so frequently. In 7.0.7
release, a related bug was fixed - “<code class="docutils literal notranslate"><span class="pre">table_create</span></code> command fails
when there are many deleted keys”, but it turns out that it is not
enough in the worst case.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Fixed a bug that when
<code class="docutils literal notranslate"><span class="pre">offset</span></code> and <code class="docutils literal notranslate"><span class="pre">limit</span></code> were applied to multiple shards at the same
time, there is a case that it returns a fewer number of records
unexpectedly.</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-0-7-2017-09-29">
<span id="release-7-0-7"></span><h2>Release 7.0.7 - 2017-09-29<a class="headerlink" href="#release-7-0-7-2017-09-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id103">
<h3>Improvements<a class="headerlink" href="#id103" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>Supported <code class="docutils literal notranslate"><span class="pre">+</span></code> only query (<code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">&quot;+&quot;</span></code>) for
<code class="docutils literal notranslate"><span class="pre">QUERY_NO_SYNTAX_ERROR</span></code>. In the previous version, it caused an
error.</p></li>
<li><p>[httpd] Updated bundled nginx to 1.13.5.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Added the default argument values
to the syntax section.</p></li>
<li><p>[<a class="reference internal" href="reference/command/command_version.html"><span class="doc">Command version</span></a>] Supported <code class="docutils literal notranslate"><span class="pre">--default-command-version</span> <span class="pre">3</span></code>.</p></li>
<li><p>Supported caching select result with function call. Now, most of
existing functions supports this feature. There are two exception,
when <code class="docutils literal notranslate"><span class="pre">now()</span></code> and <code class="docutils literal notranslate"><span class="pre">rand()</span></code> are used in query, select result will
not cached. Because of this default behavior change, new APIs are
introduced.</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">grn_proc_set_is_stable()</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_proc_is_stable()</span></code></p></li>
</ul>
<p>Note that if you add a new function that may return different result
with the same argument, you must call <code class="docutils literal notranslate"><span class="pre">grn_proc_is_stable(ctx,</span>
<span class="pre">proc,</span> <span class="pre">GRN_FALSE)</span></code>.  If you don’t call it, select result with the
function call is cached and is wrong result for multiple requests.</p>
</li>
</ul>
</div>
<div class="section" id="id104">
<h3>Fixes<a class="headerlink" href="#id104" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p>[windows] Fixed to clean up file handle correctly on failure when
<code class="docutils literal notranslate"><span class="pre">database_unmap</span></code> is executed. There is a case that critical
section is not initialized when request is canceled before executing
<code class="docutils literal notranslate"><span class="pre">database_unmap</span></code>. In such a case, it caused a crach bug.</p></li>
<li><p>[<a class="reference internal" href="reference/tokenizers.html"><span class="doc">Tokenizers</span></a>] Fixed document for wrong tokenizer
names. It should be <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlankSplitSymbolAlpha</span></code> and
<code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlankSplitSymbolAlphaDigit</span></code>.</p></li>
<li><p>Changed not to keep created empty file on error.</p>
<p>In the previous versions, there is a case that empty file keeps
remain on error.</p>
<p>Here is the senario to reproduce:</p>
<blockquote>
<div><ol class="arabic simple">
<li><p>creating new file by grn_fileinfo_open succeeds</p></li>
<li><p>mapping file by DO_MAP() is failed</p></li>
</ol>
</div></blockquote>
<p>In such a case, it causes an another error such as
“already file exists” because of the file which
isn’t under control. so these file should be removed during
cleanup process.</p>
</li>
<li><p>Fixed a bug that Groonga may be crashed when search process is
executed during executing many updates in a short time.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/table_create.html"><span class="doc">table_create</span></a>] Fixed a bug that
<code class="docutils literal notranslate"><span class="pre">table_create</span></code> failed when there are many deleted keys.</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-0-6-2017-08-29">
<span id="release-7-0-6"></span><h2>Release 7.0.6 - 2017-08-29<a class="headerlink" href="#release-7-0-6-2017-08-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id105">
<h3>Improvements<a class="headerlink" href="#id105" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Supported prefix match search using multiple
indexes. (e.g. <code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">&quot;Foo*&quot;</span> <span class="pre">--match_columns</span>
<span class="pre">&quot;TITLE_INDEX_COLUMN||BODY_INDEX_COLUMN&quot;</span></code>).</p></li>
<li><p>[<a class="reference internal" href="reference/window_functions/window_count.html"><span class="doc">window_count</span></a>] Supported
<code class="docutils literal notranslate"><span class="pre">window_count</span></code> function to add count data to result set. It is
useful to analyze or filter additionally.</p></li>
<li><p>Added the following API</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_obj_get_disk_usage():</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">GRN_EXPR_QUERY_NO_SYNTAX_ERROR</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_expr_syntax_expand_query_by_table()</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_table_find_reference_object()</span></code></p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/object_inspect.html"><span class="doc">object_inspect</span></a>] Supported to show disk
usage about specified object.</p></li>
<li><p>Supported falling back query parse feature. It is enabled when
<code class="docutils literal notranslate"><span class="pre">QUERY_NO_SYNTAX_ERROR</span></code> flag is set to <code class="docutils literal notranslate"><span class="pre">query_flags</span></code>. (this
feature is disabled by default). If this flag is set, query never
causes syntax error. For example, “A +” is parsed and escaped
automatically into “A +”. This behavior is useful when application
uses user input directly and doesn’t want to show syntax error to
user and in log.</p></li>
<li><p>Supported to adjust score for term in query. “&gt;”, “&lt;”, and “~”
operators are supported. For example, “&gt;Groonga” increments score of
“Groonga”, “&lt;Groonga” decrements score of “Groonga”. “~Groonga”
decreases score of matched document in the current search
result. “~” operator doesn’t change search result itself.</p></li>
<li><p>Improved performance to remove table. <code class="docutils literal notranslate"><span class="pre">thread_limit=1</span></code> is not
needed for it. The process about checking referenced table existence
is done without opening objects. As a result, performance is
improved.</p></li>
<li><p>[httpd] Updated bundled nginx to 1.13.4.</p></li>
</ul>
</div>
<div class="section" id="id106">
<h3>Fixes<a class="headerlink" href="#id106" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Fixed a bug that the 7-th unnamed
parameter for <cite>–sort_hash_table</cite> option is ignored.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/schema.html"><span class="doc">schema</span></a>] Fixed a typo in command line
parameter name. It should be <cite>source</cite> instead of <cite>sources</cite>.
[groonga-dev,04449] [Reported by murata satoshi]</p></li>
<li><p>[<a class="reference internal" href="reference/commands/ruby_eval.html"><span class="doc">ruby_eval</span></a>] Fixed crash when ruby_eval
returned syntax error. [GitHub#751] [Patch by ryo-pinus]</p></li>
</ul>
</div>
<div class="section" id="id107">
<h3>Thanks<a class="headerlink" href="#id107" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>murata satoshi</p></li>
<li><p>ryo-pinus</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-0-5-2017-07-29">
<span id="release-7-0-5"></span><h2>Release 7.0.5 - 2017-07-29<a class="headerlink" href="#release-7-0-5-2017-07-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id108">
<h3>Improvements<a class="headerlink" href="#id108" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[httpd] Updated bundled nginx to 1.13.3. Note that this version
contains security fix for CVE-2017-7529.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Supported to load the value of max
UInt64. In the previous versions, max UInt64 value is converted into
0 unexpectedlly.</p></li>
<li><p>Added the following API</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_window_get_size()</span></code> [GitHub#725] [Patch by Naoya Murakami]</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/functions/math_abs.html"><span class="doc">math_abs</span></a>] Supported <code class="docutils literal notranslate"><span class="pre">math_abs()</span></code>
function to calculate absolute value. [GitHub#721]</p></li>
<li><p>Supported to make <code class="docutils literal notranslate"><span class="pre">grn_default_logger_set_path()</span></code> and
<code class="docutils literal notranslate"><span class="pre">grn_default_query_logger_set_path()</span></code> thread safe.</p></li>
<li><p>[windows] Updated bundled pcre library to 8.41.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/normalize.html"><span class="doc">normalize</span></a>] Improved not to output
redundant empty string <code class="docutils literal notranslate"><span class="pre">&quot;&quot;</span></code> on error. [GitHub#730]</p></li>
<li><p>[functions/time] Supported to show error message when division by
zero was happened. [GitHub#733] [Patch by Naoya Murakami]</p></li>
<li><p>[windows] Changed to map <code class="docutils literal notranslate"><span class="pre">ERROR_NO_SYSTEM_RESOURCES</span></code> to
<code class="docutils literal notranslate"><span class="pre">GRN_RESOURCE_TEMPORARILY_UNAVAILABLE</span></code>. In the previous versions,
it returns <code class="docutils literal notranslate"><span class="pre">rc=-1</span></code> as a result code. It is not helpful to
investigate what actually happened. With this fix, it returns
<code class="docutils literal notranslate"><span class="pre">rc=-12</span></code>.</p></li>
<li><p>[functions/min][functions/max] Supported vector column. Now you need
not to care scalar column or vector column to use. [GitHub#735]
[Patch by Naoya Murakami]</p></li>
<li><p>[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Supported <code class="docutils literal notranslate"><span class="pre">--sort_hash_table</span></code>
option to sort by <code class="docutils literal notranslate"><span class="pre">_key</span></code> for hash table. Specify
<code class="docutils literal notranslate"><span class="pre">--sort_hash_table</span> <span class="pre">yes</span></code> to use it.</p></li>
<li><p>[<a class="reference internal" href="reference/functions/between.html"><span class="doc">between</span></a>] Supported to specify index
column. [GitHub#740] [Patch by Naoya Murakami]</p></li>
<li><p>[load] Supported Apache Arrow 0.5.0 or later.</p></li>
<li><p>[<a class="reference internal" href="troubleshooting/how_to_analyze_error_message.html"><span class="doc">How to analyze error messages</span></a>]
Added howto article to analyze error message in Groonga.</p></li>
<li><p>[<a class="reference internal" href="install/debian.html"><span class="doc">Debian GNU/Linux</span></a>] Updated required package list to
build from source.</p></li>
<li><p>[<a class="reference internal" href="install/ubuntu.html"><span class="doc">Ubuntu</span></a>] Dropped Ubuntu 16.10 (Yakkety
Yak) support. It has reached EOL at July 20, 2017.</p></li>
</ul>
</div>
<div class="section" id="id109">
<h3>Fixes<a class="headerlink" href="#id109" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed to construct correct fulltext indexes against vector column
which type belongs to text family (<code class="docutils literal notranslate"><span class="pre">`ShortText</span></code> and so on). This
fix resolves that fulltext search doesn’t work well against text
vector column after updating indexes. [GitHub#494]</p></li>
<li><p>[<a class="reference internal" href="reference/commands/thread_limit.html"><span class="doc">thread_limit</span></a>] Fixed a bug that deadlock
occurs when thread_limit?max=1 is requested at once.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/groonga-httpd.html"><span class="doc">groonga-httpd</span></a>] Fixed a mismatch path
of pid file between default one and restart command assumed. This
mismatch blocked restarting groonga-httpd. [GitHub#743] [Reported by
sozaki]</p></li>
</ul>
</div>
<div class="section" id="id110">
<h3>Thanks<a class="headerlink" href="#id110" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Naoya Murakami</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-0-4-2017-06-29">
<span id="release-7-0-4"></span><h2>Release 7.0.4 - 2017-06-29<a class="headerlink" href="#release-7-0-4-2017-06-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id111">
<h3>Improvements<a class="headerlink" href="#id111" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Added physical create/delete operation logs to identify problem for
troubleshooting. [GitHub#700,#701]</p></li>
<li><p>[<a class="reference internal" href="reference/functions/in_records.html"><span class="doc">in_records</span></a>] Improved performance for
fixed sized column. It may reduce 50% execution time.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Added <code class="docutils literal notranslate"><span class="pre">--log-path</span></code> option.
[GitHub#702,#703]</p></li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Added <code class="docutils literal notranslate"><span class="pre">--log-level</span></code> option.
[GitHub#706,#708]</p></li>
<li><p>Added the following API</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_operator_to_exec_func()</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_obj_is_corrupt()</span></code></p></li>
</ul>
</li>
<li><p>Improved performance for “FIXED_SIZE_COLUMN OP CONSTANT”. Supported
operators are: <code class="docutils literal notranslate"><span class="pre">==</span></code>, <code class="docutils literal notranslate"><span class="pre">!=</span></code>, <code class="docutils literal notranslate"><span class="pre">&lt;</span></code>, <code class="docutils literal notranslate"><span class="pre">&gt;</span></code>, <code class="docutils literal notranslate"><span class="pre">&lt;=</span></code> and <code class="docutils literal notranslate"><span class="pre">&gt;=</span></code>.</p></li>
<li><p>Improved performance for “COLUMN OP VALUE &amp;&amp; COLUMN OP VALUE &amp;&amp; …”.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Supported corrupted object
detection with <code class="docutils literal notranslate"><span class="pre">grndb</span> <span class="pre">check</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/io_flush.html"><span class="doc">io_flush</span></a>] Supported <code class="docutils literal notranslate"><span class="pre">--only_opened</span></code>
option which enables to flush only opened database objects.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/grndb.html"><span class="doc">grndb</span></a>] Supported to detect/delete
orphan “inspect” object. The orphaned “inspect” object is created by
renamed command name from <code class="docutils literal notranslate"><span class="pre">inspect</span></code> to <code class="docutils literal notranslate"><span class="pre">object_inspect</span></code>.</p></li>
</ul>
</div>
<div class="section" id="id112">
<h3>Fixes<a class="headerlink" href="#id112" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[rpm][centos] Fixed unexpected macro expansion problem with
customized build. This bug only affects when rebuilding Groonga SRPM
with customized <code class="docutils literal notranslate"><span class="pre">additional_configure_options</span></code> parameter in spec
file.</p></li>
<li><p>Fixed missing null check for <code class="docutils literal notranslate"><span class="pre">grn_table_setoperation()</span></code>. There is a
possibility of crash bug when indexes are broken. [GitHub#699]</p></li>
</ul>
</div>
<div class="section" id="id113">
<h3>Thanks<a class="headerlink" href="#id113" title="Permalink to this headline">¶</a></h3>
</div>
</div>
<div class="section" id="release-7-0-3-2017-05-29">
<span id="release-7-0-3"></span><h2>Release 7.0.3 - 2017-05-29<a class="headerlink" href="#release-7-0-3-2017-05-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id114">
<h3>Improvements<a class="headerlink" href="#id114" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Add document about
<a class="reference internal" href="tutorial/match_columns.html#full-text-search-with-specific-index-name"><span class="std std-ref">Full text search with specific index name</span></a>.</p></li>
<li><p>[index] Supported to log warning message which record causes posting
list overflows.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>][<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>]
Supported Apache Arrow. [GitHub#691]</p></li>
<li><p>[cmake] Supported linking lz4 in embedded static library build.
[Original patch by Sergei Golubchik]</p></li>
<li><p>[<a class="reference internal" href="reference/commands/delete.html"><span class="doc">delete</span></a>] Supported to cancel.</p></li>
<li><p>[httpd] Updated bundled nginx to 1.13.0</p></li>
<li><p>Exported the following API</p>
<ul>
<li><p>grn_plugin_proc_get_caller()</p></li>
</ul>
</li>
<li><p>Added index column related function and selector.</p>
<ul>
<li><p>Added new selector: index_column_df_ratio_between()</p></li>
<li><p>Added new function: index_column_df_ratio()</p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="id115">
<h3>Fixes<a class="headerlink" href="#id115" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/delete.html"><span class="doc">delete</span></a>] Fixed a bug that error isn’t
cleared correctly. It affects to following deletions so that it
causes unexpected behavior.</p></li>
<li><p>[windows] Fixed a bug that IO version is not detected correctly when the
file is opened with <code class="docutils literal notranslate"><span class="pre">O_CREAT</span></code> flag.</p></li>
<li><p>[<a class="reference internal" href="reference/functions/vector_slice.html"><span class="doc">vector_slice</span></a>] Fixed a bug that non 4
bytes vector columns can’t slice. [GitHub#695] [Patch by Naoya
Murakami]</p></li>
<li><p>Fixed a bug that non 4 bytes fixed vector column can’t sequential
match by specifying index of vector. [GitHub#696] [Patch by Naoya
Murakami]</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Fixed a bug that
“argument out of range” occurs when setting last day of month to the
min. [GitHub#698]</p></li>
</ul>
</div>
<div class="section" id="id116">
<h3>Thanks<a class="headerlink" href="#id116" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Sergei Golubchik</p></li>
<li><p>Naoya Murakami</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-0-2-2017-04-29">
<span id="release-7-0-2"></span><h2>Release 7.0.2 - 2017-04-29<a class="headerlink" href="#release-7-0-2-2017-04-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id117">
<h3>Improvements<a class="headerlink" href="#id117" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Supported multiple
<a class="reference internal" href="reference/commands/logical_select.html#logical-select-drilldowns-label-columns-name-window-sort-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.sort_keys</span></a>
and
<a class="reference internal" href="reference/commands/logical_select.html#logical-select-drilldowns-label-columns-name-window-group-keys"><span class="std std-ref">drilldowns[${LABEL}].columns[${NAME}].window.group_keys</span></a>.</p></li>
<li><p>[windows] Updated bundled LZ4 to 1.7.5.</p></li>
<li><p>[cache] Supported persistent cache feature.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/log_level.html"><span class="doc">log_level</span></a>] Update English documentation.</p></li>
<li><p>Added the following APIs:</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_set_default_cache_base_path()</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_get_default_cache_base_path()</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_persistent_cache_open()</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">grn_cache_default_open()</span></code></p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/executables/groonga.html#cmdoption-groonga-cache-base-path"><code class="xref std std-option docutils literal notranslate"><span class="pre">groonga</span> <span class="pre">--cache-base-path</span></code></a>] Added a new option to use
persistent cache.</p></li>
<li><p>[<a class="reference internal" href="reference/executables/groonga-httpd.html"><span class="doc">groonga-httpd</span></a>]
[<a class="reference internal" href="reference/executables/groonga-httpd.html#groonga-httpd-groonga-cache-base-path"><span class="std std-ref">groonga_cache_base_path</span></a>] Added new
configuration to use persistent cache.</p></li>
<li><p>[windows] Updated bundled msgpack to 2.1.1.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/object_inspect.html"><span class="doc">object_inspect</span></a>] Supported not only
column inspection, but also index column statistics.</p></li>
<li><p>Supported index search for “<code class="docutils literal notranslate"><span class="pre">.*</span></code>” regexp pattern.  This feature is
enabled by default. Set
<code class="docutils literal notranslate"><span class="pre">GRN_SCAN_INFO_REGEXP_DOT_ASTERISK_ENABLE=no</span></code> environment variable
to disable this feature.</p></li>
<li><p>[<a class="reference internal" href="reference/functions/in_records.html"><span class="doc">in_records</span></a>] Added function to use an
existing table as condition patterns.</p></li>
<li><p>[<a class="reference internal" href="install/ubuntu.html"><span class="doc">Ubuntu</span></a>] Dropped Ubuntu 12.04 (Precise Pangolin)
support because of EOL.</p></li>
</ul>
</div>
<div class="section" id="id118">
<h3>Fixes<a class="headerlink" href="#id118" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Fixed a bug that wrong
cache is used. This bug was occurred when dynamic column parameter
is used.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Fixed a bug that dynamic
columns aren’t created. It’s occurred when no match case.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/reindex.html"><span class="doc">reindex</span></a>] Fixed a bug that data is lost
by reindex. [GitHub#646]</p></li>
<li><p>[httpd] Fixed a bug that response of <a class="reference internal" href="reference/commands/quit.html"><span class="doc">quit</span></a>
and <a class="reference internal" href="reference/commands/shutdown.html"><span class="doc">shutdown</span></a> is broken JSON when worker is
running as another user. [GitHub ranguba/groonga-client#12]</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-0-1-2017-03-29">
<span id="release-7-0-1"></span><h2>Release 7.0.1 - 2017-03-29<a class="headerlink" href="#release-7-0-1-2017-03-29" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id119">
<h3>Improvements<a class="headerlink" href="#id119" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Exported the following API</p>
<ul>
<li><p>grn_ii_cursor_next_pos()</p></li>
<li><p>grn_table_apply_expr()</p></li>
<li><p>grn_obj_is_data_column()</p></li>
<li><p>grn_obj_is_expr()</p></li>
<li><p>grn_obj_is_scalar_column()</p></li>
</ul>
</li>
<li><p>[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Supported to dump weight reference
vector.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Supported to load
<code class="docutils literal notranslate"><span class="pre">array&lt;object&gt;</span></code> style weight vector column. The example of
<code class="docutils literal notranslate"><span class="pre">array&lt;object&gt;</span></code> style is: <code class="docutils literal notranslate"><span class="pre">[{&quot;key1&quot;:</span> <span class="pre">weight1},</span> <span class="pre">{&quot;key2&quot;:</span>
<span class="pre">weight2}]</span></code>.</p></li>
<li><p>Supported to search <code class="docutils literal notranslate"><span class="pre">!(XXX</span> <span class="pre">OPERATOR</span> <span class="pre">VALUE)</span></code> by index. Supported
operator is not only <code class="docutils literal notranslate"><span class="pre">&gt;</span></code> but also <code class="docutils literal notranslate"><span class="pre">&gt;=</span></code>, <code class="docutils literal notranslate"><span class="pre">&lt;</span></code>, <code class="docutils literal notranslate"><span class="pre">&lt;=</span></code>, <code class="docutils literal notranslate"><span class="pre">==</span></code>
and <code class="docutils literal notranslate"><span class="pre">!=</span></code>.</p></li>
<li><p>Supported index search for “!(column == CONSTANT)”. The example in
this case is: <code class="docutils literal notranslate"><span class="pre">!(column</span> <span class="pre">==</span> <span class="pre">29)</span></code> and so on.</p></li>
<li><p>Supported more “!” optimization in the following patterns.</p>
<ul>
<li><p><code class="docutils literal notranslate"><span class="pre">!(column</span> <span class="pre">&#64;</span> <span class="pre">&quot;X&quot;)</span> <span class="pre">&amp;&amp;</span> <span class="pre">(column</span> <span class="pre">&#64;</span> <span class="pre">&quot;Y&quot;)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">(column</span> <span class="pre">&#64;</span> <span class="pre">&quot;Y&quot;)</span> <span class="pre">&amp;&amp;</span> <span class="pre">!(column</span> <span class="pre">&#64;</span> <span class="pre">&quot;X&quot;)</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">(column</span> <span class="pre">&#64;</span> <span class="pre">&quot;Y&quot;)</span> <span class="pre">&amp;!</span> <span class="pre">!(column</span> <span class="pre">&#64;</span> <span class="pre">&quot;X&quot;)</span></code></p></li>
</ul>
</li>
<li><p>Supported to search <code class="docutils literal notranslate"><span class="pre">XXX</span> <span class="pre">||</span> <span class="pre">!(column</span> <span class="pre">&#64;</span> <span class="pre">&quot;xxx&quot;)</span></code> by index.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/dump.html"><span class="doc">dump</span></a>] Changed to use <code class="docutils literal notranslate"><span class="pre">'{&quot;x&quot;:</span> <span class="pre">1,</span> <span class="pre">&quot;y&quot;:</span>
<span class="pre">2}'</span></code> style for not referenced weight vector. This change doesn’t
affect to old Groonga because it already supports one.</p></li>
<li><p>[experimental] Supported <code class="docutils literal notranslate"><span class="pre">GRN_ORDER_BY_ESTIMATED_SIZE_ENABLE</span></code>
environment variable. This variable controls whether query
optimization which is based on estimated size is applied or not.
This feature is disabled by default. Set
<code class="docutils literal notranslate"><span class="pre">GRN_ORDER_BY_ESTIMATED_SIZE_ENABLE=yes</span></code> if you want to try it.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added query log for <code class="docutils literal notranslate"><span class="pre">columns</span></code>,
<code class="docutils literal notranslate"><span class="pre">drilldown</span></code> evaluation.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Changed query log format for
<code class="docutils literal notranslate"><span class="pre">drilldown</span></code>. This is backward incompatible change, but it only
affects users who convert query log by own programs.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/table_remove.html"><span class="doc">table_remove</span></a>] Reduced temporary memory
usage. It’s enabled when the number of max threads is 0.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] <code class="docutils literal notranslate"><span class="pre">columns[LABEL](N)</span></code> is used
for query log format instead of <code class="docutils literal notranslate"><span class="pre">columns(N)[LABEL]</span></code>..</p></li>
<li><p>[<a class="reference internal" href="tutorial/query_expansion.html"><span class="doc">Query expansion</span></a>] Updated example to use vector
column because it is recommended way. [Reported by Gurunavi, Inc]</p></li>
<li><p>Supported to detect canceled request while locking. It fixes the
problem that <code class="docutils literal notranslate"><span class="pre">request_cancel</span></code> is ignored unexpectedly while locking.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Supported <code class="docutils literal notranslate"><span class="pre">initial</span></code>
and <code class="docutils literal notranslate"><span class="pre">filtered</span></code> stage dynamic columns. The examples are:
<code class="docutils literal notranslate"><span class="pre">--columns[LABEL].stage</span> <span class="pre">initial</span></code> or <code class="docutils literal notranslate"><span class="pre">--columns[LABEL].stage</span>
<span class="pre">filtered</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Supported
<code class="docutils literal notranslate"><span class="pre">match_columns</span></code>, <code class="docutils literal notranslate"><span class="pre">query</span></code> and <code class="docutils literal notranslate"><span class="pre">drilldown_filter</span></code> option.</p></li>
<li><p>[<a class="reference internal" href="reference/functions/highlight_html.html"><span class="doc">highlight_html</span></a>] Supported similar
search.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Supported <code class="docutils literal notranslate"><span class="pre">initial</span></code>
and stage dynamic columns in labeled drilldown. The example is:
<code class="docutils literal notranslate"><span class="pre">--drilldowns[LABEL].stage</span> <span class="pre">initial</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_select.html"><span class="doc">logical_select</span></a>] Supported window
function in dynamic column.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added documentation about
dynamic columns.</p></li>
<li><p>[<a class="reference internal" href="reference/window_function.html"><span class="doc">Window function</span></a>] Added section about window
functions.</p></li>
<li><p>[<a class="reference internal" href="install/centos.html"><span class="doc">CentOS</span></a>] Dropped CentOS 5 support because of EOL.</p></li>
<li><p>[httpd] Updated bundled nginx to 1.11.12</p></li>
<li><p>Supported to disable AND match optimization by environment variable.
You can disable this feature by
<code class="docutils literal notranslate"><span class="pre">GRN_TABLE_SELECT_AND_MIN_SKIP_ENABLE=no</span></code>. This feature is enable
by default.</p></li>
<li><p>[<a class="reference internal" href="reference/functions/vector_new.html"><span class="doc">vector_new</span></a>] Added a new function to
create a new vector.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Added documentation about
<code class="docutils literal notranslate"><span class="pre">drilldown_filter</span></code>.</p></li>
</ul>
</div>
<div class="section" id="id120">
<h3>Fixes<a class="headerlink" href="#id120" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/commands/lock_clear.html"><span class="doc">lock_clear</span></a>] Fixed a crash bug against
temporary database.</p></li>
<li><p>Fixed a problem that dynamically updated index size was increased
for natural language since Grooonga 6.1.4.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Fixed a bug that “A &amp;&amp; B.C &#64; X”
may not return records that should be matched.</p></li>
<li><p>Fixed a conflict with <code class="docutils literal notranslate"><span class="pre">grn_io_flush()</span></code> and
<code class="docutils literal notranslate"><span class="pre">grn_io_expire()</span></code>. Without this change, if <code class="docutils literal notranslate"><span class="pre">io_flush</span></code> and <code class="docutils literal notranslate"><span class="pre">load</span></code>
command are executed simultaneously in specific timing, it causes a
crash bug by access violation.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/logical_table_remove.html"><span class="doc">logical_table_remove</span></a>] Fixed a crash bug
when the max number of threads is 1.</p></li>
</ul>
</div>
<div class="section" id="id121">
<h3>Thanks<a class="headerlink" href="#id121" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Gurunavi, Inc.</p></li>
</ul>
</div>
</div>
<div class="section" id="release-7-0-0-2017-02-09">
<span id="release-7-0-0"></span><h2>Release 7.0.0 - 2017-02-09<a class="headerlink" href="#release-7-0-0-2017-02-09" title="Permalink to this headline">¶</a></h2>
<div class="section" id="id122">
<h3>Improvements<a class="headerlink" href="#id122" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>[<a class="reference internal" href="reference/functions/in_values.html"><span class="doc">in_values</span></a>] Supported sequential search
for reference vector column. [Patch by Naoya Murakami] [GitHub#629]</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Changed to report error instead
of ignoring on invalid <code class="docutils literal notranslate"><span class="pre">drilldown[LABEL].sort_keys</span></code>.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/select.html"><span class="doc">select</span></a>] Removed needless metadata
updates on DB. It reduces the case that database lock remains
even though <code class="docutils literal notranslate"><span class="pre">select</span></code> command is executed. [Reported by aomi-n]</p></li>
<li><p>[<a class="reference internal" href="reference/commands/lock_clear.html"><span class="doc">lock_clear</span></a>] Changed to clear metadata lock
by lock_clear against DB.</p></li>
<li><p>[<a class="reference internal" href="install/centos.html"><span class="doc">CentOS</span></a>] Enabled EPEL by default to install Groonga
on Amazon Linux.</p></li>
<li><p>[<a class="reference internal" href="reference/functions/query.html"><span class="doc">query</span></a>] Supported “&#64;X” style in script
syntax for prefix(“&#64;^”), suffix(“&#64;$”), regexp(“&#64;^”) search.</p></li>
<li><p>[<a class="reference internal" href="reference/functions/query.html"><span class="doc">query</span></a>] Added documentation about
available list of mode. The default mode is <code class="docutils literal notranslate"><span class="pre">MATCH</span></code> (“&#64;”) mode
which executes full text search.</p></li>
<li><p>[rpm][centos] Supported groonga-token-filter-stem package which
provides stemming feature by <code class="docutils literal notranslate"><span class="pre">TokenFilterStem</span></code> token filter on
CentOS 7. [GitHub#633] [Reported by Tim Bellefleur]</p></li>
<li><p>[<a class="reference internal" href="reference/window_functions/window_record_number.html"><span class="doc">window_record_number</span></a>] Marked
<code class="docutils literal notranslate"><span class="pre">record_number</span></code> as deprecated. Use <code class="docutils literal notranslate"><span class="pre">window_record_number</span></code>
instead. <code class="docutils literal notranslate"><span class="pre">record_number</span></code> is still available for backward
compatibility.</p></li>
<li><p>[<a class="reference internal" href="reference/window_functions/window_sum.html"><span class="doc">window_sum</span></a>] Added <code class="docutils literal notranslate"><span class="pre">window_sum</span></code>
window function. It’s similar behavior to window function sum() on
PostgreSQL.</p></li>
<li><p>Supported to construct offline indexing with in-memory (temporary)
<code class="docutils literal notranslate"><span class="pre">TABLE_DAT_KEY</span></code> table. [GitHub#623] [Reported by Naoya Murakami]</p></li>
<li><p>[onigmo] Updated bundled Onigmo to 6.1.1.</p></li>
<li><p>Supported <code class="docutils literal notranslate"><span class="pre">columns[LABEL].window.group_keys</span></code>. It’s used to apply
window function for every group.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Supported to report error on
invalid key. It enables you to detect mismatch type of key.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Supported <code class="docutils literal notranslate"><span class="pre">--output_errors</span> <span class="pre">yes</span></code>
option. If you specify “yes”, you can get errors for each load
failed record. Note that this feature requires command version 3.</p></li>
<li><p>[<a class="reference internal" href="reference/commands/load.html"><span class="doc">load</span></a>] Improve error message on table key
cast failure. Instead of “cast failed”, type of table key and target
type of table key are also contained in error message.</p></li>
<li><p>[httpd] Updated bundled nginx to 1.11.9.</p></li>
</ul>
</div>
<div class="section" id="id123">
<h3>Fixes<a class="headerlink" href="#id123" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Fixed a bug that nonexistent sort keys for <code class="docutils literal notranslate"><span class="pre">drilldowns[LABEL]</span></code> or
<code class="docutils literal notranslate"><span class="pre">slices[LABEL]</span></code> causes invalid JSON parse error. [Patch by Naoya
Murakami] [GitHub#627]</p></li>
<li><p>Fixed a bug that access to nonexistent sub records for group causes
a crash.  For example, This bug affects the case when you use
<code class="docutils literal notranslate"><span class="pre">drilldowns[LABEL].sort_keys</span> <span class="pre">_sum</span></code> without specifying
<code class="docutils literal notranslate"><span class="pre">calc_types</span></code>.  [Patch by Naoya Murakami] [GitHub#625]</p></li>
<li><p>Fixed a crash bug when tokenizer has an error. It’s caused when
tokenizer and token filter are registered and tokenizer has an
error.</p></li>
<li><p>[<a class="reference internal" href="reference/window_functions/window_record_number.html"><span class="doc">window_record_number</span></a>] Fixed a
bug that arguments for window function is not correctly
passed. [GitHub#634][Patch by Naoya Murakami]</p></li>
</ul>
</div>
<div class="section" id="id124">
<h3>Thanks<a class="headerlink" href="#id124" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><p>Naoya Murakami</p></li>
<li><p>aomi-n</p></li>
</ul>
</div>
</div>
<div class="section" id="the-old-releases">
<h2>The old releases<a class="headerlink" href="#the-old-releases" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="news/6.x.html">News - 6.x</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-1-5-2017-01-23">Release 6.1.5 - 2017-01-23</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-1-4-2017-01-18">Release 6.1.4 - 2017-01-18</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-1-3-2017-01-06">Release 6.1.3 - 2017-01-06</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-1-2-2016-12-31">Release 6.1.2 - 2016-12-31</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-1-1-2016-11-29">Release 6.1.1 - 2016-11-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-1-0-2016-10-29">Release 6.1.0 - 2016-10-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-0-9-2016-09-29">Release 6.0.9 - 2016-09-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-0-8-2016-08-29">Release 6.0.8 - 2016-08-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-0-7-2016-07-29">Release 6.0.7 - 2016-07-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-0-5-2016-06-29">Release 6.0.5 - 2016-06-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-0-4-2016-06-06">Release 6.0.4 - 2016-06-06</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-0-3-2016-05-29">Release 6.0.3 - 2016-05-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-0-2-2016-04-29">Release 6.0.2 - 2016-04-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-0-1-2016-03-29">Release 6.0.1 - 2016-03-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/6.x.html#release-6-0-0-2016-02-29">Release 6.0.0 - 2016-02-29</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="news/5.x.html">News - 5.x</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-1-2-2016-01-29">Release 5.1.2 - 2016-01-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-1-1-2015-12-29">Release 5.1.1 - 2015-12-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-1-0-2015-11-29">Release 5.1.0 - 2015-11-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-0-9-2015-10-29">Release 5.0.9 - 2015-10-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-0-8-2015-09-29">Release 5.0.8 - 2015-09-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-0-7-2015-08-31">Release 5.0.7 - 2015-08-31</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-0-6-2015-07-29">Release 5.0.6 - 2015-07-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-0-5-2015-06-29">Release 5.0.5 - 2015-06-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-0-4-2015-05-29">Release 5.0.4 - 2015-05-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-0-3-2015-04-29">Release 5.0.3 - 2015-04-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-0-2-2015-03-31">Release 5.0.2 - 2015-03-31</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-0-1-2015-03-29">Release 5.0.1 - 2015-03-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/5.x.html#release-5-0-0-2015-02-09">Release 5.0.0 - 2015-02-09</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="news/4.x.html">News - 4.x</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-1-1-2015-01-29">Release 4.1.1 - 2015-01-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-1-0-2015-01-09">Release 4.1.0 - 2015-01-09</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-0-9-2014-12-29">Release 4.0.9 - 2014-12-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-0-8-2014-11-29">Release 4.0.8 - 2014-11-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-0-7-2014-10-29">Release 4.0.7 - 2014-10-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-0-6-2014-09-29">Release 4.0.6 - 2014-09-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-0-5-2014-08-29">Release 4.0.5 - 2014-08-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-0-4-2014-07-29">Release 4.0.4 - 2014-07-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-0-3-2014-06-29">Release 4.0.3 - 2014-06-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-0-2-2014-05-29">Release 4.0.2 - 2014-05-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-0-1-2014-03-29">Release 4.0.1 - 2014-03-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/4.x.html#release-4-0-0-2014-02-09">Release 4.0.0 - 2014-02-09</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="news/3.x.html">News - 3.x</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-1-2-2014-01-29">Release 3.1.2 - 2014-01-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-1-1-2013-12-29">Release 3.1.1 - 2013-12-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-1-0-2013-11-29">Release 3.1.0 - 2013-11-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-0-9-2013-10-29">Release 3.0.9 - 2013-10-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-0-8-2013-09-29">Release 3.0.8 - 2013-09-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-0-7-2013-08-29">Release 3.0.7 - 2013-08-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-0-6-2013-07-29">Release 3.0.6 - 2013-07-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-0-5-2013-06-29">Release 3.0.5 - 2013-06-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-0-4-2013-05-29">Release 3.0.4 - 2013-05-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-0-3-2013-04-29">Release 3.0.3 - 2013-04-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-0-2-2013-03-29">Release 3.0.2 - 2013-03-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-0-1-2013-02-28">Release 3.0.1 - 2013-02-28</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/3.x.html#release-3-0-0-2013-02-09">Release 3.0.0 - 2013-02-09</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="news/2.x.html">News - 2.x</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-1-2-2013-01-29">Release 2.1.2 - 2013-01-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-1-1-2012-12-29">Release 2.1.1 - 2012-12-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-1-0-2012-12-29">Release 2.1.0 - 2012-12-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-0-9-2012-11-29">Release 2.0.9 - 2012-11-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-0-8-2012-10-29">Release 2.0.8 - 2012-10-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-0-7-2012-09-29">Release 2.0.7 - 2012-09-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-0-6-2012-08-29">Release 2.0.6 - 2012-08-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-0-5-2012-07-29">Release 2.0.5 - 2012-07-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-0-4-2012-06-29">Release 2.0.4 - 2012-06-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-0-3-2012-05-29">Release 2.0.3 - 2012-05-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-0-2-2012-04-29">Release 2.0.2 - 2012-04-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-0-1-2012-03-29">Release 2.0.1 - 2012-03-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/2.x.html#release-2-0-0-2012-02-29">Release 2.0.0 - 2012-02-29</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="news/1.3.x.html">News - 1.3.x</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/1.3.x.html#release-1-3-0-2012-01-29">Release 1.3.0 - 2012-01-29</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="news/1.2.x.html">News - 1.2.x</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/1.2.x.html#release-1-2-9-2011-12-29">Release 1.2.9 - 2011-12-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.2.x.html#release-1-2-8-2011-11-29">Release 1.2.8 - 2011-11-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.2.x.html#release-1-2-7-2011-10-29">Release 1.2.7 - 2011-10-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.2.x.html#release-1-2-6-2011-09-29">Release 1.2.6 - 2011-09-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.2.x.html#release-1-2-5-2011-08-29">Release 1.2.5 - 2011-08-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.2.x.html#release-1-2-4-2011-07-29">Release 1.2.4 - 2011-07-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.2.x.html#release-1-2-3-2011-06-29">Release 1.2.3 - 2011-06-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.2.x.html#release-1-2-2-2011-05-29">Release 1.2.2 - 2011-05-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.2.x.html#id20">1.2.1リリース - 2011-04-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.2.x.html#id24">1.2.0リリース - 2011-03-29</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="news/1.1.x.html">バージョン1.1.xのお知らせ</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/1.1.x.html#id1">1.1.0リリース - 2011-02-09</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="news/1.0.x.html">バージョン1.0.xのお知らせ</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/1.0.x.html#id1">1.0.8リリース - 2011-02-02</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.0.x.html#id4">1.0.7リリース - 2011-01-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.0.x.html#id8">1.0.6リリース - 2010-12-31</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.0.x.html#id11">1.0.5リリース - 2010-12-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.0.x.html#id16">1.0.4リリース - 2010-11-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.0.x.html#id21">1.0.3リリース - 2010-10-29</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.0.x.html#id26">1.0.2リリース - 2010-09-09</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.0.x.html#id31">1.0.1リリース - 2010-09-06</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/1.0.x.html#id35">1.0.0リリース - 2010-08-29</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="news/0.x.html">バージョン0.xのお知らせ</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/0.x.html#id1">0.7.7リリース - 2010-08-25</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/0.x.html#id4">0.7.6リリース - 2010-08-19</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="news/senna.html">News in Senna period</a><ul>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#senna-groonga-2009-01-14">Senna -&gt; groonga - 2009-01-14</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id1">2006-04-05</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id2">2006-03-03</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id4">2006-01-16</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id5">2006-01-12</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id7">2005-12-22</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id9">2005-10-27</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id11">2005-09-17</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id13">2005-09-08</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id15">2005-08-16</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id17">2005-07-05</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id18">2005-06-23</a></li>
<li class="toctree-l2"><a class="reference internal" href="news/senna.html#id20">2005-04-12</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>


            <div class="clearer"></div>
          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">News</a><ul>
<li><a class="reference internal" href="#release-11-0-0-2021-02-09">Release 11.0.0 - 2021-02-09</a><ul>
<li><a class="reference internal" href="#improvements">Improvements</a></li>
<li><a class="reference internal" href="#fixes">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-1-1-2021-01-25">Release 10.1.1 - 2021-01-25</a><ul>
<li><a class="reference internal" href="#id1">Improvements</a></li>
<li><a class="reference internal" href="#id2">Fixes</a></li>
<li><a class="reference internal" href="#thanks">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-1-0-2020-12-29">Release 10.1.0 - 2020-12-29</a><ul>
<li><a class="reference internal" href="#id3">Improvements</a></li>
<li><a class="reference internal" href="#id4">Fixes</a></li>
<li><a class="reference internal" href="#id5">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-0-9-2020-12-01">Release 10.0.9 - 2020-12-01</a><ul>
<li><a class="reference internal" href="#id6">Improvements</a></li>
<li><a class="reference internal" href="#id7">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-0-8-2020-10-29">Release 10.0.8 - 2020-10-29</a><ul>
<li><a class="reference internal" href="#id8">Improvements</a></li>
<li><a class="reference internal" href="#id10">Fixes</a></li>
<li><a class="reference internal" href="#id11">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-0-7-2020-09-29">Release 10.0.7 - 2020-09-29</a><ul>
<li><a class="reference internal" href="#id12">Improvements</a></li>
<li><a class="reference internal" href="#id13">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-0-6-2020-08-29">Release 10.0.6 - 2020-08-29</a><ul>
<li><a class="reference internal" href="#id14">Improvements</a></li>
<li><a class="reference internal" href="#id15">Fixes</a></li>
<li><a class="reference internal" href="#id16">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-0-5-2020-07-30">Release 10.0.5 - 2020-07-30</a><ul>
<li><a class="reference internal" href="#id17">Improvements</a></li>
<li><a class="reference internal" href="#id18">Fixes</a></li>
<li><a class="reference internal" href="#id19">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-0-4-2020-06-29">Release 10.0.4 - 2020-06-29</a><ul>
<li><a class="reference internal" href="#id20">Improvements</a></li>
<li><a class="reference internal" href="#id21">Fixes</a></li>
<li><a class="reference internal" href="#id22">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-0-3-2020-05-29">Release 10.0.3 - 2020-05-29</a><ul>
<li><a class="reference internal" href="#id23">Improvements</a></li>
<li><a class="reference internal" href="#id24">Fixes</a></li>
<li><a class="reference internal" href="#id25">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-0-2-2020-04-29">Release 10.0.2 - 2020-04-29</a><ul>
<li><a class="reference internal" href="#id26">Improvements</a></li>
<li><a class="reference internal" href="#id27">Fixes</a></li>
<li><a class="reference internal" href="#id28">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-0-1-2020-03-30">Release 10.0.1 - 2020-03-30</a><ul>
<li><a class="reference internal" href="#id29">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-10-0-0-2020-03-29">Release 10.0.0 - 2020-03-29</a><ul>
<li><a class="reference internal" href="#id30">Improvements</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-1-2-2020-01-29">Release 9.1.2 - 2020-01-29</a><ul>
<li><a class="reference internal" href="#id31">Improvements</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-1-1-2020-01-07">Release 9.1.1 - 2020-01-07</a><ul>
<li><a class="reference internal" href="#id32">Improvements</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-1-0-2019-11-29">Release 9.1.0 - 2019-11-29</a><ul>
<li><a class="reference internal" href="#id33">Improvements</a></li>
<li><a class="reference internal" href="#id34">Fixes</a></li>
<li><a class="reference internal" href="#id35">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-0-9-2019-10-30">Release 9.0.9 - 2019-10-30</a><ul>
<li><a class="reference internal" href="#id36">Improvements</a></li>
<li><a class="reference internal" href="#id37">Fixes</a></li>
<li><a class="reference internal" href="#id38">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-0-8-2019-09-27">Release 9.0.8 - 2019-09-27</a><ul>
<li><a class="reference internal" href="#id39">Improvements</a></li>
<li><a class="reference internal" href="#id40">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-0-7-2019-08-29">Release 9.0.7 - 2019-08-29</a><ul>
<li><a class="reference internal" href="#id41">Improvements</a></li>
<li><a class="reference internal" href="#id42">Fixes</a></li>
<li><a class="reference internal" href="#id43">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-0-6-2019-08-05">Release 9.0.6 - 2019-08-05</a><ul>
<li><a class="reference internal" href="#id44">Improvements</a></li>
<li><a class="reference internal" href="#id45">Fixes</a></li>
<li><a class="reference internal" href="#id46">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-0-5-2019-07-30">Release 9.0.5 - 2019-07-30</a><ul>
<li><a class="reference internal" href="#id47">Improvements</a></li>
<li><a class="reference internal" href="#id48">Fixes</a></li>
<li><a class="reference internal" href="#id49">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-0-4-2019-06-29">Release 9.0.4 - 2019-06-29</a><ul>
<li><a class="reference internal" href="#id50">Improvements</a></li>
<li><a class="reference internal" href="#id51">Fixes</a></li>
<li><a class="reference internal" href="#id52">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-0-3-2019-05-29">Release 9.0.3 - 2019-05-29</a><ul>
<li><a class="reference internal" href="#id53">Improvements</a></li>
<li><a class="reference internal" href="#id54">Fixes</a></li>
<li><a class="reference internal" href="#id55">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-0-2-2019-04-29">Release 9.0.2 - 2019-04-29</a><ul>
<li><a class="reference internal" href="#id56">Improvements</a></li>
<li><a class="reference internal" href="#id57">Fixes</a></li>
<li><a class="reference internal" href="#id58">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-0-1-2019-03-29">Release 9.0.1 - 2019-03-29</a><ul>
<li><a class="reference internal" href="#id59">Improvements</a></li>
<li><a class="reference internal" href="#id60">Fixes</a></li>
<li><a class="reference internal" href="#id61">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-9-0-0-2019-02-09">Release 9.0.0 - 2019-02-09</a><ul>
<li><a class="reference internal" href="#id62">Improvements</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-1-1-2019-01-29">Release 8.1.1 - 2019-01-29</a><ul>
<li><a class="reference internal" href="#id63">Improvements</a></li>
<li><a class="reference internal" href="#id64">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-1-0-2018-12-29">Release 8.1.0 - 2018-12-29</a><ul>
<li><a class="reference internal" href="#id65">Improvements</a></li>
<li><a class="reference internal" href="#id66">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-0-9-2018-11-29">Release 8.0.9 - 2018-11-29</a><ul>
<li><a class="reference internal" href="#id67">Improvements</a></li>
<li><a class="reference internal" href="#id68">Fixes</a></li>
<li><a class="reference internal" href="#id69">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-0-8-2018-10-29">Release 8.0.8 - 2018-10-29</a><ul>
<li><a class="reference internal" href="#id70">Improvements</a></li>
<li><a class="reference internal" href="#id71">Fixes</a></li>
<li><a class="reference internal" href="#id72">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-0-7-2018-09-29">Release 8.0.7 - 2018-09-29</a><ul>
<li><a class="reference internal" href="#id73">Improvements</a></li>
<li><a class="reference internal" href="#id74">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-0-6-2018-08-29">Release 8.0.6 - 2018-08-29</a><ul>
<li><a class="reference internal" href="#id75">Improvements</a></li>
<li><a class="reference internal" href="#id76">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-0-5-2018-07-29">Release 8.0.5 - 2018-07-29</a><ul>
<li><a class="reference internal" href="#id77">Improvements</a></li>
<li><a class="reference internal" href="#id78">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-0-4-2018-06-29">Release 8.0.4 - 2018-06-29</a><ul>
<li><a class="reference internal" href="#id79">Improvements</a></li>
<li><a class="reference internal" href="#id80">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-0-3-2018-05-29">Release 8.0.3 - 2018-05-29</a><ul>
<li><a class="reference internal" href="#id81">Improvements</a></li>
<li><a class="reference internal" href="#id82">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-0-2-2018-04-29">Release 8.0.2 - 2018-04-29</a><ul>
<li><a class="reference internal" href="#id83">Improvements</a></li>
<li><a class="reference internal" href="#id84">Fixes</a></li>
<li><a class="reference internal" href="#id85">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-0-1-2018-03-29">Release 8.0.1 - 2018-03-29</a><ul>
<li><a class="reference internal" href="#id86">Improvements</a></li>
<li><a class="reference internal" href="#id87">Fixes</a></li>
<li><a class="reference internal" href="#id88">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-8-0-0-2018-02-09">Release 8.0.0 - 2018-02-09</a><ul>
<li><a class="reference internal" href="#id89">Improvements</a></li>
<li><a class="reference internal" href="#id90">Fixes</a></li>
<li><a class="reference internal" href="#id91">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-1-1-2018-01-29">Release 7.1.1 - 2018-01-29</a><ul>
<li><a class="reference internal" href="#id92">Improvements</a></li>
<li><a class="reference internal" href="#id93">Fixes</a></li>
<li><a class="reference internal" href="#id94">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-1-0-2017-12-29">Release 7.1.0 - 2017-12-29</a><ul>
<li><a class="reference internal" href="#id95">Improvements</a></li>
<li><a class="reference internal" href="#id96">Fixes</a></li>
<li><a class="reference internal" href="#id97">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-0-9-2017-11-29">Release 7.0.9 - 2017-11-29</a><ul>
<li><a class="reference internal" href="#id98">Improvements</a></li>
<li><a class="reference internal" href="#id99">Fixes</a></li>
<li><a class="reference internal" href="#id100">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-0-8-2017-10-29">Release 7.0.8 - 2017-10-29</a><ul>
<li><a class="reference internal" href="#id101">Improvements</a></li>
<li><a class="reference internal" href="#id102">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-0-7-2017-09-29">Release 7.0.7 - 2017-09-29</a><ul>
<li><a class="reference internal" href="#id103">Improvements</a></li>
<li><a class="reference internal" href="#id104">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-0-6-2017-08-29">Release 7.0.6 - 2017-08-29</a><ul>
<li><a class="reference internal" href="#id105">Improvements</a></li>
<li><a class="reference internal" href="#id106">Fixes</a></li>
<li><a class="reference internal" href="#id107">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-0-5-2017-07-29">Release 7.0.5 - 2017-07-29</a><ul>
<li><a class="reference internal" href="#id108">Improvements</a></li>
<li><a class="reference internal" href="#id109">Fixes</a></li>
<li><a class="reference internal" href="#id110">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-0-4-2017-06-29">Release 7.0.4 - 2017-06-29</a><ul>
<li><a class="reference internal" href="#id111">Improvements</a></li>
<li><a class="reference internal" href="#id112">Fixes</a></li>
<li><a class="reference internal" href="#id113">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-0-3-2017-05-29">Release 7.0.3 - 2017-05-29</a><ul>
<li><a class="reference internal" href="#id114">Improvements</a></li>
<li><a class="reference internal" href="#id115">Fixes</a></li>
<li><a class="reference internal" href="#id116">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-0-2-2017-04-29">Release 7.0.2 - 2017-04-29</a><ul>
<li><a class="reference internal" href="#id117">Improvements</a></li>
<li><a class="reference internal" href="#id118">Fixes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-0-1-2017-03-29">Release 7.0.1 - 2017-03-29</a><ul>
<li><a class="reference internal" href="#id119">Improvements</a></li>
<li><a class="reference internal" href="#id120">Fixes</a></li>
<li><a class="reference internal" href="#id121">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#release-7-0-0-2017-02-09">Release 7.0.0 - 2017-02-09</a><ul>
<li><a class="reference internal" href="#id122">Improvements</a></li>
<li><a class="reference internal" href="#id123">Fixes</a></li>
<li><a class="reference internal" href="#id124">Thanks</a></li>
</ul>
</li>
<li><a class="reference internal" href="#the-old-releases">The old releases</a></li>
</ul>
</li>
</ul>

<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" />
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script>$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="nav-item nav-item-0"><a href="index.html">Groonga v10.1.1-31-g1e46ba6 documentation</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">News</a></li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2009-2021, Brazil, Inc.
    </div>
  </body>
</html>