Debian Codegraph @

doc/locale/en/html/news/14.html

raw symbols SCIP
1
2 <!DOCTYPE html>
3
4
5 <html lang="en" data-content_root="../" >
6
7 <head>
8 <meta charset="utf-8" />
9 <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
10
11 <title>News - 14 series &#8212; Groonga v16.0.5 documentation</title>
12
13
14
15 <script data-cfasync="false">
16 document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
17 document.documentElement.dataset.theme = localStorage.getItem("theme") || "";
18 </script>
19 <!--
20 this give us a css class that will be invisible only if js is disabled
21 -->
22 <noscript>
23 <style>
24 .pst-js-only { display: none !important; }
25
26 </style>
27 </noscript>
28
29 <!-- Loaded before other Sphinx assets -->
30 <link href="../_static/styles/theme.css?digest=0790524f97105ba85085" rel="stylesheet" />
31 <link href="../_static/styles/pydata-sphinx-theme.css?digest=0790524f97105ba85085" rel="stylesheet" />
32
33 <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=8f2a1f02" />
34
35 <!-- So that users can add custom icons -->
36 <script defer src="../_static/scripts/fontawesome.js?digest=0790524f97105ba85085"></script>
37 <!-- Pre-loaded scripts that we'll load fully later -->
38 <link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=0790524f97105ba85085" />
39 <link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=0790524f97105ba85085" />
40
41 <script src="../_static/documentation_options.js?v=f71944bc"></script>
42 <script src="../_static/doctools.js?v=fd6eb6e6"></script>
43 <script src="../_static/sphinx_highlight.js?v=6ffebe34"></script>
44 <script async="async" src="https://www.googletagmanager.com/gtag/js?id=UA-7532323-1"></script>
45 <script>
46 window.dataLayer = window.dataLayer || [];
47 function gtag(){ dataLayer.push(arguments); }
48 gtag('consent', 'default', {
49 'ad_storage': 'denied',
50 'ad_user_data': 'denied',
51 'ad_personalization': 'denied',
52 'analytics_storage': 'denied'
53 });
54 gtag('js', new Date());
55 gtag('config', 'UA-7532323-1');
56 </script>
57 <script>DOCUMENTATION_OPTIONS.pagename = 'news/14';</script>
58 <script>
59 DOCUMENTATION_OPTIONS.theme_version = '0.18.0';
60 DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://groonga.org/docs/_static/switcher.json';
61 DOCUMENTATION_OPTIONS.theme_switcher_version_match = 'english';
62 DOCUMENTATION_OPTIONS.show_version_warning_banner =
63 false;
64 </script>
65 <script>DOCUMENTATION_OPTIONS.search_as_you_type = false;</script>
66 <link rel="icon" href="../_static/favicon.ico"/>
67 <link rel="index" title="Index" href="../genindex.html" />
68 <link rel="search" title="Search" href="../search.html" />
69 <meta name="viewport" content="width=device-width, initial-scale=1"/>
70 <meta name="docsearch:language" content="en"/>
71 <meta name="docsearch:version" content="16.0.5" />
72
73
74 <script src="../_static/searchtools.js"></script>
75 <script src="../_static/language_data.js"></script>
76 <script src="../searchindex.js"></script>
77
78 </head>
79 <body data-default-mode="">
80
81
82 <div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">Skip to main content</a></div>
83
84
85 <div id="pst-scroll-pixel-helper"></div>
86
87 <button type="button" class="btn rounded-pill" id="pst-back-to-top">
88 <i class="fa-solid fa-arrow-up"></i>Back to top</button>
89
90
91
92
93 <dialog id="pst-search-dialog">
94
95 <form class="bd-search d-flex align-items-center"
96 action="../search.html"
97 method="get">
98 <i class="fa-solid fa-magnifying-glass"></i>
99 <input type="search"
100 class="form-control"
101 name="q"
102 placeholder="Search the docs ..."
103 aria-label="Search the docs ..."
104 autocomplete="off"
105 autocorrect="off"
106 autocapitalize="off"
107 spellcheck="false"/>
108 <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
109 </form>
110 </dialog>
111
112 <div class="pst-async-banner-revealer d-none">
113 <aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
114 </div>
115
116
117 <header id="pst-header" class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">
118 <div class="bd-header__inner bd-page-width">
119 <button class="pst-navbar-icon sidebar-toggle primary-toggle" aria-label="Site navigation">
120 <span class="fa-solid fa-bars"></span>
121 </button>
122
123
124 <div class="col-lg-3 navbar-header-items__start">
125
126 <div class="navbar-item">
127
128
129
130
131
132 <a class="navbar-brand logo" href="https://groonga.org/">
133
134
135
136
137
138
139
140
141
142
143 <img src="../_static/groonga.png" class="logo__image only-light" alt="Groonga v16.0.5 documentation - Home"/>
144 <img src="../_static/groonga.png" class="logo__image only-dark pst-js-only" alt="Groonga v16.0.5 documentation - Home"/>
145
146
147 </a></div>
148
149 </div>
150
151 <div class="col-lg-9 navbar-header-items">
152
153
154 <div class="navbar-header-items__end">
155
156 <div class="navbar-item navbar-persistent--container">
157
158
159 <button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
160 <i class="fa-solid fa-magnifying-glass"></i>
161 <span class="search-button__default-text">Search</span>
162 <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
163 </button>
164 </div>
165
166
167 <div class="navbar-item">
168
169 <div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode">
170 <button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown">
171 <i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="Light"></i>
172 <i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="Dark"></i>
173 <i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i>
174 </button>
175 <ul class="dropdown-menu dropdown-menu-end">
176 <li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="auto"><i class="fa-solid fa-circle-half-stroke fa-lg fa-fw me-1"></i>System Settings</button></li>
177 <li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="light"><i class="fa-solid fa-sun fa-lg fa-fw me-1"></i>Light</button></li>
178 <li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="dark"><i class="fa-solid fa-moon fa-lg fa-fw me-1"></i>Dark</button></li>
179 </ul>
180 </div></div>
181
182 <div class="navbar-item"><ul class="navbar-icon-links"
183 aria-label="Icon Links">
184 <li class="nav-item">
185
186
187
188
189
190
191
192
193 <a href="https://github.com/groonga/groonga" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i><span class="visually-hidden">GitHub</span></a>
194 </li>
195 <li class="nav-item">
196
197
198
199
200
201
202
203
204 <a href="https://twitter.com/groonga" title="Twitter" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-twitter fa-lg" aria-hidden="true"></i><span class="visually-hidden">Twitter</span></a>
205 </li>
206 <li class="nav-item">
207
208
209
210
211
212
213
214
215 <a href="/blog" title="Blog" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fas fa-blog fa-lg" aria-hidden="true"></i><span class="visually-hidden">Blog</span></a>
216 </li>
217 </ul></div>
218
219 <div class="navbar-item">
220 <div class="version-switcher__container dropdown pst-js-only">
221 <button id="pst-version-switcher-button-2"
222 type="button"
223 class="version-switcher__button btn btn-sm dropdown-toggle"
224 data-bs-toggle="dropdown"
225 aria-haspopup="listbox"
226 aria-controls="pst-version-switcher-list-2"
227 aria-label="Version switcher list"
228 >
229 Choose version <!-- this text may get changed later by javascript -->
230 <span class="caret"></span>
231 </button>
232 <div id="pst-version-switcher-list-2"
233 class="version-switcher__menu dropdown-menu list-group-flush py-0"
234 role="listbox" aria-labelledby="pst-version-switcher-button-2">
235 <!-- dropdown will be populated by javascript on page load -->
236 </div>
237 </div></div>
238
239 </div>
240
241 </div>
242
243
244 <div class="navbar-persistent--mobile">
245
246 <button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
247 <i class="fa-solid fa-magnifying-glass"></i>
248 <span class="search-button__default-text">Search</span>
249 <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
250 </button>
251 </div>
252
253
254
255 <button class="pst-navbar-icon sidebar-toggle secondary-toggle" aria-label="On this page">
256 <span class="fa-solid fa-outdent"></span>
257 </button>
258
259 </div>
260
261 </header>
262
263
264 <div class="bd-container">
265 <div class="bd-container__inner bd-page-width">
266
267
268
269 <dialog id="pst-primary-sidebar-modal"></dialog>
270 <div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar">
271
272
273
274 <div class="sidebar-header-items sidebar-primary__section">
275
276
277
278
279 <div class="sidebar-header-items__end">
280
281 <div class="navbar-item">
282
283 <div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode">
284 <button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown">
285 <i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="Light"></i>
286 <i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="Dark"></i>
287 <i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i>
288 </button>
289 <ul class="dropdown-menu dropdown-menu-end">
290 <li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="auto"><i class="fa-solid fa-circle-half-stroke fa-lg fa-fw me-1"></i>System Settings</button></li>
291 <li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="light"><i class="fa-solid fa-sun fa-lg fa-fw me-1"></i>Light</button></li>
292 <li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="dark"><i class="fa-solid fa-moon fa-lg fa-fw me-1"></i>Dark</button></li>
293 </ul>
294 </div></div>
295
296 <div class="navbar-item"><ul class="navbar-icon-links"
297 aria-label="Icon Links">
298 <li class="nav-item">
299
300
301
302
303
304
305
306
307 <a href="https://github.com/groonga/groonga" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i><span class="visually-hidden">GitHub</span></a>
308 </li>
309 <li class="nav-item">
310
311
312
313
314
315
316
317
318 <a href="https://twitter.com/groonga" title="Twitter" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-twitter fa-lg" aria-hidden="true"></i><span class="visually-hidden">Twitter</span></a>
319 </li>
320 <li class="nav-item">
321
322
323
324
325
326
327
328
329 <a href="/blog" title="Blog" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fas fa-blog fa-lg" aria-hidden="true"></i><span class="visually-hidden">Blog</span></a>
330 </li>
331 </ul></div>
332
333 <div class="navbar-item">
334 <div class="version-switcher__container dropdown pst-js-only">
335 <button id="pst-version-switcher-button-3"
336 type="button"
337 class="version-switcher__button btn btn-sm dropdown-toggle"
338 data-bs-toggle="dropdown"
339 aria-haspopup="listbox"
340 aria-controls="pst-version-switcher-list-3"
341 aria-label="Version switcher list"
342 >
343 Choose version <!-- this text may get changed later by javascript -->
344 <span class="caret"></span>
345 </button>
346 <div id="pst-version-switcher-list-3"
347 class="version-switcher__menu dropdown-menu list-group-flush py-0"
348 role="listbox" aria-labelledby="pst-version-switcher-button-3">
349 <!-- dropdown will be populated by javascript on page load -->
350 </div>
351 </div></div>
352
353 </div>
354
355 </div>
356
357 <div class="sidebar-primary-items__start sidebar-primary__section">
358 <div class="sidebar-primary-item pst-sidebar-collapse"><button id="pst-collapse-sidebar-button" aria-expanded="true" aria-controls="pst-primary-sidebar"><svg class="pst-icon svg-inline--fa" role="img" aria-hidden="true" focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
359 <path fill="currentColor" d="M3 15.5C2.36232 15.5 1.74874 15.2564 1.28478 14.8189C0.820828 14.3815 0.541576 13.7832 0.504167 13.1467L0.5 13L0.5 3C0.499965 2.36232 0.743605 1.74874 1.18107 1.28478C1.61854 0.820828 2.21676 0.541576 2.85333 0.504167L3 0.5L13 0.5C13.6377 0.499965 14.2513 0.743605 14.7152 1.18107C15.1792 1.61854 15.4584 2.21676 15.4958 2.85333L15.5 3L15.5 13C15.5 13.6377 15.2564 14.2513 14.8189 14.7152C14.3815 15.1792 13.7832 15.4584 13.1467 15.4958L13 15.5L3 15.5ZM3 13.8333L10.5 13.8333L10.5 2.16667L3 2.16667C2.79589 2.16669 2.59889 2.24163 2.44636 2.37726C2.29383 2.5129 2.19638 2.69979 2.1725 2.9025L2.16667 3L2.16667 13C2.16669 13.2041 2.24163 13.4011 2.37726 13.5536C2.5129 13.7062 2.69979 13.8036 2.9025 13.8275L3 13.8333ZM6.65583 10.325L6.5775 10.2558L4.91083 8.58917C4.76735 8.44567 4.68116 8.25476 4.66843 8.05223C4.65569 7.84971 4.71729 7.6495 4.84167 7.48917L4.91083 7.41083L6.5775 5.74417C6.72747 5.59471 6.9287 5.50794 7.14032 5.50148C7.35194 5.49502 7.55809 5.56935 7.7169 5.70937C7.8757 5.8494 7.97525 6.04463 7.99533 6.25539C8.01541 6.46616 7.95451 6.67667 7.825 6.84417L7.75583 6.9225L6.67917 8L7.75583 9.0775C7.89931 9.22099 7.98551 9.41191 7.99824 9.61443C8.01097 9.81695 7.94938 10.0172 7.825 10.1775L7.75583 10.2558C7.61234 10.3993 7.42142 10.4855 7.2189 10.4982C7.01638 10.511 6.81617 10.4494 6.65583 10.325Z"/>
360 </svg>
361 <span class="pst-collapse-sidebar-label">Collapse Sidebar</span>
362 <span class="pst-expand-sidebar-label">Expand Sidebar</span>
363 </button></div>
364 <div class="sidebar-primary-item">
365
366 <nav class="bd-docs-nav bd-links"
367 aria-label="Section Navigation">
368 <p class="bd-links__title" role="heading" aria-level="1">Section Navigation</p>
369 <div class="bd-toc-item navbar-nav"></div>
370 </nav></div>
371 </div>
372
373
374 <div class="sidebar-primary-items__end sidebar-primary__section">
375 <div class="sidebar-primary-item">
376 <div id="ethical-ad-placement"
377 class="flat"
378 data-ea-publisher="readthedocs"
379 data-ea-type="readthedocs-sidebar"
380 data-ea-manual="true">
381 </div></div>
382 </div>
383
384
385 </div>
386
387 <main id="main-content" class="bd-main" role="main">
388
389
390 <div class="bd-content">
391 <div class="bd-article-container">
392
393 <div class="bd-header-article d-print-none">
394 <div class="header-article-items header-article__inner">
395
396 <div class="header-article-items__start">
397
398 <div class="header-article-item">
399
400 <nav aria-label="Breadcrumb" class="d-print-none">
401 <ul class="bd-breadcrumbs">
402
403 <li class="breadcrumb-item breadcrumb-home">
404 <a href="../index.html" class="nav-link" aria-label="Home">
405 <i class="fa-solid fa-home"></i>
406 </a>
407 </li>
408 <li class="breadcrumb-item active" aria-current="page"><span class="ellipsis">News - 14 series</span></li>
409 </ul>
410 </nav>
411 </div>
412
413 </div>
414
415
416 </div>
417 </div>
418
419
420
421
422 <div id="searchbox"></div>
423 <article class="bd-article">
424
425 <section class="tex2jax_ignore mathjax_ignore" id="news-14-series">
426 <h1>News - 14 series<a class="headerlink" href="#news-14-series" title="Link to this heading">#</a></h1>
427 <section id="release-14-1-3-2025-01-29">
428 <span id="release-14-1-3"></span><h2>Release 14.1.3 - 2025-01-29<a class="headerlink" href="#release-14-1-3-2025-01-29" title="Link to this heading">#</a></h2>
429 <section id="improvements">
430 <h3>Improvements<a class="headerlink" href="#improvements" title="Link to this heading">#</a></h3>
431 <section id="offline-index-construction-added-support-for-parallel-execution">
432 <h4><a class="reference internal" href="../reference/indexing.html#offline-index-construction"><span class="std std-ref">Offline index construction</span></a>: Added support for parallel execution<a class="headerlink" href="#offline-index-construction-added-support-for-parallel-execution" title="Link to this heading">#</a></h4>
433 <p>If you have many CPU cores, you can improve
434 <a class="reference internal" href="../reference/indexing.html#offline-index-construction"><span class="std std-ref">Offline index construction</span></a> performance. You can use it by
435 <code class="docutils literal notranslate"><span class="pre">column_create</span> <span class="pre">...</span> <span class="pre">COLUMN_INDEX</span> <span class="pre">...</span> <span class="pre">--n_workers</span> <span class="pre">-1</span></code>.</p>
436 <p>In general, <a class="reference internal" href="../reference/indexing.html#offline-index-construction"><span class="std std-ref">Offline index construction</span></a> will be 2-10x faster by
437 this.</p>
438 </section>
439 <section id="reference-functions-language-model-vectorize-added-support-for-phi-4">
440 <h4><a class="reference internal" href="../reference/functions/language_model_vectorize.html"><span class="doc">language_model_vectorize</span></a>: Added support for Phi-4<a class="headerlink" href="#reference-functions-language-model-vectorize-added-support-for-phi-4" title="Link to this heading">#</a></h4>
441 <p>You can use <a class="reference external" href="https://huggingface.co/microsoft/phi-4">Phi-4</a> as a
442 language model. Note that Phi-4 isn’t designing for generating
443 embeddings.</p>
444 </section>
445 <section id="added-reference-normalizers-normalizer-nfkc">
446 <h4>Added <a class="reference internal" href="../reference/normalizers/normalizer_nfkc.html"><span class="doc">NormalizerNFKC</span></a><a class="headerlink" href="#added-reference-normalizers-normalizer-nfkc" title="Link to this heading">#</a></h4>
447 <p>It’s similar to existing <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC*</span></code> such as
448 <a class="reference internal" href="../reference/normalizers/normalizer_nfkc150.html"><span class="doc">NormalizerNFKC150</span></a>. But it’s more
449 generic than <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC*</span></code>.</p>
450 <p><a class="reference internal" href="../reference/normalizers/normalizer_nfkc.html"><span class="doc">NormalizerNFKC</span></a> accepts <a class="reference internal" href="../reference/normalizers/normalizer_nfkc.html#normalizer-nfkc-version"><span class="std std-ref">version</span></a> argument to change used Unicode
451 version. For example, <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC(&quot;version&quot;,</span> <span class="pre">&quot;15.0.0&quot;)</span></code> equals to
452 <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC150</span></code>.</p>
453 <p><code class="docutils literal notranslate"><span class="pre">NormalizerNFKC*</span></code> are deprecated by <a class="reference internal" href="../reference/normalizers/normalizer_nfkc.html"><span class="doc">NormalizerNFKC</span></a>. You should use
454 <a class="reference internal" href="../reference/normalizers/normalizer_nfkc.html"><span class="doc">NormalizerNFKC</span></a> for newly written applications.</p>
455 <p><a class="reference internal" href="../reference/normalizers/normalizer_nfkc.html"><span class="doc">NormalizerNFKC</span></a> uses Unicode 16.0.0 by default.</p>
456 </section>
457 <section id="added-reference-token-filters-token-filter-nfkc">
458 <h4>Added <a class="reference internal" href="../reference/token_filters/token_filter_nfkc.html"><span class="doc">TokenFilterNFKC</span></a><a class="headerlink" href="#added-reference-token-filters-token-filter-nfkc" title="Link to this heading">#</a></h4>
459 <p>It’s similar to existing <code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC*</span></code> such as
460 <a class="reference internal" href="../reference/token_filters/token_filter_nfkc150.html"><span class="doc">TokenFilterNFKC150</span></a>. But it’s based
461 on <a class="reference internal" href="../reference/normalizers/normalizer_nfkc.html"><span class="doc">NormalizerNFKC</span></a>. So you can specify Unicode version as <a class="reference internal" href="../reference/normalizers/normalizer_nfkc.html#normalizer-nfkc-version"><span class="std std-ref">version</span></a>.</p>
462 <p><code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC*</span></code> are deprecated by <a class="reference internal" href="../reference/token_filters/token_filter_nfkc.html"><span class="doc">TokenFilterNFKC</span></a>. You should use
463 <a class="reference internal" href="../reference/token_filters/token_filter_nfkc.html"><span class="doc">TokenFilterNFKC</span></a> for newly written applications.</p>
464 <p><a class="reference internal" href="../reference/token_filters/token_filter_nfkc.html"><span class="doc">TokenFilterNFKC</span></a> uses Unicode 16.0.0 by default.</p>
465 </section>
466 <section id="install-amazon-linux-added-support-for-amazon-linux-2023-aarch64">
467 <h4><a class="reference internal" href="../install/amazon_linux.html"><span class="doc">Amazon Linux</span></a>: Added support for Amazon Linux 2023 aarch64<a class="headerlink" href="#install-amazon-linux-added-support-for-amazon-linux-2023-aarch64" title="Link to this heading">#</a></h4>
468 <p>See <a class="reference internal" href="../install/amazon_linux.html"><span class="doc">Amazon Linux</span></a> how to install.</p>
469 </section>
470 <section id="reference-commands-index-column-diff-added-support-for-changing-log-level-for-progress-logs">
471 <h4><a class="reference internal" href="../reference/commands/index_column_diff.html"><span class="doc">index_column_diff</span></a>: Added support for changing log level for progress logs<a class="headerlink" href="#reference-commands-index-column-diff-added-support-for-changing-log-level-for-progress-logs" title="Link to this heading">#</a></h4>
472 <p>It’s useful to see only progress logs without other debug logs.</p>
473 <p>See <a class="reference internal" href="../reference/commands/index_column_diff.html#index-column-diff-progress-log-level"><span class="std std-ref">progress_log_level</span></a> for details.</p>
474 </section>
475 </section>
476 <section id="fixes">
477 <h3>Fixes<a class="headerlink" href="#fixes" title="Link to this heading">#</a></h3>
478 <section id="fixed-a-bug-that-deb-rpm-packages-can-t-be-used-on-machines-that-don-t-have-avx">
479 <h4>Fixed a bug that deb/rpm packages can’t be used on machines that don’t have AVX<a class="headerlink" href="#fixed-a-bug-that-deb-rpm-packages-can-t-be-used-on-machines-that-don-t-have-avx" title="Link to this heading">#</a></h4>
480 <p>pgroonga/pgroonga#642</p>
481 <p>Groonga uses llama.cpp to use language models. llama.cpp uses SIMD for
482 fast processing.</p>
483 <p>We defer llama.cpp initialization that needs SIMD. So you can use
484 Groonga on machines that don’t have AVX if you don’t use language
485 model related features such as
486 <a class="reference internal" href="../reference/functions/language_model_vectorize.html"><span class="doc">language_model_vectorize</span></a>.</p>
487 <p>Reported by Yuki Shira.</p>
488 </section>
489 <section id="table-pat-key-fixed-a-bug-that-existing-key-may-be-broken-after-reference-commands-defrag">
490 <h4><a class="reference internal" href="../reference/tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a>: Fixed a bug that existing key may be broken after <a class="reference internal" href="../reference/commands/defrag.html"><span class="doc">defrag</span></a><a class="headerlink" href="#table-pat-key-fixed-a-bug-that-existing-key-may-be-broken-after-reference-commands-defrag" title="Link to this heading">#</a></h4>
491 <p>If you have some garbage nodes in <a class="reference internal" href="../reference/tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> and
492 <a class="reference internal" href="../reference/commands/defrag.html"><span class="doc">defrag</span></a> it, new added keys to the
493 <a class="reference internal" href="../reference/tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> might override existing keys.</p>
494 <p>This bug exists since <a class="reference internal" href="#release-14-1-1"><span class="std std-ref">Release 14.1.1 - 2024-12-03</span></a>.</p>
495 </section>
496 <section id="table-pat-key-fixed-a-bug-that-some-wals-are-missing-for-reference-commands-defrag">
497 <h4><a class="reference internal" href="../reference/tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a>: Fixed a bug that some WALs are missing for <a class="reference internal" href="../reference/commands/defrag.html"><span class="doc">defrag</span></a><a class="headerlink" href="#table-pat-key-fixed-a-bug-that-some-wals-are-missing-for-reference-commands-defrag" title="Link to this heading">#</a></h4>
498 <p>This release added some missing WALs on
499 <a class="reference internal" href="../reference/commands/defrag.html"><span class="doc">defrag</span></a>. If some WALs are missing, we may
500 not be able to recover a crash in <a class="reference internal" href="../reference/commands/defrag.html"><span class="doc">defrag</span></a>.</p>
501 </section>
502 <section id="reference-commands-defrag-fixed-a-bug-that-columns-of-table-pat-key-aren-t-processed">
503 <h4><a class="reference internal" href="../reference/commands/defrag.html"><span class="doc">defrag</span></a>: Fixed a bug that columns of <a class="reference internal" href="../reference/tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> aren’t processed<a class="headerlink" href="#reference-commands-defrag-fixed-a-bug-that-columns-of-table-pat-key-aren-t-processed" title="Link to this heading">#</a></h4>
504 <p><a class="reference external" href="https://github.com/groonga/groonga/issues/2168">GH-2168</a></p>
505 <p><code class="docutils literal notranslate"><span class="pre">defrag</span> <span class="pre">pat</span></code> should process <code class="docutils literal notranslate"><span class="pre">pat</span></code> and its columns. But it processes
506 only <code class="docutils literal notranslate"><span class="pre">pat</span></code> since <a class="reference internal" href="#release-14-1-1"><span class="std std-ref">Release 14.1.1 - 2024-12-03</span></a>. It’s a regression bug.</p>
507 </section>
508 <section id="reference-columns-index-fixed-an-offline-index-construction-bug">
509 <h4><a class="reference internal" href="../reference/columns/index.html"><span class="doc">Index column</span></a>: Fixed an <a class="reference internal" href="../reference/indexing.html#offline-index-construction"><span class="std std-ref">Offline index construction</span></a> bug<a class="headerlink" href="#reference-columns-index-fixed-an-offline-index-construction-bug" title="Link to this heading">#</a></h4>
510 <p>It happened when:</p>
511 <ul class="simple">
512 <li><p>Source is a <a class="reference internal" href="../reference/columns/vector.html#reference-vector-column"><span class="std std-ref">Reference vector column</span></a></p></li>
513 <li><p>Source has a <code class="docutils literal notranslate"><span class="pre">GRN_ID_NIL</span></code> element (an element that refers nothing)
514 between <code class="docutils literal notranslate"><span class="pre">1..-2</span></code> position</p></li>
515 <li><p>Index column has <code class="docutils literal notranslate"><span class="pre">WITH_POSITION</span></code> flag</p></li>
516 </ul>
517 <p>Offline index construction always uses wrong position for elements
518 after the <code class="docutils literal notranslate"><span class="pre">GRN_ID_NIL</span></code> element.</p>
519 <p>Offline index construction may use wrong index key. It depends on an
520 uninitialized memory.</p>
521 </section>
522 <section id="table-hash-key-fixed-a-bug-that-garbage-entry-may-not-be-reused">
523 <h4><a class="reference internal" href="../reference/tables.html#table-hash-key"><span class="std std-ref">TABLE_HASH_KEY</span></a>: Fixed a bug that garbage entry may not be reused<a class="headerlink" href="#table-hash-key-fixed-a-bug-that-garbage-entry-may-not-be-reused" title="Link to this heading">#</a></h4>
524 <p>It happened when a <a class="reference internal" href="../reference/tables.html#table-hash-key"><span class="std std-ref">TABLE_HASH_KEY</span></a> is rehashed with
525 garbage. Garbage is increased by deleting records.</p>
526 <p>If rehash is done with garbage, the garbage is never reused after the
527 rehash. A <a class="reference internal" href="../reference/tables.html#table-hash-key"><span class="std std-ref">TABLE_HASH_KEY</span></a> may large even when it has only a few
528 valid records.</p>
529 <p>This bug exists since <a class="reference internal" href="10.html#release-10-1-1"><span class="std std-ref">Release 10.1.1 - 2021-01-25</span></a>.</p>
530 </section>
531 </section>
532 <section id="thanks">
533 <h3>Thanks<a class="headerlink" href="#thanks" title="Link to this heading">#</a></h3>
534 <ul class="simple">
535 <li><p>Yuki Shira</p></li>
536 </ul>
537 </section>
538 </section>
539 <section id="release-14-1-2-2024-12-24">
540 <span id="release-14-1-2"></span><h2>Release 14.1.2 - 2024-12-24<a class="headerlink" href="#release-14-1-2-2024-12-24" title="Link to this heading">#</a></h2>
541 <section id="id1">
542 <h3>Improvements<a class="headerlink" href="#id1" title="Link to this heading">#</a></h3>
543 <section id="relicensed-to-lgpl-2-1-or-later-from-lgpl-2-1-only">
544 <h4>Relicensed to LGPL-2.1-or-later from LGPL-2.1-only<a class="headerlink" href="#relicensed-to-lgpl-2-1-or-later-from-lgpl-2-1-only" title="Link to this heading">#</a></h4>
545 <p><a class="reference external" href="https://github.com/groonga/groonga/issues/1774">GH-1774</a></p>
546 <p>It improves GPL 3 or later compatibility.</p>
547 </section>
548 <section id="reference-commands-delete-added-support-for-reference-weight-vector">
549 <h4><a class="reference internal" href="../reference/commands/delete.html"><span class="doc">delete</span></a>: Added support for reference weight vector<a class="headerlink" href="#reference-commands-delete-added-support-for-reference-weight-vector" title="Link to this heading">#</a></h4>
550 <p>If a reference column is indexed, <code class="docutils literal notranslate"><span class="pre">delete</span></code> can also delete the deleted
551 reference value from the reference column. It works for a reference
552 vector column but didn’t work for a reference “weight” vector column.</p>
553 <p>With this release, this also works for a reference “weight” vector
554 column.</p>
555 </section>
556 </section>
557 <section id="id2">
558 <h3>Fixes<a class="headerlink" href="#id2" title="Link to this heading">#</a></h3>
559 <section id="reference-columns-vector-fixed-a-bug-that-needed-cast-may-not-be-done">
560 <h4><a class="reference internal" href="../reference/columns/vector.html"><span class="doc">Vector column</span></a>: Fixed a bug that needed cast may not be done<a class="headerlink" href="#reference-columns-vector-fixed-a-bug-that-needed-cast-may-not-be-done" title="Link to this heading">#</a></h4>
561 <p>Groonga casts a value automatically when it’s needed.</p>
562 <p>If a reference vector column uses 32-bit floating number weight and a
563 new value is a no weight reference vector, Groonga must cast the new
564 value. But it was not done.</p>
565 </section>
566 </section>
567 </section>
568 <section id="release-14-1-1-2024-12-03">
569 <span id="release-14-1-1"></span><h2>Release 14.1.1 - 2024-12-03<a class="headerlink" href="#release-14-1-1-2024-12-03" title="Link to this heading">#</a></h2>
570 <section id="id3">
571 <h3>Improvements<a class="headerlink" href="#id3" title="Link to this heading">#</a></h3>
572 <section id="stopped-vendoring-rapidjson">
573 <h4>Stopped vendoring RapidJSON<a class="headerlink" href="#stopped-vendoring-rapidjson" title="Link to this heading">#</a></h4>
574 <p><a class="reference external" href="https://github.com/groonga/groonga/issues/1462">GH-1462</a></p>
575 <p>We added support for simdjson in 14.0.7. We don’t need to vendor RapidJSON anymore. RapidJSON has a file that uses the JSON license. It’s not a free software license / open source license. So we wanted to unvendor RapidJSON.</p>
576 <p>Note that RapidJSON is still supported. You can still use RapidJSON by installing RapidJSON separately. But we recommend that you use simdjson not RapidJSON.</p>
577 </section>
578 <section id="made-llama-cpp-initialization-lazy">
579 <h4>Made llama.cpp initialization lazy<a class="headerlink" href="#made-llama-cpp-initialization-lazy" title="Link to this heading">#</a></h4>
580 <p><a class="reference external" href="https://github.com/groonga/groonga/issues/2078">GH-2078</a></p>
581 <p>llama.cpp requires recent SIMD features. If we always initialize llama.cpp, users who use old CPU and don’t use llama.cpp related features can’t use the official Groonga packages. So we made llama.cpp initialization lazy. Users who use llama.cpp related features still need recent CPU but users who don’t use llama.cpp related features can use old CPU as usual.</p>
582 </section>
583 <section id="normalizernfkc-added-support-for-mixing-unify-middle-dot-and-remove-symbol">
584 <h4><code class="docutils literal notranslate"><span class="pre">NormalizerNFKC</span></code>: Added support for mixing <code class="docutils literal notranslate"><span class="pre">unify_middle_dot</span></code> and <code class="docutils literal notranslate"><span class="pre">remove_symbol</span></code><a class="headerlink" href="#normalizernfkc-added-support-for-mixing-unify-middle-dot-and-remove-symbol" title="Link to this heading">#</a></h4>
585 <p><a class="reference external" href="https://github.com/groonga/groonga/issues/1538">GH-1538</a></p>
586 <p><code class="docutils literal notranslate"><span class="pre">NormalizerNFKC</span></code> family normalizers such as <a class="reference internal" href="../reference/normalizers/normalizer_nfkc150.html"><span class="doc">NormalizerNFKC150</span></a> can mix <a class="reference internal" href="../reference/normalizers/normalizer_nfkc150.html#normalizer-nfkc150-unify-middle-dot"><span class="std std-ref">unify_middle_dot</span></a> and <a class="reference internal" href="../reference/normalizers/normalizer_nfkc150.html#normalizer-nfkc150-remove-symbol"><span class="std std-ref">remove_symbol</span></a> options.</p>
587 </section>
588 <section id="reference-commands-defrag-added-support-for-table-pat-key">
589 <h4><a class="reference internal" href="../reference/commands/defrag.html"><span class="doc">defrag</span></a>: Added support for <a class="reference internal" href="../reference/tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a><a class="headerlink" href="#reference-commands-defrag-added-support-for-table-pat-key" title="Link to this heading">#</a></h4>
590 <p>A <a class="reference internal" href="../reference/tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a> table couldn’t reuse spaces that are used by removed keys. They’re still not be reusable automatically, but we can reuse them by executing <a class="reference internal" href="../reference/commands/defrag.html"><span class="doc">defrag</span></a> explicitly since this release.</p>
591 </section>
592 <section id="reference-commands-load-improved-error-handling">
593 <h4><a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a>: Improved error handling<a class="headerlink" href="#reference-commands-load-improved-error-handling" title="Link to this heading">#</a></h4>
594 <p>If there are any critical errors in <a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a>, we will not wait for more data. Clients may stop sending more data in the case.</p>
595 </section>
596 <section id="reference-executables-groonga-added-context-id-log-flag">
597 <h4><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">context_id</span></code> log flag<a class="headerlink" href="#reference-executables-groonga-added-context-id-log-flag" title="Link to this heading">#</a></h4>
598 <p>It’s useful when you use <a class="reference internal" href="../reference/log.html#query-log"><span class="std std-ref">Query log</span></a> too. In <a class="reference internal" href="../reference/log.html#query-log"><span class="std std-ref">Query log</span></a>, the context ID is recorded. If we have the context ID in <a class="reference internal" href="../reference/log.html#process-log"><span class="std std-ref">Process log</span></a> and <a class="reference internal" href="../reference/log.html#query-log"><span class="std std-ref">Query log</span></a>, we can associate these logs easily.</p>
599 </section>
600 <section id="reference-executables-groonga-improved-error-handling">
601 <h4><a class="reference internal" href="../reference/executables/groonga.html"><span class="doc">groonga executable file</span></a>: Improved error handling<a class="headerlink" href="#reference-executables-groonga-improved-error-handling" title="Link to this heading">#</a></h4>
602 <p><a class="reference internal" href="../reference/command/request_timeout.html"><span class="doc">Request timeout</span></a> uses lock internally. It may be failed in some cases. We added some error checks for the case.</p>
603 </section>
604 <section id="table-pat-key-improved-key-space-efficiency">
605 <h4><a class="reference internal" href="../reference/tables.html#table-pat-key"><span class="std std-ref">TABLE_PAT_KEY</span></a>: Improved key space efficiency<a class="headerlink" href="#table-pat-key-improved-key-space-efficiency" title="Link to this heading">#</a></h4>
606 <p><a class="reference external" href="https://github.com/groonga/groonga/issues/2104">GH-2104</a></p>
607 <p>There was a case that wastes key space. Now, we can use key space as efficiently as possible.</p>
608 </section>
609 </section>
610 <section id="id4">
611 <h3>Fixes<a class="headerlink" href="#id4" title="Link to this heading">#</a></h3>
612 <section id="grn-pat-size-fixed-a-bug-that-0-may-not-be-returned-on-error">
613 <h4><code class="docutils literal notranslate"><span class="pre">grn_pat_size()</span></code>: Fixed a bug that <code class="docutils literal notranslate"><span class="pre">0</span></code> may not be returned on error<a class="headerlink" href="#grn-pat-size-fixed-a-bug-that-0-may-not-be-returned-on-error" title="Link to this heading">#</a></h4>
614 <p><a class="reference external" href="https://github.com/groonga/groonga/issues/2097">GH-2097</a></p>
615 <p>If the given <code class="docutils literal notranslate"><span class="pre">pat</span></code> is <code class="docutils literal notranslate"><span class="pre">NULL</span></code>, it returns <code class="docutils literal notranslate"><span class="pre">-22</span></code>. But it should have returned <code class="docutils literal notranslate"><span class="pre">0</span></code> with error <code class="docutils literal notranslate"><span class="pre">ctx-&gt;rc</span></code>.</p>
616 <p>Now, Groonga uses the expected behavior.</p>
617 </section>
618 <section id="reference-regular-expression-fixed-a-bug-with-an-empty-pattern">
619 <h4><a class="reference internal" href="../reference/regular_expression.html"><span class="doc">Regular expression</span></a>: Fixed a bug with an empty pattern<a class="headerlink" href="#reference-regular-expression-fixed-a-bug-with-an-empty-pattern" title="Link to this heading">#</a></h4>
620 <p><a class="reference external" href="https://github.com/groonga/groonga/issues/2121">GH-2121</a></p>
621 <p>If the given pattern is an empty string, there were some problems:</p>
622 <ul class="simple">
623 <li><p>If there is an index for regular expression, Groonga was crashed.</p></li>
624 <li><p>If there is not an index for regular expression, Groonga returns all records.</p></li>
625 </ul>
626 <p>Now, Groonga returns an empty result for an empty pattern.</p>
627 </section>
628 </section>
629 </section>
630 <section id="release-14-1-0-2024-11-05">
631 <span id="release-14-1-0"></span><h2>Release 14.1.0 - 2024-11-05<a class="headerlink" href="#release-14-1-0-2024-11-05" title="Link to this heading">#</a></h2>
632 <section id="id5">
633 <h3>Improvements<a class="headerlink" href="#id5" title="Link to this heading">#</a></h3>
634 <section id="reference-commands-status-added-features-llama-cpp-entry">
635 <h4>[<a class="reference internal" href="../reference/commands/status.html"><span class="doc">status</span></a>] Added <code class="docutils literal notranslate"><span class="pre">.[&quot;features&quot;][&quot;llama.cpp&quot;]</span></code> entry<a class="headerlink" href="#reference-commands-status-added-features-llama-cpp-entry" title="Link to this heading">#</a></h4>
636 <p>The <code class="docutils literal notranslate"><span class="pre">.[&quot;features&quot;]</span></code> entry shows whether each feature is enabled or not like the following:</p>
637 <div class="highlight-json notranslate"><div class="highlight"><pre><span></span><span class="p">[</span>
638 <span class="w"> </span><span class="p">[</span><span class="s2">&quot;...&quot;</span><span class="p">],</span>
639 <span class="w"> </span><span class="p">{</span>
640 <span class="w"> </span><span class="nt">&quot;...&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;...&quot;</span><span class="p">,</span>
641 <span class="w"> </span><span class="nt">&quot;features&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
642 <span class="w"> </span><span class="nt">&quot;nfkc&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span>
643 <span class="w"> </span><span class="nt">&quot;mecab&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span>
644 <span class="w"> </span><span class="nt">&quot;...&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;...&quot;</span>
645 <span class="w"> </span><span class="p">},</span>
646 <span class="w"> </span><span class="nt">&quot;...&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;...&quot;</span>
647 <span class="w"> </span><span class="p">}</span>
648 <span class="p">]</span>
649 </pre></div>
650 </div>
651 <p>This release added <code class="docutils literal notranslate"><span class="pre">llama.cpp</span></code> to the <code class="docutils literal notranslate"><span class="pre">.[&quot;features&quot;]</span></code> entry:</p>
652 <div class="highlight-json notranslate"><div class="highlight"><pre><span></span><span class="p">[</span>
653 <span class="w"> </span><span class="p">[</span><span class="s2">&quot;...&quot;</span><span class="p">],</span>
654 <span class="w"> </span><span class="p">{</span>
655 <span class="w"> </span><span class="nt">&quot;...&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;...&quot;</span><span class="p">,</span>
656 <span class="w"> </span><span class="nt">&quot;features&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
657 <span class="w"> </span><span class="nt">&quot;nfkc&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span>
658 <span class="w"> </span><span class="nt">&quot;mecab&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span>
659 <span class="w"> </span><span class="nt">&quot;...&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;...&quot;</span><span class="p">,</span>
660 <span class="w"> </span><span class="nt">&quot;llama.cpp&quot;</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span>
661 <span class="w"> </span><span class="nt">&quot;...&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;...&quot;</span>
662 <span class="w"> </span><span class="p">},</span>
663 <span class="w"> </span><span class="nt">&quot;...&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;...&quot;</span>
664 <span class="w"> </span><span class="p">}</span>
665 <span class="p">]</span>
666 </pre></div>
667 </div>
668 <p>You can use <code class="docutils literal notranslate"><span class="pre">.[&quot;features&quot;][&quot;llama.cpp&quot;]</span></code> to know whether <a class="reference external" href="https://github.com/ggerganov/llama.cpp">llama.cpp</a> is enabled or not.</p>
669 <p>You need the llama.cpp support to use <a class="reference internal" href="../reference/functions/language_model_vectorize.html"><span class="doc">language_model_vectorize</span></a> function described next.</p>
670 </section>
671 <section id="reference-functions-language-model-vectorize-added-experimental">
672 <h4>[<a class="reference internal" href="../reference/functions/language_model_vectorize.html"><span class="doc">language_model_vectorize</span></a>] Added (Experimental)<a class="headerlink" href="#reference-functions-language-model-vectorize-added-experimental" title="Link to this heading">#</a></h4>
673 <p>This feature is still experimental and unstable.</p>
674 <p>This feature may consume a significant amount of CPU and memory.</p>
675 <p>The function returns normalized embeddings (vector representations) of the given text. An embedding represents the semantic information of the text as a vector. By converting meanings of the text into vectors, you can perform semantic searches instead of keyword based searches.</p>
676 <p>For example, “United States” and “America” look completely different but share the same meaning. Traditionally, you could search for words with different spellings but the same meaning by using synonym expansion. But this required maintaining a synonym table.</p>
677 <p>With semantic search enabled, you can find words with similar meanings without preparing or maintaining a synonym table.</p>
678 </section>
679 <section id="reference-commands-column-create-added-the-column-create-generator-parameter">
680 <h4>[<a class="reference internal" href="../reference/commands/column_create.html"><span class="doc">column_create</span></a>] Added the <a class="reference internal" href="../reference/commands/column_create.html#column-create-generator"><span class="std std-ref">generator</span></a> parameter<a class="headerlink" href="#reference-commands-column-create-added-the-column-create-generator-parameter" title="Link to this heading">#</a></h4>
681 <p>This release added the <a class="reference internal" href="../reference/column.html#generated-column"><span class="std std-ref">Generated column</span></a> feature. You can use this feature to generate column values based on the values of other column automatically.</p>
682 <p>You can create a generated column by using <a class="reference internal" href="../reference/commands/column_create.html"><span class="doc">column_create</span></a> and <a class="reference internal" href="../reference/commands/column_create.html#column-create-generator"><span class="std std-ref">generator</span></a>. See <a class="reference internal" href="../reference/commands/column_create.html#column-create-generated-column"><span class="std std-ref">Create a generated column</span></a> for details.</p>
683 <p>Here are merits of this feature:</p>
684 <ol class="arabic simple">
685 <li><p>You no longer need to manage generation processes manually</p></li>
686 <li><p>You can reduce the amount of data to load since only the source columns are necessary</p></li>
687 </ol>
688 <p>For example, you can use <a class="reference internal" href="../reference/functions/language_model_vectorize.html"><span class="doc">language_model_vectorize</span></a> to generate embeddings of the values of other columns. An embedding may not be small. If it’s represented as an 1024 dimensions vector of 32-bit float, its size is 4KiB. If you generate embeddings automatically by <a class="reference internal" href="../reference/functions/language_model_vectorize.html"><span class="doc">language_model_vectorize</span></a> and <a class="reference internal" href="../reference/column.html#generated-column"><span class="std std-ref">Generated column</span></a>, you don’t need to send 4KiB embeddings to Groonga.</p>
689 <p>You can <a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a> only the text to be searched while simultaneously storing the embedding with this feature.</p>
690 </section>
691 </section>
692 <section id="id6">
693 <h3>Fixes<a class="headerlink" href="#id6" title="Link to this heading">#</a></h3>
694 <section id="server-gqtp-fixed-a-bug-that-wrong-return-code-is-returned">
695 <h4>[<a class="reference internal" href="../server/gqtp.html"><span class="doc">GQTP</span></a>] Fixed a bug that wrong return code is returned<a class="headerlink" href="#server-gqtp-fixed-a-bug-that-wrong-return-code-is-returned" title="Link to this heading">#</a></h4>
696 <p>This is a client side problem. This problem was introduced in 14.0.0.</p>
697 <p>GQTP client converts <a class="reference internal" href="../reference/command/return_code.html"><span class="doc">Return code</span></a> received from server wrongly. For example, <code class="docutils literal notranslate"><span class="pre">INVALID_ARGUMENT</span></code> code is <code class="docutils literal notranslate"><span class="pre">-22</span></code> but it was converted to <code class="docutils literal notranslate"><span class="pre">65514</span></code>.</p>
698 <p>This fix does not affect users who are not using GQTP clients.</p>
699 </section>
700 <section id="reference-commands-logical-range-filter-fixed-a-bug-that-invalid-json-format-response-may-be-returned">
701 <h4>[<a class="reference internal" href="../reference/commands/logical_range_filter.html"><span class="doc">logical_range_filter</span></a>] Fixed a bug that invalid JSON format response may be returned<a class="headerlink" href="#reference-commands-logical-range-filter-fixed-a-bug-that-invalid-json-format-response-may-be-returned" title="Link to this heading">#</a></h4>
702 <p>This problem happens only with <a class="reference internal" href="../reference/command/command_version.html"><span class="doc">Command version</span></a> 3. The default command version is 1.</p>
703 <p>You can check your Groonga’s default command version using the <a class="reference internal" href="../reference/commands/status.html"><span class="doc">status</span></a> command:</p>
704 <div class="highlight-json notranslate"><div class="highlight"><pre><span></span><span class="p">[</span>
705 <span class="w"> </span><span class="p">[</span><span class="s2">&quot;...&quot;</span><span class="p">],</span>
706 <span class="w"> </span><span class="p">{</span>
707 <span class="w"> </span><span class="nt">&quot;...&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;...&quot;</span><span class="p">,</span>
708 <span class="w"> </span><span class="nt">&quot;command_version&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span>
709 <span class="w"> </span><span class="nt">&quot;default_command_version&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span>
710 <span class="w"> </span><span class="nt">&quot;...&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;...&quot;</span>
711 <span class="w"> </span><span class="p">}</span>
712 <span class="p">]</span>
713 </pre></div>
714 </div>
715 <p>Here is an example invalid JSON format response. You can see that there is an extra <code class="docutils literal notranslate"><span class="pre">&quot;records&quot;:</span> <span class="pre">[]</span></code> before the actual <code class="docutils literal notranslate"><span class="pre">&quot;records:</span> <span class="pre">[...]&quot;</span></code>:</p>
716 <div class="highlight-json notranslate"><div class="highlight"><pre><span></span><span class="p">{</span>
717 <span class="w"> </span><span class="nt">&quot;body&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
718 <span class="w"> </span><span class="nt">&quot;columns&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&quot;...&quot;</span><span class="p">],</span>
719 <span class="w"> </span><span class="nt">&quot;records&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[],</span>
720 <span class="w"> </span><span class="nt">&quot;records&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span>
721 <span class="w"> </span><span class="p">[</span>
722 <span class="w"> </span><span class="s2">&quot;The first post!&quot;</span><span class="p">,</span>
723 <span class="w"> </span><span class="s2">&quot;Welcome! This is my first post!&quot;</span><span class="p">,</span>
724 <span class="w"> </span><span class="mf">1436313600.0</span><span class="p">,</span>
725 <span class="w"> </span><span class="mi">5</span><span class="p">,</span>
726 <span class="w"> </span><span class="s2">&quot;Hello&quot;</span>
727 <span class="w"> </span><span class="p">],</span>
728 <span class="w"> </span><span class="s2">&quot;...&quot;</span>
729 <span class="w"> </span><span class="p">]</span>
730 <span class="w"> </span><span class="p">},</span>
731 <span class="w"> </span><span class="nt">&quot;header&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;...&quot;</span>
732 <span class="p">}</span>
733 </pre></div>
734 </div>
735 </section>
736 <section id="reference-commands-request-cancel-fixed-a-bug-that-invalid-json-format-response-may-be-returned">
737 <h4>[<a class="reference internal" href="../reference/commands/request_cancel.html"><span class="doc">request_cancel</span></a>] Fixed a bug that invalid JSON format response may be returned<a class="headerlink" href="#reference-commands-request-cancel-fixed-a-bug-that-invalid-json-format-response-may-be-returned" title="Link to this heading">#</a></h4>
738 <p>You can stop a running command by <a class="reference internal" href="../reference/commands/request_cancel.html"><span class="doc">request_cancel</span></a>.</p>
739 <p>You might get an invalid JSON format response when you cancel a command. It depends on the timing of the cancellation.</p>
740 <p>This release fixed the cancellation process. You will not receive an invalid JSON format response even when you cancel a command.</p>
741 </section>
742 <section id="reference-commands-index-column-diff-fixed-a-bug-that-false-positive-diff-may-be-reported">
743 <h4>[<a class="reference internal" href="../reference/commands/index_column_diff.html"><span class="doc">index_column_diff</span></a>] Fixed a bug that false positive diff may be reported<a class="headerlink" href="#reference-commands-index-column-diff-fixed-a-bug-that-false-positive-diff-may-be-reported" title="Link to this heading">#</a></h4>
744 <p>You can use <a class="reference internal" href="../reference/commands/index_column_diff.html"><span class="doc">index_column_diff</span></a> to detect index corruption.</p>
745 <p><a class="reference internal" href="../reference/commands/index_column_diff.html"><span class="doc">index_column_diff</span></a> reports a missing record when a single record contains more than 131,072 instances of the same token. This release fixed this problem.</p>
746 </section>
747 </section>
748 </section>
749 <section id="release-14-0-9-2024-09-27">
750 <span id="release-14-0-9"></span><h2>Release 14.0.9 - 2024-09-27<a class="headerlink" href="#release-14-0-9-2024-09-27" title="Link to this heading">#</a></h2>
751 <section id="id7">
752 <h3>Fixes<a class="headerlink" href="#id7" title="Link to this heading">#</a></h3>
753 <ul class="simple">
754 <li><p>Fixed build error when we build from source on Alpine Linux 3.20.</p></li>
755 </ul>
756 </section>
757 </section>
758 <section id="release-14-0-8-2024-09-25">
759 <span id="release-14-0-8"></span><h2>Release 14.0.8 - 2024-09-25<a class="headerlink" href="#release-14-0-8-2024-09-25" title="Link to this heading">#</a></h2>
760 <section id="id8">
761 <h3>Improvements<a class="headerlink" href="#id8" title="Link to this heading">#</a></h3>
762 <ul>
763 <li><p>[Amazon Linux 2023] Added support for Amazon Linux 2023. [GH-1845][Reported by takoyaki-nyokki and Watson]</p>
764 <p>However, we don’t support Amazon Linux 2023 for aarch64 currently.
765 Because the maintenance is costly because of the time of building a package for aarch64 is too time consuming.</p>
766 <p>We don’t use TokenMecab in Groonga for Amazon Linux 2023.
767 Because Amazon Linux 2023 doesn’t provide MeCab package.</p>
768 </li>
769 </ul>
770 </section>
771 <section id="id9">
772 <h3>Fixes<a class="headerlink" href="#id9" title="Link to this heading">#</a></h3>
773 <ul class="simple">
774 <li><p>Fixed a crash bug when we specified <code class="docutils literal notranslate"><span class="pre">pgroonga.log_type</span></code> on PGroonga for Windows.</p></li>
775 </ul>
776 </section>
777 <section id="id10">
778 <h3>Thanks<a class="headerlink" href="#id10" title="Link to this heading">#</a></h3>
779 <ul class="simple">
780 <li><p>takoyaki-nyokki</p></li>
781 <li><p>Watson</p></li>
782 </ul>
783 </section>
784 </section>
785 <section id="release-14-0-7-2024-09-03">
786 <span id="release-14-0-7"></span><h2>Release 14.0.7 - 2024-09-03<a class="headerlink" href="#release-14-0-7-2024-09-03" title="Link to this heading">#</a></h2>
787 <section id="id11">
788 <h3>Improvements<a class="headerlink" href="#id11" title="Link to this heading">#</a></h3>
789 <ul>
790 <li><p>[NormalizerNFKC] Added a new option <code class="docutils literal notranslate"><span class="pre">unify_latin_alphabet_with</span></code>.[pgroonga/pgroonga#418][Reported by Man Hoang]</p>
791 <p>This option enables that alphabets with diacritical mark and alphabets without diacritical mark regarded as the same character as below.</p>
792 <p>However, this feature focus on only <code class="docutils literal notranslate"><span class="pre">LATIN</span> <span class="pre">(SMALL|CAPITAL)</span> <span class="pre">LETTER</span> <span class="pre">X</span> <span class="pre">WITH</span> <span class="pre">XXX</span></code>.
793 It doesn’t support <code class="docutils literal notranslate"><span class="pre">LATIN</span> <span class="pre">(SMALL|CAPITAL)</span> <span class="pre">LETTER</span> <span class="pre">X</span></code> + <code class="docutils literal notranslate"><span class="pre">COMBINING</span> <span class="pre">XXX</span></code> characters.</p>
794 <p>We can confirm that can get <code class="docutils literal notranslate"><span class="pre">ngoằn</span></code> with <code class="docutils literal notranslate"><span class="pre">ngoan</span></code> in the following example.</p>
795 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="o">--</span><span class="n">name</span> <span class="n">Contents</span> <span class="o">--</span><span class="n">flags</span> <span class="n">TABLE_HASH_KEY</span> <span class="o">--</span><span class="n">key_type</span> <span class="n">ShortText</span>
796 <span class="n">column_create</span> <span class="o">--</span><span class="n">table</span> <span class="n">Contents</span> <span class="o">--</span><span class="n">name</span> <span class="n">content</span> <span class="o">--</span><span class="nb">type</span> <span class="n">ShortText</span>
797 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Contents</span>
798 <span class="p">[</span>
799 <span class="p">{</span><span class="s2">&quot;_key&quot;</span><span class="p">:</span><span class="s2">&quot;1&quot;</span><span class="p">,</span> <span class="s2">&quot;content&quot;</span><span class="p">:</span><span class="s2">&quot;con đường ngoằn nghoèo&quot;</span><span class="p">},</span>
800 <span class="p">]</span>
801
802 <span class="n">table_create</span> \
803 <span class="o">--</span><span class="n">name</span> <span class="n">Terms</span> \
804 <span class="o">--</span><span class="n">flags</span> <span class="n">TABLE_PAT_KEY</span> \
805 <span class="o">--</span><span class="n">key_type</span> <span class="n">ShortText</span> \
806 <span class="o">--</span><span class="n">default_tokenizer</span> <span class="n">TokenBigram</span> \
807 <span class="o">--</span><span class="n">normalizer</span> <span class="s1">&#39;NormalizerNFKC150(&quot;unify_latin_alphabet_with&quot;, true)&#39;</span>
808 <span class="n">column_create</span> \
809 <span class="o">--</span><span class="n">table</span> <span class="n">Terms</span> \
810 <span class="o">--</span><span class="n">name</span> <span class="n">index_content</span> \
811 <span class="o">--</span><span class="n">flags</span> <span class="n">COLUMN_INDEX</span><span class="o">|</span><span class="n">WITH_POSITION</span> \
812 <span class="o">--</span><span class="nb">type</span> <span class="n">Contents</span> \
813 <span class="o">--</span><span class="n">source</span> <span class="n">content</span>
814
815 <span class="n">select</span> <span class="o">--</span><span class="n">table</span> <span class="n">Contents</span> <span class="o">--</span><span class="n">query</span> <span class="n">content</span><span class="p">:</span><span class="nd">@ngoan</span>
816 <span class="p">[</span>
817 <span class="p">[</span>
818 <span class="mi">0</span><span class="p">,</span>
819 <span class="mf">0.0</span><span class="p">,</span>
820 <span class="mf">0.0</span>
821 <span class="p">],</span>
822 <span class="p">[</span>
823 <span class="p">[</span>
824 <span class="p">[</span>
825 <span class="mi">1</span>
826 <span class="p">],</span>
827 <span class="p">[</span>
828 <span class="p">[</span>
829 <span class="s2">&quot;_id&quot;</span><span class="p">,</span>
830 <span class="s2">&quot;UInt32&quot;</span>
831 <span class="p">],</span>
832 <span class="p">[</span>
833 <span class="s2">&quot;_key&quot;</span><span class="p">,</span>
834 <span class="s2">&quot;ShortText&quot;</span>
835 <span class="p">],</span>
836 <span class="p">[</span>
837 <span class="s2">&quot;content&quot;</span><span class="p">,</span>
838 <span class="s2">&quot;ShortText&quot;</span>
839 <span class="p">]</span>
840 <span class="p">],</span>
841 <span class="p">[</span>
842 <span class="mi">1</span><span class="p">,</span>
843 <span class="s2">&quot;1&quot;</span><span class="p">,</span>
844 <span class="s2">&quot;con đường ngoằn nghoèo&quot;</span>
845 <span class="p">]</span>
846 <span class="p">]</span>
847 <span class="p">]</span>
848 <span class="p">]</span>
849 </pre></div>
850 </div>
851 <div class="admonition note">
852 <p class="admonition-title">Note</p>
853 <p>Current normalizers has the following bug.</p>
854 <p>The lowercase of <code class="docutils literal notranslate"><span class="pre">U+0130</span> <span class="pre">LATIN</span> <span class="pre">CAPITAL</span> <span class="pre">LETTER</span> <span class="pre">I</span> <span class="pre">WITH</span> <span class="pre">DOT</span> <span class="pre">ABOVE</span></code> must be <code class="docutils literal notranslate"><span class="pre">U+0069</span> <span class="pre">LATIN</span> <span class="pre">SMALL</span> <span class="pre">LETTER</span> <span class="pre">I</span></code>.
855 But the current implementation uses <code class="docutils literal notranslate"><span class="pre">U+0069</span> <span class="pre">LATIN</span> <span class="pre">SMALL</span> <span class="pre">LETTER</span> <span class="pre">I</span></code> + <code class="docutils literal notranslate"><span class="pre">U+0307</span> <span class="pre">COMBINING</span> <span class="pre">DOT</span> <span class="pre">ABOVE</span></code>.</p>
856 <p>We will fix the bug from NormalizerNFKC160.</p>
857 </div>
858 </li>
859 <li><p>Added support for <a class="reference external" href="https://simdjson.org/">simdjson</a>.</p>
860 <p>Currently, we keeps RapidJSON support but we’ll remove RapidJSON support later.</p>
861 </li>
862 <li><p>[<a class="reference internal" href="../install/ubuntu.html"><span class="doc">Ubuntu</span></a>] Dropped support for Ubuntu 23.10 (Mantic Minotaur)</p>
863 <p>Because Ubuntu 23.10 reached EOL at July 11, 2024.</p>
864 </li>
865 <li><p>Distributed the install packages which enabled <code class="docutils literal notranslate"><span class="pre">libedit</span></code>.</p>
866 <p>Now in Groonga REPL, we can refer to the command history using the up arrow key.</p>
867 </li>
868 </ul>
869 </section>
870 <section id="id12">
871 <h3>Fixes<a class="headerlink" href="#id12" title="Link to this heading">#</a></h3>
872 <ul>
873 <li><p>[status] Fixed a bug that “h3” is never shown in <code class="docutils literal notranslate"><span class="pre">groonga</span> <span class="pre">--version</span></code>/<code class="docutils literal notranslate"><span class="pre">status</span></code>.</p></li>
874 <li><p>Fixed a crash bug when log rotate is enabled.</p>
875 <p>This bug occurred in the following conditions.</p>
876 <ol class="arabic simple">
877 <li><p>When logging to a file by specification the following options.</p>
878 <ul class="simple">
879 <li><p><code class="docutils literal notranslate"><span class="pre">--log-path</span> <span class="pre">&lt;path&gt;</span></code></p></li>
880 <li><p><code class="docutils literal notranslate"><span class="pre">--query-log-path</span> <span class="pre">&lt;path&gt;</span></code></p></li>
881 </ul>
882 </li>
883 <li><p>When log rotate is enabled by specification the following options.</p>
884 <ul class="simple">
885 <li><p><code class="docutils literal notranslate"><span class="pre">--log-rotate-threshold-size</span> <span class="pre">&lt;threshold&gt;</span></code></p></li>
886 <li><p><code class="docutils literal notranslate"><span class="pre">--query-log-rotate-threshold-size</span> <span class="pre">&lt;threshold&gt;</span></code></p></li>
887 </ul>
888 </li>
889 <li><p>When process ID log output is enabled by specification the following options.</p>
890 <ul class="simple">
891 <li><p><code class="docutils literal notranslate"><span class="pre">--log-flags</span> <span class="pre">process_id</span></code></p></li>
892 </ul>
893 </li>
894 </ol>
895 </li>
896 <li><p>Fixed a bug that Groonga use bundled Onigmo even if we specify <code class="docutils literal notranslate"><span class="pre">GRN_WITH_BUNDLED_ONIGMO=OFF</span></code>. [termux/termux-packages#21252][Patch by Biswapriyo Nath]</p></li>
897 </ul>
898 </section>
899 <section id="id13">
900 <h3>Thanks<a class="headerlink" href="#id13" title="Link to this heading">#</a></h3>
901 <ul class="simple">
902 <li><p>Man Hoang</p></li>
903 <li><p>Biswapriyo Nath</p></li>
904 </ul>
905 </section>
906 </section>
907 <section id="release-14-0-6-2024-07-29">
908 <span id="release-14-0-6"></span><h2>Release 14.0.6 - 2024-07-29<a class="headerlink" href="#release-14-0-6-2024-07-29" title="Link to this heading">#</a></h2>
909 <section id="id14">
910 <h3>Improvements<a class="headerlink" href="#id14" title="Link to this heading">#</a></h3>
911 <ul>
912 <li><p>Added support for prefix search without index against vector column.</p>
913 <p>We can already prefix search with index against vector column.
914 However, we can’t prefix search without index against vector column until now.</p>
915 <p>We can also prefix search without index against vector column as below since this release.</p>
916 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">Users</span> <span class="n">TABLE_NO_KEY</span>
917 <span class="n">column_create</span> <span class="n">Users</span> <span class="n">name</span> <span class="n">COLUMN_VECTOR</span> <span class="n">ShortText</span>
918
919 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Users</span>
920 <span class="p">[</span>
921 <span class="p">{</span><span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="p">[</span><span class="s2">&quot;alice&quot;</span><span class="p">]},</span>
922 <span class="p">{</span><span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="p">[</span><span class="s2">&quot;bob&quot;</span><span class="p">]},</span>
923 <span class="p">{</span><span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="p">[</span><span class="s2">&quot;callum&quot;</span><span class="p">]},</span>
924 <span class="p">{</span><span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="p">[</span><span class="s2">&quot;elly&quot;</span><span class="p">,</span> <span class="s2">&quot;alice&quot;</span><span class="p">]},</span>
925 <span class="p">{</span><span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="p">[</span><span class="s2">&quot;marshal&quot;</span><span class="p">]}</span>
926 <span class="p">]</span>
927
928 <span class="n">select</span> <span class="n">Users</span> <span class="o">--</span><span class="n">query</span> <span class="s1">&#39;name:^al&#39;</span>
929 <span class="p">[</span>
930 <span class="p">[</span>
931 <span class="mi">0</span><span class="p">,</span>
932 <span class="mf">0.0</span><span class="p">,</span>
933 <span class="mf">0.0</span>
934 <span class="p">],</span>
935 <span class="p">[</span>
936 <span class="p">[</span>
937 <span class="p">[</span>
938 <span class="mi">2</span>
939 <span class="p">],</span>
940 <span class="p">[</span>
941 <span class="p">[</span>
942 <span class="s2">&quot;_id&quot;</span><span class="p">,</span>
943 <span class="s2">&quot;UInt32&quot;</span>
944 <span class="p">],</span>
945 <span class="p">[</span>
946 <span class="s2">&quot;name&quot;</span><span class="p">,</span>
947 <span class="s2">&quot;ShortText&quot;</span>
948 <span class="p">]</span>
949 <span class="p">],</span>
950 <span class="p">[</span>
951 <span class="mi">1</span><span class="p">,</span>
952 <span class="p">[</span>
953 <span class="s2">&quot;alice&quot;</span>
954 <span class="p">]</span>
955 <span class="p">],</span>
956 <span class="p">[</span>
957 <span class="mi">4</span><span class="p">,</span>
958 <span class="p">[</span>
959 <span class="s2">&quot;elly&quot;</span><span class="p">,</span>
960 <span class="s2">&quot;alice&quot;</span>
961 <span class="p">]</span>
962 <span class="p">]</span>
963 <span class="p">]</span>
964 <span class="p">]</span>
965 <span class="p">]</span>
966 </pre></div>
967 </div>
968 </li>
969 <li><p>[<a class="reference internal" href="../install/debian.html"><span class="doc">Debian GNU/Linux</span></a>] Dropped support for Debian 11 (bullseye).</p></li>
970 </ul>
971 </section>
972 </section>
973 <section id="release-14-0-5-2024-07-04">
974 <span id="release-14-0-5"></span><h2>Release 14.0.5 - 2024-07-04<a class="headerlink" href="#release-14-0-5-2024-07-04" title="Link to this heading">#</a></h2>
975 <section id="id15">
976 <h3>Improvements<a class="headerlink" href="#id15" title="Link to this heading">#</a></h3>
977 <ul>
978 <li><p>Dropped support for CentOS 7.</p>
979 <p>Because CentOS 7 reached EOL.</p>
980 </li>
981 <li><p>Added a new feature that objects(table or column) as remove as possible.</p>
982 <p>The crash safe feature of PGroonga will use this feature mainly.</p>
983 <p>PGroonga will apply PGroonga’s WAL to standby database automatically by using <a class="reference external" href="https://www.postgresql.org/docs/current/custom-rmgr.html"><code class="docutils literal notranslate"><span class="pre">Custom</span> <span class="pre">WAL</span> <span class="pre">Resource</span> <span class="pre">Managers</span></code></a>.
984 However, when PGroonga use <code class="docutils literal notranslate"><span class="pre">Custom</span> <span class="pre">WAL</span> <span class="pre">Resource</span> <span class="pre">Managers</span></code>, all replications are stop if PGroonga fail application of PGroonga’s WAL due to break Groonga’s object.
985 So, if broken objects exist in database, Groonga will try as remove as possible objects by using this feature.</p>
986 </li>
987 </ul>
988 </section>
989 <section id="id16">
990 <h3>Fixes<a class="headerlink" href="#id16" title="Link to this heading">#</a></h3>
991 <ul>
992 <li><p>[<a class="reference internal" href="../reference/functions/query.html"><span class="doc">query</span></a>] Fixed a bug that the order of evaluation of <code class="docutils literal notranslate"><span class="pre">'A</span> <span class="pre">||</span> <span class="pre">query(&quot;...&quot;,</span> <span class="pre">&quot;B</span> <span class="pre">C&quot;)'</span></code> is wrong</p>
993 <p>We expect that <code class="docutils literal notranslate"><span class="pre">{&quot;name&quot;:</span> <span class="pre">&quot;Alice&quot;,</span> <span class="pre">&quot;memo&quot;:</span> <span class="pre">&quot;Groonga</span> <span class="pre">user&quot;}</span></code> is hit in the following example.
994 However, if this problem occurred, the following query had not been hit.</p>
995 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">Users</span> <span class="n">TABLE_NO_KEY</span>
996 <span class="n">column_create</span> <span class="n">Users</span> <span class="n">name</span> <span class="n">COLUMN_SCALAR</span> <span class="n">ShortText</span>
997 <span class="n">column_create</span> <span class="n">Users</span> <span class="n">memo</span> <span class="n">COLUMN_SCALAR</span> <span class="n">ShortText</span>
998
999 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Users</span>
1000 <span class="p">[</span>
1001 <span class="p">{</span><span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;Alice&quot;</span><span class="p">,</span> <span class="s2">&quot;memo&quot;</span><span class="p">:</span> <span class="s2">&quot;Groonga user&quot;</span><span class="p">},</span>
1002 <span class="p">{</span><span class="s2">&quot;name&quot;</span><span class="p">:</span> <span class="s2">&quot;Bob&quot;</span><span class="p">,</span> <span class="s2">&quot;memo&quot;</span><span class="p">:</span> <span class="s2">&quot;Rroonga user&quot;</span><span class="p">}</span>
1003 <span class="p">]</span>
1004 <span class="n">select</span> <span class="n">Users</span> \
1005 <span class="o">--</span><span class="n">output_columns</span> <span class="s1">&#39;name, memo, _score&#39;</span> \
1006 <span class="o">--</span><span class="nb">filter</span> <span class="s1">&#39;memo @ &quot;Groonga&quot; || query(&quot;name&quot;, &quot;Bob Rroonga&quot;)&#39;</span>
1007 <span class="p">[[</span><span class="mi">0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">],[[[</span><span class="mi">0</span><span class="p">],[[</span><span class="s2">&quot;name&quot;</span><span class="p">,</span><span class="s2">&quot;ShortText&quot;</span><span class="p">],[</span><span class="s2">&quot;memo&quot;</span><span class="p">,</span><span class="s2">&quot;ShortText&quot;</span><span class="p">],[</span><span class="s2">&quot;_score&quot;</span><span class="p">,</span><span class="s2">&quot;Int32&quot;</span><span class="p">]]]]]</span>
1008 </pre></div>
1009 </div>
1010 <p>After the fix, <code class="docutils literal notranslate"><span class="pre">{&quot;name&quot;:</span> <span class="pre">&quot;Alice&quot;,</span> <span class="pre">&quot;memo&quot;:</span> <span class="pre">&quot;Groonga</span> <span class="pre">user&quot;}</span></code> is hit such as the following example.</p>
1011 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">select</span> <span class="n">Users</span> \
1012 <span class="o">--</span><span class="n">output_columns</span> <span class="s1">&#39;name, memo, _score&#39;</span> \
1013 <span class="o">--</span><span class="nb">filter</span> <span class="s1">&#39;memo @ &quot;Groonga&quot; || query(&quot;name&quot;, &quot;Bob Rroonga&quot;)&#39;</span>
1014 <span class="p">[</span>
1015 <span class="p">[</span>
1016 <span class="mi">0</span><span class="p">,</span>
1017 <span class="mf">1719376617.537505</span><span class="p">,</span>
1018 <span class="mf">0.002481460571289062</span>
1019 <span class="p">],</span>
1020 <span class="p">[</span>
1021 <span class="p">[</span>
1022 <span class="p">[</span>
1023 <span class="mi">1</span>
1024 <span class="p">],</span>
1025 <span class="p">[</span>
1026 <span class="p">[</span>
1027 <span class="s2">&quot;name&quot;</span><span class="p">,</span>
1028 <span class="s2">&quot;ShortText&quot;</span>
1029 <span class="p">],</span>
1030 <span class="p">[</span>
1031 <span class="s2">&quot;memo&quot;</span><span class="p">,</span>
1032 <span class="s2">&quot;ShortText&quot;</span>
1033 <span class="p">],</span>
1034 <span class="p">[</span>
1035 <span class="s2">&quot;_score&quot;</span><span class="p">,</span>
1036 <span class="s2">&quot;Int32&quot;</span>
1037 <span class="p">]</span>
1038 <span class="p">],</span>
1039 <span class="p">[</span>
1040 <span class="s2">&quot;Alice&quot;</span><span class="p">,</span>
1041 <span class="s2">&quot;Groonga user&quot;</span><span class="p">,</span>
1042 <span class="mi">1</span>
1043 <span class="p">]</span>
1044 <span class="p">]</span>
1045 <span class="p">]</span>
1046 <span class="p">]</span>
1047 </pre></div>
1048 </div>
1049 <p>Here is occurrence condition of this problem.</p>
1050 <ul class="simple">
1051 <li><p>We use <code class="docutils literal notranslate"><span class="pre">OR</span></code> search and <code class="docutils literal notranslate"><span class="pre">query()</span></code>.</p></li>
1052 <li><p>We use <code class="docutils literal notranslate"><span class="pre">AND</span></code> search in <code class="docutils literal notranslate"><span class="pre">query()</span></code>.</p></li>
1053 <li><p>The order of condition expression is <code class="docutils literal notranslate"><span class="pre">'A</span> <span class="pre">||</span> <span class="pre">query(&quot;...&quot;,</span> <span class="pre">&quot;B</span> <span class="pre">C&quot;)'</span></code>.</p></li>
1054 </ul>
1055 <p>So, this problem doesn’t occur if we use only <code class="docutils literal notranslate"><span class="pre">query()</span></code> or we don’t use <code class="docutils literal notranslate"><span class="pre">AND</span></code> search in <code class="docutils literal notranslate"><span class="pre">query()</span></code>.</p>
1056 </li>
1057 <li><p>[<a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a>] Fixed a bug that a condition that evaluate prefix search in advance such as <code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">&quot;A*</span> <span class="pre">OR</span> <span class="pre">B&quot;</span></code> returned wrong search result</p>
1058 <p>This problem may occur when prefix search evaluate in advance.
1059 This problem doesn’t occur a condition that evaluate prefix search in the end such as <code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">A</span> <span class="pre">OR</span> <span class="pre">B*</span></code>.</p>
1060 <p>If this problem occur, the <code class="docutils literal notranslate"><span class="pre">Bo</span></code> and the <code class="docutils literal notranslate"><span class="pre">li</span></code> of <code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">&quot;Bo*</span> <span class="pre">OR</span> <span class="pre">li&quot;</span></code> are evaluated as a prefix search.
1061 As a result, The following query does not hit. Because <code class="docutils literal notranslate"><span class="pre">li</span></code> is evaluated as a prefix search as mentioned above.</p>
1062 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">Users</span> <span class="n">TABLE_NO_KEY</span>
1063 <span class="n">column_create</span> <span class="n">Users</span> <span class="n">name</span> <span class="n">COLUMN_SCALAR</span> <span class="n">ShortText</span>
1064
1065 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Users</span>
1066 <span class="p">[</span>
1067 <span class="p">[</span><span class="s2">&quot;name&quot;</span><span class="p">],</span>
1068 <span class="p">[</span><span class="s2">&quot;Alice&quot;</span><span class="p">]</span>
1069 <span class="p">]</span>
1070
1071 <span class="n">select</span> <span class="n">Users</span> \
1072 <span class="o">--</span><span class="n">match_columns</span> <span class="n">name</span> \
1073 <span class="o">--</span><span class="n">query</span> <span class="s2">&quot;Bo* OR li&quot;</span>
1074 <span class="p">[</span>
1075 <span class="p">[</span>
1076 <span class="mi">0</span><span class="p">,</span>
1077 <span class="mf">1719377505.628048</span><span class="p">,</span>
1078 <span class="mf">0.0007376670837402344</span>
1079 <span class="p">],</span>
1080 <span class="p">[</span>
1081 <span class="p">[</span>
1082 <span class="p">[</span>
1083 <span class="mi">0</span>
1084 <span class="p">],</span>
1085 <span class="p">[</span>
1086 <span class="p">[</span>
1087 <span class="s2">&quot;_id&quot;</span><span class="p">,</span>
1088 <span class="s2">&quot;UInt32&quot;</span>
1089 <span class="p">],</span>
1090 <span class="p">[</span>
1091 <span class="s2">&quot;name&quot;</span><span class="p">,</span>
1092 <span class="s2">&quot;ShortText&quot;</span>
1093 <span class="p">]</span>
1094 <span class="p">]</span>
1095 <span class="p">]</span>
1096 <span class="p">]</span>
1097 <span class="p">]</span>
1098 </pre></div>
1099 </div>
1100 </li>
1101 </ul>
1102 </section>
1103 </section>
1104 <section id="release-14-0-4-2024-05-29">
1105 <span id="release-14-0-4"></span><h2>Release 14.0.4 - 2024-05-29<a class="headerlink" href="#release-14-0-4-2024-05-29" title="Link to this heading">#</a></h2>
1106 <section id="id17">
1107 <h3>Fixes<a class="headerlink" href="#id17" title="Link to this heading">#</a></h3>
1108 <ul>
1109 <li><p>[<a class="reference internal" href="../reference/functions/query_parallel_or.html"><span class="doc">query_parallel_or</span></a>] Fixed a bug that the <a class="reference internal" href="../reference/commands/select.html#select-match-escalation-threshold"><span class="std std-ref">match_escalation_threshold</span></a> or <code class="docutils literal notranslate"><span class="pre">force_match_escalation</span></code> options were ignored when using <code class="docutils literal notranslate"><span class="pre">query_parallel_or()</span></code>.</p>
1110 <p>Before the fix, even when <code class="docutils literal notranslate"><span class="pre">match_escalation_threshold</span></code> was set to disable match escalation, the results still escalated when we use <code class="docutils literal notranslate"><span class="pre">query_parallel_or()</span></code>.
1111 This problem occurred only <code class="docutils literal notranslate"><span class="pre">query_parallel_or()</span></code>. <a class="reference internal" href="../reference/functions/query.html"><span class="doc">query</span></a> don’t occur this problem.</p>
1112 <p>Generally, we don’t disable match escalation. Because we want to get something search results. The number of hits is 0 is the unwelcome result of us.
1113 Therefore, this problem has no effect by many users. However, it has effect by user who use stop word as below.</p>
1114 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">plugin_register</span> <span class="n">token_filters</span><span class="o">/</span><span class="n">stop_word</span>
1115
1116 <span class="n">table_create</span> <span class="n">Memos</span> <span class="n">TABLE_NO_KEY</span>
1117 <span class="n">column_create</span> <span class="n">Memos</span> <span class="n">content</span> <span class="n">COLUMN_SCALAR</span> <span class="n">ShortText</span>
1118
1119 <span class="n">table_create</span> <span class="n">Terms</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">ShortText</span> \
1120 <span class="o">--</span><span class="n">default_tokenizer</span> <span class="n">TokenBigram</span> \
1121 <span class="o">--</span><span class="n">normalizer</span> <span class="n">NormalizerAuto</span> \
1122 <span class="o">--</span><span class="n">token_filters</span> <span class="n">TokenFilterStopWord</span>
1123 <span class="n">column_create</span> <span class="n">Terms</span> <span class="n">memos_content</span> <span class="n">COLUMN_INDEX</span><span class="o">|</span><span class="n">WITH_POSITION</span> <span class="n">Memos</span> <span class="n">content</span>
1124 <span class="n">column_create</span> <span class="n">Terms</span> <span class="n">is_stop_word</span> <span class="n">COLUMN_SCALAR</span> <span class="n">Bool</span>
1125 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Terms</span>
1126 <span class="p">[</span>
1127 <span class="p">{</span><span class="s2">&quot;_key&quot;</span><span class="p">:</span> <span class="s2">&quot;and&quot;</span><span class="p">,</span> <span class="s2">&quot;is_stop_word&quot;</span><span class="p">:</span> <span class="n">true</span><span class="p">}</span>
1128 <span class="p">]</span>
1129
1130 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Memos</span>
1131 <span class="p">[</span>
1132 <span class="p">{</span><span class="s2">&quot;content&quot;</span><span class="p">:</span> <span class="s2">&quot;Hello&quot;</span><span class="p">},</span>
1133 <span class="p">{</span><span class="s2">&quot;content&quot;</span><span class="p">:</span> <span class="s2">&quot;Hello and Good-bye&quot;</span><span class="p">},</span>
1134 <span class="p">{</span><span class="s2">&quot;content&quot;</span><span class="p">:</span> <span class="s2">&quot;Good-bye&quot;</span><span class="p">}</span>
1135 <span class="p">]</span>
1136
1137 <span class="n">select</span> <span class="n">Memos</span> \
1138 <span class="o">--</span><span class="nb">filter</span> <span class="s1">&#39;query_parallel_or([&quot;content&quot;, &quot;content&quot;, &quot;content&quot;, &quot;content&quot;], </span><span class="se">\</span>
1139 <span class="s1"> &quot;and&quot;, </span><span class="se">\</span>
1140 <span class="s1"> {&quot;options&quot;: {&quot;TokenFilterStopWord.enable&quot;: true}})&#39;</span> \
1141 <span class="o">--</span><span class="n">match_escalation_threshold</span> <span class="o">-</span><span class="mi">1</span> \
1142 <span class="o">--</span><span class="n">sort_keys</span> <span class="o">-</span><span class="n">_score</span>
1143 </pre></div>
1144 </div>
1145 <p>We don’t want to match a keyword that is registered as stopword.
1146 Therefore, we set <code class="docutils literal notranslate"><span class="pre">-1</span></code> to <code class="docutils literal notranslate"><span class="pre">match_escalation_threshold</span></code> in the above example.
1147 We expect that Groonga doesn’t return records in the above example because of escalation disable and search keyword(<code class="docutils literal notranslate"><span class="pre">and</span></code>) is registered as stopword.
1148 However, If this problem occur, Groonga returns match record.
1149 Because if we use <code class="docutils literal notranslate"><span class="pre">query_parallel_or()</span></code>, <code class="docutils literal notranslate"><span class="pre">match_escalation_threshold</span></code> doesn’t work.</p>
1150 </li>
1151 <li><p>Fixed a bug that full-text search against a reference column of a vector didn’t work.</p>
1152 <p>This problem has occured Groonga v14.0.0 or later.
1153 This problem has effect if we execute full-text search against a reference column of a vector.</p>
1154 <p>We expected that Groonga returns <code class="docutils literal notranslate"><span class="pre">[1,</span> <span class="pre">&quot;Linux</span> <span class="pre">MySQL&quot;]</span></code> and <code class="docutils literal notranslate"><span class="pre">[2,</span> <span class="pre">&quot;MySQL</span> <span class="pre">Groonga&quot;]</span></code> as below example.
1155 However, before the fix, Groonga always returned 0 hits as below because of we executed full-text search on a reference column of a vector.</p>
1156 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">bugs</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">UInt32</span>
1157
1158 <span class="n">table_create</span> <span class="n">tags</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">ShortText</span> <span class="o">--</span><span class="n">default_tokenizer</span> <span class="n">TokenDelimit</span>
1159 <span class="n">column_create</span> <span class="n">tags</span> <span class="n">name</span> <span class="n">COLUMN_SCALAR</span> <span class="n">ShortText</span>
1160
1161 <span class="n">column_create</span> <span class="n">bugs</span> <span class="n">tags</span> <span class="n">COLUMN_VECTOR</span> <span class="n">tags</span>
1162
1163 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">bugs</span>
1164 <span class="p">[</span>
1165 <span class="p">[</span><span class="s2">&quot;_key&quot;</span><span class="p">,</span> <span class="s2">&quot;tags&quot;</span><span class="p">],</span>
1166 <span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="s2">&quot;Linux MySQL&quot;</span><span class="p">],</span>
1167 <span class="p">[</span><span class="mi">2</span><span class="p">,</span> <span class="s2">&quot;MySQL Groonga&quot;</span><span class="p">],</span>
1168 <span class="p">[</span><span class="mi">3</span><span class="p">,</span> <span class="s2">&quot;Mroonga&quot;</span><span class="p">]</span>
1169 <span class="p">]</span>
1170
1171 <span class="n">column_create</span> <span class="n">tags</span> <span class="n">bugs_tags_index</span> <span class="n">COLUMN_INDEX</span> <span class="n">bugs</span> <span class="n">tags</span>
1172
1173 <span class="n">select</span> <span class="o">--</span><span class="n">table</span> <span class="n">bugs</span> <span class="o">--</span><span class="nb">filter</span> <span class="s1">&#39;tags @ &quot;MySQL&quot;&#39;</span>
1174 <span class="p">[</span>
1175 <span class="p">[</span>
1176 <span class="mi">0</span><span class="p">,</span>
1177 <span class="mf">0.0</span><span class="p">,</span>
1178 <span class="mf">0.0</span>
1179 <span class="p">],</span>
1180 <span class="p">[</span>
1181 <span class="p">[</span>
1182 <span class="p">[</span>
1183 <span class="mi">0</span>
1184 <span class="p">],</span>
1185 <span class="p">[</span>
1186 <span class="p">[</span>
1187 <span class="s2">&quot;_id&quot;</span><span class="p">,</span>
1188 <span class="s2">&quot;UInt32&quot;</span>
1189 <span class="p">],</span>
1190 <span class="p">[</span>
1191 <span class="s2">&quot;_key&quot;</span><span class="p">,</span>
1192 <span class="s2">&quot;UInt32&quot;</span>
1193 <span class="p">],</span>
1194 <span class="p">[</span>
1195 <span class="s2">&quot;tags&quot;</span><span class="p">,</span>
1196 <span class="s2">&quot;tags&quot;</span>
1197 <span class="p">]</span>
1198 <span class="p">]</span>
1199 <span class="p">]</span>
1200 <span class="p">]</span>
1201 <span class="p">]</span>
1202 </pre></div>
1203 </div>
1204 </li>
1205 </ul>
1206 </section>
1207 </section>
1208 <section id="release-14-0-3-2024-05-09">
1209 <span id="release-14-0-3"></span><h2>Release 14.0.3 - 2024-05-09<a class="headerlink" href="#release-14-0-3-2024-05-09" title="Link to this heading">#</a></h2>
1210 <section id="id18">
1211 <h3>Improvements<a class="headerlink" href="#id18" title="Link to this heading">#</a></h3>
1212 <ul>
1213 <li><p>We optimized performance as below.</p>
1214 <ul class="simple">
1215 <li><p>We optimized performance of <code class="docutils literal notranslate"><span class="pre">OR</span></code> and <code class="docutils literal notranslate"><span class="pre">AND</span></code> search when the number of hits were many.</p></li>
1216 <li><p>We optimized performance of prefix search(<code class="docutils literal notranslate"><span class="pre">&#64;^</span></code>).</p></li>
1217 <li><p>We optimized performance of <code class="docutils literal notranslate"><span class="pre">AND</span></code> search when the number of records of <code class="docutils literal notranslate"><span class="pre">A</span></code> more than <code class="docutils literal notranslate"><span class="pre">B</span></code> in condition of <code class="docutils literal notranslate"><span class="pre">A</span> <span class="pre">AND</span> <span class="pre">B</span></code>.</p></li>
1218 <li><p>We optimized performance of search when we used many dynamic columns.</p></li>
1219 </ul>
1220 </li>
1221 <li><p>[<a class="reference internal" href="../reference/tokenizers/token_ngram.html"><span class="doc">TokenNgram</span></a>] Added new option <code class="docutils literal notranslate"><span class="pre">ignore_blank</span></code>.</p>
1222 <p>We can replace <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlank</span></code> with <code class="docutils literal notranslate"><span class="pre">TokenNgram(&quot;ignore_blank&quot;,</span> <span class="pre">true)</span></code> as below.</p>
1223 <p>Here is example of use <code class="docutils literal notranslate"><span class="pre">TokenBigram</span></code>.</p>
1224 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">tokenize</span> <span class="n">TokenBigram</span> <span class="s2">&quot;! ! !&quot;</span> <span class="n">NormalizerAuto</span>
1225 <span class="p">[</span>
1226 <span class="p">[</span>
1227 <span class="mi">0</span><span class="p">,</span>
1228 <span class="mf">1715155644.64263</span><span class="p">,</span>
1229 <span class="mf">0.001013517379760742</span>
1230 <span class="p">],</span>
1231 <span class="p">[</span>
1232 <span class="p">{</span>
1233 <span class="s2">&quot;value&quot;</span><span class="p">:</span> <span class="s2">&quot;!&quot;</span><span class="p">,</span>
1234 <span class="s2">&quot;position&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
1235 <span class="s2">&quot;force_prefix&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
1236 <span class="s2">&quot;force_prefix_search&quot;</span><span class="p">:</span> <span class="n">false</span>
1237 <span class="p">},</span>
1238 <span class="p">{</span>
1239 <span class="s2">&quot;value&quot;</span><span class="p">:</span> <span class="s2">&quot;!&quot;</span><span class="p">,</span>
1240 <span class="s2">&quot;position&quot;</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span>
1241 <span class="s2">&quot;force_prefix&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
1242 <span class="s2">&quot;force_prefix_search&quot;</span><span class="p">:</span> <span class="n">false</span>
1243 <span class="p">},</span>
1244 <span class="p">{</span>
1245 <span class="s2">&quot;value&quot;</span><span class="p">:</span> <span class="s2">&quot;!&quot;</span><span class="p">,</span>
1246 <span class="s2">&quot;position&quot;</span><span class="p">:</span> <span class="mi">2</span><span class="p">,</span>
1247 <span class="s2">&quot;force_prefix&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
1248 <span class="s2">&quot;force_prefix_search&quot;</span><span class="p">:</span> <span class="n">false</span>
1249 <span class="p">}</span>
1250 <span class="p">]</span>
1251 <span class="p">]</span>
1252 </pre></div>
1253 </div>
1254 <p>Here is example of use <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlank</span></code>.</p>
1255 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">tokenize</span> <span class="n">TokenBigramIgnoreBlank</span> <span class="s2">&quot;! ! !&quot;</span> <span class="n">NormalizerAuto</span>
1256 <span class="p">[</span>
1257 <span class="p">[</span>
1258 <span class="mi">0</span><span class="p">,</span>
1259 <span class="mf">1715155680.323451</span><span class="p">,</span>
1260 <span class="mf">0.0009913444519042969</span>
1261 <span class="p">],</span>
1262 <span class="p">[</span>
1263 <span class="p">{</span>
1264 <span class="s2">&quot;value&quot;</span><span class="p">:</span> <span class="s2">&quot;!!!&quot;</span><span class="p">,</span>
1265 <span class="s2">&quot;position&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
1266 <span class="s2">&quot;force_prefix&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
1267 <span class="s2">&quot;force_prefix_search&quot;</span><span class="p">:</span> <span class="n">false</span>
1268 <span class="p">}</span>
1269 <span class="p">]</span>
1270 <span class="p">]</span>
1271 </pre></div>
1272 </div>
1273 <p>Here is example of use <code class="docutils literal notranslate"><span class="pre">TokenNgram(&quot;ignore_blank&quot;,</span> <span class="pre">true)</span></code>.</p>
1274 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">tokenize</span> <span class="s1">&#39;TokenNgram(&quot;ignore_blank&quot;, true)&#39;</span> <span class="s2">&quot;! ! !&quot;</span> <span class="n">NormalizerAuto</span>
1275 <span class="p">[</span>
1276 <span class="p">[</span>
1277 <span class="mi">0</span><span class="p">,</span>
1278 <span class="mf">1715155762.340685</span><span class="p">,</span>
1279 <span class="mf">0.001041412353515625</span>
1280 <span class="p">],</span>
1281 <span class="p">[</span>
1282 <span class="p">{</span>
1283 <span class="s2">&quot;value&quot;</span><span class="p">:</span> <span class="s2">&quot;!!!&quot;</span><span class="p">,</span>
1284 <span class="s2">&quot;position&quot;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
1285 <span class="s2">&quot;force_prefix&quot;</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
1286 <span class="s2">&quot;force_prefix_search&quot;</span><span class="p">:</span> <span class="n">false</span>
1287 <span class="p">}</span>
1288 <span class="p">]</span>
1289 <span class="p">]</span>
1290 </pre></div>
1291 </div>
1292 </li>
1293 <li><p>[<a class="reference internal" href="../install/ubuntu.html"><span class="doc">Ubuntu</span></a>] Add support for Ubuntu 24.04 LTS (Noble Numbat).</p></li>
1294 </ul>
1295 </section>
1296 <section id="id19">
1297 <h3>Fixes<a class="headerlink" href="#id19" title="Link to this heading">#</a></h3>
1298 <ul>
1299 <li><p>[<a class="reference internal" href="../reference/commands/request_cancel.html"><span class="doc">request_cancel</span></a>] Fix a bug that Groonga may crash when we execute <code class="docutils literal notranslate"><span class="pre">request_cancel</span></code> command while we execute the other query.</p></li>
1300 <li><p>Fixed the unexpected error when using <code class="docutils literal notranslate"><span class="pre">--post_filter</span></code> with <code class="docutils literal notranslate"><span class="pre">--offset</span></code> greater than the post-filtered result</p>
1301 <p>In the same situation, using <code class="docutils literal notranslate"><span class="pre">--filter</span></code> with <code class="docutils literal notranslate"><span class="pre">--offset</span></code> doesn’t raise the error.
1302 This inconsistency in behavior between <code class="docutils literal notranslate"><span class="pre">--filter</span></code> and <code class="docutils literal notranslate"><span class="pre">--post-filter</span></code> has now been resolved.</p>
1303 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">Users</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">ShortText</span>
1304 <span class="n">column_create</span> <span class="n">Users</span> <span class="n">age</span> <span class="n">COLUMN_SCALAR</span> <span class="n">UInt32</span>
1305 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Users</span>
1306 <span class="p">[</span>
1307 <span class="p">[</span><span class="s2">&quot;_key&quot;</span><span class="p">,</span> <span class="s2">&quot;age&quot;</span><span class="p">],</span>
1308 <span class="p">[</span><span class="s2">&quot;Alice&quot;</span><span class="p">,</span> <span class="mi">21</span><span class="p">],</span>
1309 <span class="p">[</span><span class="s2">&quot;Bob&quot;</span><span class="p">,</span> <span class="mi">22</span><span class="p">],</span>
1310 <span class="p">[</span><span class="s2">&quot;Chris&quot;</span><span class="p">,</span> <span class="mi">23</span><span class="p">],</span>
1311 <span class="p">[</span><span class="s2">&quot;Diana&quot;</span><span class="p">,</span> <span class="mi">24</span><span class="p">],</span>
1312 <span class="p">[</span><span class="s2">&quot;Emily&quot;</span><span class="p">,</span> <span class="mi">25</span><span class="p">]</span>
1313 <span class="p">]</span>
1314 <span class="n">select</span> <span class="n">Users</span> \
1315 <span class="o">--</span><span class="nb">filter</span> <span class="s1">&#39;age &gt;= 22&#39;</span> \
1316 <span class="o">--</span><span class="n">post_filter</span> <span class="s1">&#39;age &lt;= 24&#39;</span> \
1317 <span class="o">--</span><span class="n">offset</span> <span class="mi">3</span> \
1318 <span class="o">--</span><span class="n">sort_keys</span> <span class="o">-</span><span class="n">age</span> <span class="o">--</span><span class="n">output_pretty</span> <span class="n">yes</span>
1319 <span class="p">[</span>
1320 <span class="p">[</span>
1321 <span class="o">-</span><span class="mi">68</span><span class="p">,</span>
1322 <span class="mf">1715224057.317582</span><span class="p">,</span>
1323 <span class="mf">0.001833438873291016</span><span class="p">,</span>
1324 <span class="s2">&quot;[table][sort] grn_output_range_normalize failed&quot;</span><span class="p">,</span>
1325 <span class="p">[</span>
1326 <span class="p">[</span>
1327 <span class="s2">&quot;grn_table_sort&quot;</span><span class="p">,</span>
1328 <span class="s2">&quot;/home/horimoto/Work/free-software/groonga.tag/lib/sort.c&quot;</span><span class="p">,</span>
1329 <span class="mi">1052</span>
1330 <span class="p">]</span>
1331 <span class="p">]</span>
1332 <span class="p">]</span>
1333 <span class="p">]</span>
1334 </pre></div>
1335 </div>
1336 </li>
1337 <li><p>Fixed a bug where incorrect search result could be returned when not all phrases within <code class="docutils literal notranslate"><span class="pre">(...)</span></code> matched using near phrase product.</p>
1338 <p>For example, there is no record which matched <code class="docutils literal notranslate"><span class="pre">(2)</span></code> condition using <code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">'*NPP1&quot;(a)</span> <span class="pre">(2)&quot;'</span></code>.
1339 In this case, the expected behavior would be return no record. However, the actual behavior was equal to the query <code class="docutils literal notranslate"><span class="pre">--query</span> <span class="pre">'*NPP</span> <span class="pre">and</span> <span class="pre">&quot;(a)&quot;</span></code> as below.
1340 This means that despite no records matched <code class="docutils literal notranslate"><span class="pre">(2)</span></code>, records like <code class="docutils literal notranslate"><span class="pre">ax1</span></code> and <code class="docutils literal notranslate"><span class="pre">axx1</span></code> were incorrectly returned.</p>
1341 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">Entries</span> <span class="n">TABLE_NO_KEY</span>
1342 <span class="n">column_create</span> <span class="n">Entries</span> <span class="n">content</span> <span class="n">COLUMN_SCALAR</span> <span class="n">Text</span>
1343
1344 <span class="n">table_create</span> <span class="n">Terms</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">ShortText</span> <span class="o">--</span><span class="n">default_tokenizer</span> <span class="n">TokenNgram</span>
1345 <span class="n">column_create</span> <span class="n">Terms</span> <span class="n">entries_content</span> <span class="n">COLUMN_INDEX</span><span class="o">|</span><span class="n">WITH_POSITION</span> <span class="n">Entries</span> <span class="n">content</span>
1346 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Entries</span>
1347 <span class="p">[</span>
1348 <span class="p">{</span><span class="s2">&quot;content&quot;</span><span class="p">:</span> <span class="s2">&quot;ax1&quot;</span><span class="p">},</span>
1349 <span class="p">{</span><span class="s2">&quot;content&quot;</span><span class="p">:</span> <span class="s2">&quot;axx1&quot;</span><span class="p">}</span>
1350 <span class="p">]</span>
1351
1352 <span class="n">select</span> <span class="n">Entries</span> \
1353 <span class="o">--</span><span class="n">match_columns</span> <span class="n">content</span> \
1354 <span class="o">--</span><span class="n">query</span> <span class="s1">&#39;*NPP1&quot;(a) (2)&quot;&#39;</span> \
1355 <span class="o">--</span><span class="n">output_columns</span> <span class="s1">&#39;content&#39;</span>
1356 <span class="p">[</span>
1357 <span class="p">[</span>
1358 <span class="mi">0</span><span class="p">,</span>
1359 <span class="mf">1715224211.050228</span><span class="p">,</span>
1360 <span class="mf">0.001366376876831055</span>
1361 <span class="p">],</span>
1362 <span class="p">[</span>
1363 <span class="p">[</span>
1364 <span class="p">[</span>
1365 <span class="mi">2</span>
1366 <span class="p">],</span>
1367 <span class="p">[</span>
1368 <span class="p">[</span>
1369 <span class="s2">&quot;content&quot;</span><span class="p">,</span>
1370 <span class="s2">&quot;Text&quot;</span>
1371 <span class="p">]</span>
1372 <span class="p">],</span>
1373 <span class="p">[</span>
1374 <span class="s2">&quot;ax1&quot;</span>
1375 <span class="p">],</span>
1376 <span class="p">[</span>
1377 <span class="s2">&quot;axx1&quot;</span>
1378 <span class="p">]</span>
1379 <span class="p">]</span>
1380 <span class="p">]</span>
1381 <span class="p">]</span>
1382 </pre></div>
1383 </div>
1384 </li>
1385 <li><p>Fixed a bug that rehash failed or data in a table broke when rehash occurred that the table with <code class="docutils literal notranslate"><span class="pre">TABLE_HASH_KEY</span></code> has 2^28 or more records.</p></li>
1386 <li><p>Fixed a bug that highlight position slipped out of place in the following cases.</p>
1387 <ul>
1388 <li><p>If full width space existed before highlight target characters as below.</p>
1389 <p>We expected that Groonga returned <code class="docutils literal notranslate"><span class="pre">&quot;Groonga &lt;span</span> <span class="pre">class=\&quot;keyword\&quot;&gt;高&lt;/span&gt;速!&quot;</span></code>.
1390 However, Groonga returned <code class="docutils literal notranslate"><span class="pre">&quot;Groonga &lt;span</span> <span class="pre">class=\&quot;keyword\&quot;&gt;高速&lt;/span&gt;!&quot;</span></code> as below.</p>
1391 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">Entries</span> <span class="n">TABLE_NO_KEY</span>
1392 <span class="n">column_create</span> <span class="n">Entries</span> <span class="n">body</span> <span class="n">COLUMN_SCALAR</span> <span class="n">ShortText</span>
1393
1394 <span class="n">table_create</span> <span class="n">Terms</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">ShortText</span> \
1395 <span class="o">--</span><span class="n">default_tokenizer</span> <span class="s1">&#39;TokenNgram(&quot;report_source_location&quot;, true)&#39;</span> \
1396 <span class="o">--</span><span class="n">normalizer</span> <span class="s1">&#39;NormalizerNFKC150(&quot;report_source_offset&quot;, true)&#39;</span>
1397 <span class="n">column_create</span> <span class="n">Terms</span> <span class="n">document_index</span> <span class="n">COLUMN_INDEX</span><span class="o">|</span><span class="n">WITH_POSITION</span> <span class="n">Entries</span> <span class="n">body</span>
1398
1399 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Entries</span>
1400 <span class="p">[</span>
1401 <span class="p">{</span><span class="s2">&quot;body&quot;</span><span class="p">:</span> <span class="s2">&quot;Groonga 高速!&quot;</span><span class="p">}</span>
1402 <span class="p">]</span>
1403 <span class="n">select</span> <span class="n">Entries</span> \
1404 <span class="o">--</span><span class="n">output_columns</span> \
1405 <span class="o">--</span><span class="n">match_columns</span> <span class="n">body</span> \
1406 <span class="o">--</span><span class="n">query</span> <span class="s1">&#39;高&#39;</span> \
1407 <span class="o">--</span><span class="n">output_columns</span> <span class="s1">&#39;highlight_html(body, Terms)&#39;</span>
1408 <span class="p">[</span>
1409 <span class="p">[</span>
1410 <span class="mi">0</span><span class="p">,</span>
1411 <span class="mf">1715215640.979517</span><span class="p">,</span>
1412 <span class="mf">0.001608610153198242</span>
1413 <span class="p">],</span>
1414 <span class="p">[</span>
1415 <span class="p">[</span>
1416 <span class="p">[</span>
1417 <span class="mi">1</span>
1418 <span class="p">],</span>
1419 <span class="p">[</span>
1420 <span class="p">[</span>
1421 <span class="s2">&quot;highlight_html&quot;</span><span class="p">,</span>
1422 <span class="n">null</span>
1423 <span class="p">]</span>
1424 <span class="p">],</span>
1425 <span class="p">[</span>
1426 <span class="s2">&quot;Groonga &lt;span class=</span><span class="se">\&quot;</span><span class="s2">keyword</span><span class="se">\&quot;</span><span class="s2">&gt;高速&lt;/span&gt;!&quot;</span>
1427 <span class="p">]</span>
1428 <span class="p">]</span>
1429 <span class="p">]</span>
1430 <span class="p">]</span>
1431 </pre></div>
1432 </div>
1433 </li>
1434 <li><p>If we used <code class="docutils literal notranslate"><span class="pre">TokenNgram(&quot;loose_blank&quot;,</span> <span class="pre">true)</span></code> and if highlight target characters included full width space as below.</p>
1435 <p>We expected that Groonga returned <code class="docutils literal notranslate"><span class="pre">&quot;&lt;span</span> <span class="pre">class=\&quot;keyword\&quot;&gt;山田</span> <span class="pre">太郎&lt;/span&gt;&quot;</span></code>.
1436 However, Groonga returned <code class="docutils literal notranslate"><span class="pre">&quot;&lt;span</span> <span class="pre">class=\&quot;keyword\&quot;&gt;山田</span> <span class="pre">太&lt;/span&gt;&quot;</span></code> as below.</p>
1437 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">Entries</span> <span class="n">TABLE_NO_KEY</span>
1438 <span class="n">column_create</span> <span class="n">Entries</span> <span class="n">body</span> <span class="n">COLUMN_SCALAR</span> <span class="n">ShortText</span>
1439
1440 <span class="n">table_create</span> <span class="n">Terms</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">ShortText</span> \
1441 <span class="o">--</span><span class="n">default_tokenizer</span> <span class="s1">&#39;TokenNgram(&quot;loose_blank&quot;, true, &quot;report_source_location&quot;, true)&#39;</span> \
1442 <span class="o">--</span><span class="n">normalizer</span> <span class="s1">&#39;NormalizerNFKC150(&quot;report_source_offset&quot;, true)&#39;</span>
1443 <span class="n">column_create</span> <span class="n">Terms</span> <span class="n">document_index</span> <span class="n">COLUMN_INDEX</span><span class="o">|</span><span class="n">WITH_POSITION</span> <span class="n">Entries</span> <span class="n">body</span>
1444
1445 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Entries</span>
1446 <span class="p">[</span>
1447 <span class="p">{</span><span class="s2">&quot;body&quot;</span><span class="p">:</span> <span class="s2">&quot;山田 太郎&quot;</span><span class="p">}</span>
1448 <span class="p">]</span>
1449
1450 <span class="n">select</span> <span class="n">Entries</span> <span class="o">--</span><span class="n">output_columns</span> \
1451 <span class="o">--</span><span class="n">match_columns</span> <span class="n">body</span> <span class="o">--</span><span class="n">query</span> <span class="s1">&#39;山田太郎&#39;</span> \
1452 <span class="o">--</span><span class="n">output_columns</span> <span class="s1">&#39;highlight_html(body, Terms)&#39;</span> <span class="o">--</span><span class="n">output_pretty</span> <span class="n">yes</span>
1453 <span class="p">[</span>
1454 <span class="p">[</span>
1455 <span class="mi">0</span><span class="p">,</span>
1456 <span class="mf">1715220409.096246</span><span class="p">,</span>
1457 <span class="mf">0.0004854202270507812</span>
1458 <span class="p">],</span>
1459 <span class="p">[</span>
1460 <span class="p">[</span>
1461 <span class="p">[</span>
1462 <span class="mi">1</span>
1463 <span class="p">],</span>
1464 <span class="p">[</span>
1465 <span class="p">[</span>
1466 <span class="s2">&quot;highlight_html&quot;</span><span class="p">,</span>
1467 <span class="n">null</span>
1468 <span class="p">]</span>
1469 <span class="p">],</span>
1470 <span class="p">[</span>
1471 <span class="s2">&quot;&lt;span class=</span><span class="se">\&quot;</span><span class="s2">keyword</span><span class="se">\&quot;</span><span class="s2">&gt;山田 太&lt;/span&gt;&quot;</span>
1472 <span class="p">]</span>
1473 <span class="p">]</span>
1474 <span class="p">]</span>
1475 <span class="p">]</span>
1476 </pre></div>
1477 </div>
1478 </li>
1479 <li><p>If white space existed in the front of highlight target characters as below.</p>
1480 <p>We expected that Groonga returned <code class="docutils literal notranslate"><span class="pre">&quot;</span> <span class="pre">&lt;span</span> <span class="pre">class=\&quot;keyword\&quot;&gt;山&lt;/span&gt;田太郎&quot;</span></code>.
1481 However, Groonga returned <code class="docutils literal notranslate"><span class="pre">&quot;</span> <span class="pre">&lt;span</span> <span class="pre">class=\&quot;keyword\&quot;&gt;山&lt;/span&gt;&quot;</span></code> as below.</p>
1482 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">Entries</span> <span class="n">TABLE_NO_KEY</span>
1483 <span class="n">column_create</span> <span class="n">Entries</span> <span class="n">body</span> <span class="n">COLUMN_SCALAR</span> <span class="n">ShortText</span>
1484
1485 <span class="n">table_create</span> <span class="n">Terms</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">ShortText</span> \
1486 <span class="o">--</span><span class="n">default_tokenizer</span> <span class="s1">&#39;TokenNgram(&quot;report_source_location&quot;, true)&#39;</span> \
1487 <span class="o">--</span><span class="n">normalizer</span> <span class="s1">&#39;NormalizerNFKC150(&quot;report_source_offset&quot;, true)&#39;</span>
1488 <span class="n">column_create</span> <span class="n">Terms</span> <span class="n">document_index</span> <span class="n">COLUMN_INDEX</span><span class="o">|</span><span class="n">WITH_POSITION</span> <span class="n">Entries</span> <span class="n">body</span>
1489
1490 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Entries</span>
1491 <span class="p">[</span>
1492 <span class="p">{</span><span class="s2">&quot;body&quot;</span><span class="p">:</span> <span class="s2">&quot; 山田太郎&quot;</span><span class="p">}</span>
1493 <span class="p">]</span>
1494
1495 <span class="n">select</span> <span class="n">Entries</span> \
1496 <span class="o">--</span><span class="n">output_columns</span> \
1497 <span class="o">--</span><span class="n">match_columns</span> <span class="n">body</span> \
1498 <span class="o">--</span><span class="n">query</span> <span class="s1">&#39;山&#39;</span> \
1499 <span class="o">--</span><span class="n">output_columns</span> <span class="s1">&#39;highlight_html(body, Terms)&#39;</span> <span class="o">--</span><span class="n">output_pretty</span> <span class="n">yes</span>
1500 <span class="p">[</span>
1501 <span class="p">[</span>
1502 <span class="mi">0</span><span class="p">,</span>
1503 <span class="mf">1715221627.002193</span><span class="p">,</span>
1504 <span class="mf">0.001977920532226562</span>
1505 <span class="p">],</span>
1506 <span class="p">[</span>
1507 <span class="p">[</span>
1508 <span class="p">[</span>
1509 <span class="mi">1</span>
1510 <span class="p">],</span>
1511 <span class="p">[</span>
1512 <span class="p">[</span>
1513 <span class="s2">&quot;highlight_html&quot;</span><span class="p">,</span>
1514 <span class="n">null</span>
1515 <span class="p">]</span>
1516 <span class="p">],</span>
1517 <span class="p">[</span>
1518 <span class="s2">&quot; &lt;span class=</span><span class="se">\&quot;</span><span class="s2">keyword</span><span class="se">\&quot;</span><span class="s2">&gt;山&lt;/span&gt;&quot;</span>
1519 <span class="p">]</span>
1520 <span class="p">]</span>
1521 <span class="p">]</span>
1522 <span class="p">]</span>
1523 </pre></div>
1524 </div>
1525 </li>
1526 <li><p>If the second character of highlight target was full width space as below.</p>
1527 <p>We expected that Groonga returned <code class="docutils literal notranslate"><span class="pre">&quot;&lt;span</span> <span class="pre">class=\&quot;keyword\&quot;&gt;山 田&lt;/span&gt;太郎&quot;</span></code>.
1528 However, Groonga returned <code class="docutils literal notranslate"><span class="pre">&quot;&lt;span</span> <span class="pre">class=\&quot;keyword\&quot;&gt;山 田太&lt;/span&gt;郎&quot;</span></code> as below.</p>
1529 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">Entries</span> <span class="n">TABLE_NO_KEY</span>
1530 <span class="n">column_create</span> <span class="n">Entries</span> <span class="n">body</span> <span class="n">COLUMN_SCALAR</span> <span class="n">ShortText</span>
1531
1532 <span class="n">table_create</span> <span class="n">Terms</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">ShortText</span> \
1533 <span class="o">--</span><span class="n">default_tokenizer</span> <span class="s1">&#39;TokenNgram(&quot;report_source_location&quot;, true)&#39;</span> \
1534 <span class="o">--</span><span class="n">normalizer</span> <span class="s1">&#39;NormalizerNFKC150(&quot;report_source_offset&quot;, true)&#39;</span>
1535 <span class="n">column_create</span> <span class="n">Terms</span> <span class="n">document_index</span> <span class="n">COLUMN_INDEX</span><span class="o">|</span><span class="n">WITH_POSITION</span> <span class="n">Entries</span> <span class="n">body</span>
1536
1537 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Entries</span>
1538 <span class="p">[</span>
1539 <span class="p">{</span><span class="s2">&quot;body&quot;</span><span class="p">:</span> <span class="s2">&quot;山 田太郎&quot;</span><span class="p">}</span>
1540 <span class="p">]</span>
1541
1542 <span class="n">select</span> <span class="n">Entries</span> \
1543 <span class="o">--</span><span class="n">output_columns</span> \
1544 <span class="o">--</span><span class="n">match_columns</span> <span class="n">body</span> \
1545 <span class="o">--</span><span class="n">query</span> <span class="s1">&#39;山 田&#39;</span> \
1546 <span class="o">--</span><span class="n">output_columns</span> <span class="s1">&#39;highlight_html(body, Terms)&#39;</span>
1547 <span class="p">[</span>
1548 <span class="p">[</span>
1549 <span class="mi">0</span><span class="p">,</span>
1550 <span class="mf">1715222501.496007</span><span class="p">,</span>
1551 <span class="mf">0.0005536079406738281</span>
1552 <span class="p">],</span>
1553 <span class="p">[</span>
1554 <span class="p">[</span>
1555 <span class="p">[</span>
1556 <span class="mi">0</span>
1557 <span class="p">],</span>
1558 <span class="p">[</span>
1559 <span class="p">[</span>
1560 <span class="s2">&quot;highlight_html&quot;</span><span class="p">,</span>
1561 <span class="s2">&quot;&lt;span class=</span><span class="se">\&quot;</span><span class="s2">keyword</span><span class="se">\&quot;</span><span class="s2">&gt;山 田太&lt;/span&gt;郎&quot;</span>
1562 <span class="p">]</span>
1563 <span class="p">]</span>
1564 <span class="p">]</span>
1565 <span class="p">]</span>
1566 <span class="p">]</span>
1567 </pre></div>
1568 </div>
1569 </li>
1570 </ul>
1571 </li>
1572 </ul>
1573 </section>
1574 </section>
1575 <section id="release-14-0-2-2024-03-29">
1576 <span id="release-14-0-2"></span><h2>Release 14.0.2 - 2024-03-29<a class="headerlink" href="#release-14-0-2-2024-03-29" title="Link to this heading">#</a></h2>
1577 <section id="id20">
1578 <h3>Improvements<a class="headerlink" href="#id20" title="Link to this heading">#</a></h3>
1579 <ul>
1580 <li><p>Reduced a log level of a log when Groonga setting normalizers/tokenizer/token_filters against temporary table.</p>
1581 <p>For example, the target log of this modification is the following log.</p>
1582 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">DDL</span><span class="p">:</span><span class="mi">1234567890</span><span class="p">:</span><span class="n">set_normalizers</span> <span class="n">NormalizerAuto</span>
1583 </pre></div>
1584 </div>
1585 <p>PGroonga sets normalizers against temporary table on start. So, this log becomes noise.
1586 Because this log become output when PGroonga start because of PGroonga’s default log level is <code class="docutils literal notranslate"><span class="pre">notice</span></code>.</p>
1587 <p>Therefore, we reduce log level to <code class="docutils literal notranslate"><span class="pre">debug</span></code> for the log since this release.
1588 Thus, this log does not output when PGroonga start in default.</p>
1589 </li>
1590 </ul>
1591 </section>
1592 </section>
1593 <section id="release-14-0-1-2024-03-14">
1594 <span id="release-14-0-1"></span><h2>Release 14.0.1 - 2024-03-14<a class="headerlink" href="#release-14-0-1-2024-03-14" title="Link to this heading">#</a></h2>
1595 <section id="id21">
1596 <h3>Improvements<a class="headerlink" href="#id21" title="Link to this heading">#</a></h3>
1597 <ul>
1598 <li><p>[<a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a>] Stopped reporting an error when we <code class="docutils literal notranslate"><span class="pre">load</span></code> key that becomes an empty key by normalization.</p>
1599 <p><code class="docutils literal notranslate"><span class="pre">&quot;-&quot;</span></code> becomes <code class="docutils literal notranslate"><span class="pre">&quot;&quot;</span></code> with <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC150(&quot;remove_symbol&quot;,</span> <span class="pre">true)</span></code>. So the following case reports a “empty key” error.</p>
1600 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">Values</span> <span class="n">TABLE_HASH_KEY</span> <span class="n">ShortText</span> \
1601 <span class="o">--</span><span class="n">normalizers</span> <span class="s1">&#39;NormalizerNFKC150(&quot;remove_symbol&quot;, true)&#39;</span>
1602 <span class="n">table_create</span> <span class="n">Data</span> <span class="n">TABLE_NO_KEY</span>
1603 <span class="n">column_create</span> <span class="n">Data</span> <span class="n">value</span> <span class="n">COLUMN_SCALAR</span> <span class="n">Values</span>
1604 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Data</span>
1605 <span class="p">[</span>
1606 <span class="p">{</span><span class="s2">&quot;value&quot;</span><span class="p">:</span> <span class="s2">&quot;-&quot;</span><span class="p">}</span>
1607 <span class="p">]</span>
1608 </pre></div>
1609 </div>
1610 <p>However, if we many <code class="docutils literal notranslate"><span class="pre">load</span></code> in such data, many error log are generated.
1611 Because Groonga output many “empty key” error because of Groonga can’t register empty string to index.</p>
1612 <p>No problem even if empty string can’t register to index in such case.
1613 Because we don’t match anything even if we search by empty string. So, we stop reporting an “empty key” error in such case.</p>
1614 </li>
1615 </ul>
1616 </section>
1617 <section id="id22">
1618 <h3>Fixes<a class="headerlink" href="#id22" title="Link to this heading">#</a></h3>
1619 <ul>
1620 <li><p>Fixed a crash bug if a request is canceled <a class="reference internal" href="../reference/functions/between.html"><span class="doc">between</span></a> or range search.</p>
1621 <p>This bug doesn’t necessarily occur. This bug occur when we cancel a request in the specific timing.
1622 This bug occur easily when search time is long such as sequential search.</p>
1623 </li>
1624 <li><p>Fixed a bug that <a class="reference internal" href="../reference/functions/highlight_html.html"><span class="doc">highlight_html</span></a> may return invalid result when the following conditions are met.</p>
1625 <ul class="simple">
1626 <li><p>We use multiple normalizers such as <code class="docutils literal notranslate"><span class="pre">NormalizerTable</span></code> and <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC150</span></code>.</p></li>
1627 <li><p>We highlight string include whitespace.</p></li>
1628 </ul>
1629 <p>For example, this bug occur such as the following case.</p>
1630 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">table_create</span> <span class="n">NormalizationsIndex</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">ShortText</span> <span class="o">--</span><span class="n">normalizer</span> <span class="n">NormalizerAuto</span>
1631
1632 <span class="n">table_create</span> <span class="n">Normalizations</span> <span class="n">TABLE_HASH_KEY</span> <span class="n">UInt64</span>
1633 <span class="n">column_create</span> <span class="n">Normalizations</span> <span class="n">normalized</span> <span class="n">COLUMN_SCALAR</span> <span class="n">LongText</span>
1634 <span class="n">column_create</span> <span class="n">Normalizations</span> <span class="n">target</span> <span class="n">COLUMN_SCALAR</span> <span class="n">NormalizationsIndex</span>
1635
1636 <span class="n">column_create</span> <span class="n">NormalizationsIndex</span> <span class="n">index</span> <span class="n">COLUMN_INDEX</span> <span class="n">Normalizations</span> <span class="n">target</span>
1637
1638
1639 <span class="n">table_create</span> <span class="n">Lexicon</span> <span class="n">TABLE_PAT_KEY</span> <span class="n">ShortText</span> \
1640 <span class="o">--</span><span class="n">normalizers</span> <span class="s1">&#39;NormalizerTable(&quot;normalized&quot;, </span><span class="se">\</span>
1641 <span class="s1"> &quot;Normalizations.normalized&quot;, </span><span class="se">\</span>
1642 <span class="s1"> &quot;target&quot;, </span><span class="se">\</span>
1643 <span class="s1"> &quot;target&quot;), NormalizerNFKC150&#39;</span>
1644
1645 <span class="n">table_create</span> <span class="n">Names</span> <span class="n">TABLE_HASH_KEY</span> <span class="n">UInt64</span>
1646 <span class="n">column_create</span> <span class="n">Names</span> <span class="n">name</span> <span class="n">COLUMN_SCALAR</span> <span class="n">Lexicon</span>
1647
1648 <span class="n">load</span> <span class="o">--</span><span class="n">table</span> <span class="n">Names</span>
1649 <span class="p">[</span>
1650 <span class="p">[</span><span class="s2">&quot;_key&quot;</span><span class="p">,</span><span class="s2">&quot;name&quot;</span><span class="p">],</span>
1651 <span class="p">[</span><span class="mi">1</span><span class="p">,</span><span class="s2">&quot;Sato Toshio&quot;</span><span class="p">]</span>
1652 <span class="p">]</span>
1653
1654 <span class="n">select</span> <span class="n">Names</span> \
1655 <span class="o">--</span><span class="n">query</span> <span class="s1">&#39;_key:1 OR name._key:@&quot;Toshio&quot;&#39;</span> \
1656 <span class="o">--</span><span class="n">output_columns</span> <span class="s1">&#39;highlight_html(name._key, Lexicon)</span>
1657
1658 <span class="p">[</span>
1659 <span class="p">[</span>
1660 <span class="mi">0</span><span class="p">,</span>
1661 <span class="mf">1710401574.332274</span><span class="p">,</span>
1662 <span class="mf">0.001911401748657227</span>
1663 <span class="p">],</span>
1664 <span class="p">[</span>
1665 <span class="p">[</span>
1666 <span class="p">[</span>
1667 <span class="mi">1</span>
1668 <span class="p">],</span>
1669 <span class="p">[</span>
1670 <span class="p">[</span>
1671 <span class="s2">&quot;highlight_html&quot;</span><span class="p">,</span>
1672 <span class="n">null</span>
1673 <span class="p">]</span>
1674 <span class="p">],</span>
1675 <span class="p">[</span>
1676 <span class="s2">&quot;sato &lt;span class=</span><span class="se">\&quot;</span><span class="s2">keyword</span><span class="se">\&quot;</span><span class="s2">&gt;toshi&lt;/span&gt;o&quot;</span>
1677 <span class="p">]</span>
1678 <span class="p">]</span>
1679 <span class="p">]</span>
1680 <span class="p">]</span>
1681 </pre></div>
1682 </div>
1683 </li>
1684 <li><p>[<a class="reference internal" href="../install/ubuntu.html"><span class="doc">Ubuntu</span></a>] We become able to provide package for Ubuntu again.</p>
1685 <p>We don’t provide packages for Ubuntu in Groonga version 14.0.0.
1686 Because we fail making Groonga package for Ubuntu by problrm of build environment for Ubuntu package.</p>
1687 <p>We fixed problrm of build environment for Ubuntu package in 14.0.1. So, we can provide packages for Ubuntu again since this release.</p>
1688 </li>
1689 <li><p>Fixed build error when we build from source by using <a class="reference external" href="https://clang.llvm.org/"><code class="docutils literal notranslate"><span class="pre">clang</span></code></a>. [GitHub#1738][Reported by windymelt]</p></li>
1690 </ul>
1691 </section>
1692 <section id="id23">
1693 <h3>Thanks<a class="headerlink" href="#id23" title="Link to this heading">#</a></h3>
1694 <ul class="simple">
1695 <li><p>windymelt</p></li>
1696 </ul>
1697 </section>
1698 </section>
1699 <section id="release-14-0-0-2024-02-29">
1700 <span id="release-14-0-0"></span><h2>Release 14.0.0 - 2024-02-29<a class="headerlink" href="#release-14-0-0-2024-02-29" title="Link to this heading">#</a></h2>
1701 <p>This is a major version up!
1702 But It keeps backward compatibility. We can upgrade to 14.0.0 without rebuilding database.</p>
1703 <section id="id24">
1704 <h3>Improvements<a class="headerlink" href="#id24" title="Link to this heading">#</a></h3>
1705 <ul>
1706 <li><p>Added a new tokenizer <code class="docutils literal notranslate"><span class="pre">TokenH3Index</span></code> (experimental).</p>
1707 <p><code class="docutils literal notranslate"><span class="pre">TokenH3Index</span></code>tokenizes WGS84GetPoint to UInt64(H3 index).</p>
1708 </li>
1709 <li><p>Added support for offline and online index construction with non text based tokenizer (experimental).</p>
1710 <p><code class="docutils literal notranslate"><span class="pre">TokenH3Index</span></code> is one of non text based tokenizers.</p>
1711 </li>
1712 <li><p>[<a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a>] Added support for searching by index with non text based tokenizer (experimental).</p>
1713 <p><code class="docutils literal notranslate"><span class="pre">TokenH3Index</span></code> is one of non text based tokenizers.</p>
1714 </li>
1715 <li><p>Added new functions <code class="docutils literal notranslate"><span class="pre">distance_cosine()</span></code>, <code class="docutils literal notranslate"><span class="pre">distance_inner_product()</span></code>, <code class="docutils literal notranslate"><span class="pre">distance_l2_norm_squared()</span></code>, <code class="docutils literal notranslate"><span class="pre">distance_l1_norm()</span></code>.</p>
1716 <p>We can only get records that a small distance as vector with these functions and <code class="docutils literal notranslate"><span class="pre">limit</span> <span class="pre">N</span></code></p>
1717 <p>These functions calculate distance in the <code class="docutils literal notranslate"><span class="pre">output</span></code> stage.</p>
1718 <p>However, we don’t optimize these functions yet.</p>
1719 <ul class="simple">
1720 <li><p><code class="docutils literal notranslate"><span class="pre">distance_cosine()</span></code>: Calculate cosine similarity.</p></li>
1721 <li><p><code class="docutils literal notranslate"><span class="pre">distance_inner_product()</span></code>: Calculate inner product.</p></li>
1722 <li><p><code class="docutils literal notranslate"><span class="pre">distance_l2_norm_squared()</span></code>: Calculate euclidean distance.</p></li>
1723 <li><p><code class="docutils literal notranslate"><span class="pre">distance_l1_norm()</span></code>: Calculate manhattan distance.</p></li>
1724 </ul>
1725 </li>
1726 <li><p>Added a new function <code class="docutils literal notranslate"><span class="pre">number_round()</span></code>.</p></li>
1727 <li><p>[<a class="reference internal" href="../reference/commands/load.html"><span class="doc">load</span></a>] Added support for parallel <code class="docutils literal notranslate"><span class="pre">load</span></code>.</p>
1728 <p>This feature only enable when the <code class="docutils literal notranslate"><span class="pre">input_type</span></code> of <code class="docutils literal notranslate"><span class="pre">load</span></code> is <code class="docutils literal notranslate"><span class="pre">apache-arrow</span></code>.</p>
1729 <p>This feature one thread per column. If there are many target columns, it will reduce load time.</p>
1730 </li>
1731 <li><p>[<a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a>] We can use uvector as much as possible for array literal in <code class="docutils literal notranslate"><span class="pre">--filter</span></code>.</p>
1732 <p>uvector is vector of elements with fix size.</p>
1733 <p>If all elements have the same type, we use uvector instead vector.</p>
1734 </li>
1735 <li><p>[<a class="reference internal" href="../reference/commands/status.html"><span class="doc">status</span></a>] Added <code class="docutils literal notranslate"><span class="pre">n_workers</span></code> to output of <code class="docutils literal notranslate"><span class="pre">status</span></code>.</p></li>
1736 <li><p>Optimized a dynamic column creation.</p></li>
1737 <li><p>[WAL] Added support for rebuilding broken indexes in parallel.</p></li>
1738 <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">Int64</span></code> in <code class="docutils literal notranslate"><span class="pre">output_type=apache-arrow</span></code> for columns that reference other table.</p></li>
1739 </ul>
1740 </section>
1741 <section id="id25">
1742 <h3>Fixes<a class="headerlink" href="#id25" title="Link to this heading">#</a></h3>
1743 <ul>
1744 <li><p>[Windows] Fixed path for documents of <code class="docutils literal notranslate"><span class="pre">groonga-normalizer-mysql</span></code> in package for Windows.</p>
1745 <p>Documents of <code class="docutils literal notranslate"><span class="pre">groonga-normalizer-mysql</span></code> put under the <code class="docutils literal notranslate"><span class="pre">share/</span></code> in this release.</p>
1746 </li>
1747 <li><p>[<a class="reference internal" href="../reference/commands/select.html"><span class="doc">select</span></a>] Fixed a bug that Groonga may crash when we use bitwise operations.</p></li>
1748 </ul>
1749 </section>
1750 </section>
1751 </section>
1752
1753
1754 </article>
1755
1756
1757
1758
1759
1760 <footer class="prev-next-footer d-print-none">
1761
1762 <div class="prev-next-area">
1763 </div>
1764 </footer>
1765
1766 </div>
1767
1768
1769
1770 <dialog id="pst-secondary-sidebar-modal"></dialog>
1771 <div id="pst-secondary-sidebar" class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">
1772
1773
1774 <div class="sidebar-secondary-item">
1775 <div
1776 id="pst-page-navigation-heading-2"
1777 class="page-toc tocsection onthispage">
1778 <i class="fa-solid fa-list"></i> On this page
1779 </div>
1780 <nav id="pst-page-toc-nav" class="page-toc" aria-labelledby="pst-page-navigation-heading-2">
1781 <ul class="pst-show_toc_level nav section-nav flex-column">
1782 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-1-3-2025-01-29">Release 14.1.3 - 2025-01-29</a><ul class="nav section-nav flex-column">
1783 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#improvements">Improvements</a><ul class="nav section-nav flex-column">
1784 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#offline-index-construction-added-support-for-parallel-execution"><span class="xref std std-ref">offline-index-construction</span>: Added support for parallel execution</a></li>
1785 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-functions-language-model-vectorize-added-support-for-phi-4"><span class="xref std std-doc">/reference/functions/language_model_vectorize</span>: Added support for Phi-4</a></li>
1786 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#added-reference-normalizers-normalizer-nfkc">Added <span class="xref std std-doc">/reference/normalizers/normalizer_nfkc</span></a></li>
1787 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#added-reference-token-filters-token-filter-nfkc">Added <span class="xref std std-doc">/reference/token_filters/token_filter_nfkc</span></a></li>
1788 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#install-amazon-linux-added-support-for-amazon-linux-2023-aarch64"><span class="xref std std-doc">/install/amazon_linux</span>: Added support for Amazon Linux 2023 aarch64</a></li>
1789 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-commands-index-column-diff-added-support-for-changing-log-level-for-progress-logs"><span class="xref std std-doc">/reference/commands/index_column_diff</span>: Added support for changing log level for progress logs</a></li>
1790 </ul>
1791 </li>
1792 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#fixes">Fixes</a><ul class="nav section-nav flex-column">
1793 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#fixed-a-bug-that-deb-rpm-packages-can-t-be-used-on-machines-that-don-t-have-avx">Fixed a bug that deb/rpm packages can’t be used on machines that don’t have AVX</a></li>
1794 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#table-pat-key-fixed-a-bug-that-existing-key-may-be-broken-after-reference-commands-defrag"><span class="xref std std-ref">table-pat-key</span>: Fixed a bug that existing key may be broken after <span class="xref std std-doc">/reference/commands/defrag</span></a></li>
1795 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#table-pat-key-fixed-a-bug-that-some-wals-are-missing-for-reference-commands-defrag"><span class="xref std std-ref">table-pat-key</span>: Fixed a bug that some WALs are missing for <span class="xref std std-doc">/reference/commands/defrag</span></a></li>
1796 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-commands-defrag-fixed-a-bug-that-columns-of-table-pat-key-aren-t-processed"><span class="xref std std-doc">/reference/commands/defrag</span>: Fixed a bug that columns of <span class="xref std std-ref">table-pat-key</span> aren’t processed</a></li>
1797 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-columns-index-fixed-an-offline-index-construction-bug"><span class="xref std std-doc">/reference/columns/index</span>: Fixed an <span class="xref std std-ref">offline-index-construction</span> bug</a></li>
1798 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#table-hash-key-fixed-a-bug-that-garbage-entry-may-not-be-reused"><span class="xref std std-ref">table-hash-key</span>: Fixed a bug that garbage entry may not be reused</a></li>
1799 </ul>
1800 </li>
1801 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#thanks">Thanks</a></li>
1802 </ul>
1803 </li>
1804 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-1-2-2024-12-24">Release 14.1.2 - 2024-12-24</a><ul class="nav section-nav flex-column">
1805 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id1">Improvements</a><ul class="nav section-nav flex-column">
1806 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#relicensed-to-lgpl-2-1-or-later-from-lgpl-2-1-only">Relicensed to LGPL-2.1-or-later from LGPL-2.1-only</a></li>
1807 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-commands-delete-added-support-for-reference-weight-vector"><span class="xref std std-doc">/reference/commands/delete</span>: Added support for reference weight vector</a></li>
1808 </ul>
1809 </li>
1810 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id2">Fixes</a><ul class="nav section-nav flex-column">
1811 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-columns-vector-fixed-a-bug-that-needed-cast-may-not-be-done"><span class="xref std std-doc">/reference/columns/vector</span>: Fixed a bug that needed cast may not be done</a></li>
1812 </ul>
1813 </li>
1814 </ul>
1815 </li>
1816 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-1-1-2024-12-03">Release 14.1.1 - 2024-12-03</a><ul class="nav section-nav flex-column">
1817 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id3">Improvements</a><ul class="nav section-nav flex-column">
1818 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#stopped-vendoring-rapidjson">Stopped vendoring RapidJSON</a></li>
1819 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#made-llama-cpp-initialization-lazy">Made llama.cpp initialization lazy</a></li>
1820 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#normalizernfkc-added-support-for-mixing-unify-middle-dot-and-remove-symbol"><code class="docutils literal notranslate"><span class="pre">NormalizerNFKC</span></code>: Added support for mixing <code class="docutils literal notranslate"><span class="pre">unify_middle_dot</span></code> and <code class="docutils literal notranslate"><span class="pre">remove_symbol</span></code></a></li>
1821 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-commands-defrag-added-support-for-table-pat-key"><span class="xref std std-doc">/reference/commands/defrag</span>: Added support for <span class="xref std std-ref">table-pat-key</span></a></li>
1822 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-commands-load-improved-error-handling"><span class="xref std std-doc">/reference/commands/load</span>: Improved error handling</a></li>
1823 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-executables-groonga-added-context-id-log-flag"><span class="xref std std-doc">/reference/executables/groonga</span>: Added <code class="docutils literal notranslate"><span class="pre">context_id</span></code> log flag</a></li>
1824 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-executables-groonga-improved-error-handling"><span class="xref std std-doc">/reference/executables/groonga</span>: Improved error handling</a></li>
1825 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#table-pat-key-improved-key-space-efficiency"><span class="xref std std-ref">table-pat-key</span>: Improved key space efficiency</a></li>
1826 </ul>
1827 </li>
1828 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id4">Fixes</a><ul class="nav section-nav flex-column">
1829 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#grn-pat-size-fixed-a-bug-that-0-may-not-be-returned-on-error"><code class="docutils literal notranslate"><span class="pre">grn_pat_size()</span></code>: Fixed a bug that <code class="docutils literal notranslate"><span class="pre">0</span></code> may not be returned on error</a></li>
1830 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-regular-expression-fixed-a-bug-with-an-empty-pattern"><span class="xref std std-doc">/reference/regular_expression</span>: Fixed a bug with an empty pattern</a></li>
1831 </ul>
1832 </li>
1833 </ul>
1834 </li>
1835 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-1-0-2024-11-05">Release 14.1.0 - 2024-11-05</a><ul class="nav section-nav flex-column">
1836 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id5">Improvements</a><ul class="nav section-nav flex-column">
1837 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-commands-status-added-features-llama-cpp-entry">[<span class="xref std std-doc">/reference/commands/status</span>] Added <code class="docutils literal notranslate"><span class="pre">.["features"]["llama.cpp"]</span></code> entry</a></li>
1838 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-functions-language-model-vectorize-added-experimental">[<span class="xref std std-doc">/reference/functions/language_model_vectorize</span>] Added (Experimental)</a></li>
1839 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-commands-column-create-added-the-column-create-generator-parameter">[<span class="xref std std-doc">/reference/commands/column_create</span>] Added the <span class="xref std std-ref">column-create-generator</span> parameter</a></li>
1840 </ul>
1841 </li>
1842 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id6">Fixes</a><ul class="nav section-nav flex-column">
1843 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#server-gqtp-fixed-a-bug-that-wrong-return-code-is-returned">[<span class="xref std std-doc">/server/gqtp</span>] Fixed a bug that wrong return code is returned</a></li>
1844 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-commands-logical-range-filter-fixed-a-bug-that-invalid-json-format-response-may-be-returned">[<span class="xref std std-doc">/reference/commands/logical_range_filter</span>] Fixed a bug that invalid JSON format response may be returned</a></li>
1845 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-commands-request-cancel-fixed-a-bug-that-invalid-json-format-response-may-be-returned">[<span class="xref std std-doc">/reference/commands/request_cancel</span>] Fixed a bug that invalid JSON format response may be returned</a></li>
1846 <li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#reference-commands-index-column-diff-fixed-a-bug-that-false-positive-diff-may-be-reported">[<span class="xref std std-doc">/reference/commands/index_column_diff</span>] Fixed a bug that false positive diff may be reported</a></li>
1847 </ul>
1848 </li>
1849 </ul>
1850 </li>
1851 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-0-9-2024-09-27">Release 14.0.9 - 2024-09-27</a><ul class="nav section-nav flex-column">
1852 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id7">Fixes</a></li>
1853 </ul>
1854 </li>
1855 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-0-8-2024-09-25">Release 14.0.8 - 2024-09-25</a><ul class="nav section-nav flex-column">
1856 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id8">Improvements</a></li>
1857 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id9">Fixes</a></li>
1858 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id10">Thanks</a></li>
1859 </ul>
1860 </li>
1861 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-0-7-2024-09-03">Release 14.0.7 - 2024-09-03</a><ul class="nav section-nav flex-column">
1862 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id11">Improvements</a></li>
1863 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id12">Fixes</a></li>
1864 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id13">Thanks</a></li>
1865 </ul>
1866 </li>
1867 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-0-6-2024-07-29">Release 14.0.6 - 2024-07-29</a><ul class="nav section-nav flex-column">
1868 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id14">Improvements</a></li>
1869 </ul>
1870 </li>
1871 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-0-5-2024-07-04">Release 14.0.5 - 2024-07-04</a><ul class="nav section-nav flex-column">
1872 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id15">Improvements</a></li>
1873 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id16">Fixes</a></li>
1874 </ul>
1875 </li>
1876 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-0-4-2024-05-29">Release 14.0.4 - 2024-05-29</a><ul class="nav section-nav flex-column">
1877 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id17">Fixes</a></li>
1878 </ul>
1879 </li>
1880 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-0-3-2024-05-09">Release 14.0.3 - 2024-05-09</a><ul class="nav section-nav flex-column">
1881 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id18">Improvements</a></li>
1882 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id19">Fixes</a></li>
1883 </ul>
1884 </li>
1885 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-0-2-2024-03-29">Release 14.0.2 - 2024-03-29</a><ul class="nav section-nav flex-column">
1886 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id20">Improvements</a></li>
1887 </ul>
1888 </li>
1889 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-0-1-2024-03-14">Release 14.0.1 - 2024-03-14</a><ul class="nav section-nav flex-column">
1890 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id21">Improvements</a></li>
1891 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id22">Fixes</a></li>
1892 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id23">Thanks</a></li>
1893 </ul>
1894 </li>
1895 <li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#release-14-0-0-2024-02-29">Release 14.0.0 - 2024-02-29</a><ul class="nav section-nav flex-column">
1896 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id24">Improvements</a></li>
1897 <li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id25">Fixes</a></li>
1898 </ul>
1899 </li>
1900 </ul>
1901 </nav></div>
1902
1903 <div class="sidebar-secondary-item">
1904
1905
1906 <div class="tocsection editthispage">
1907 <a href="https://github.com/groonga/groonga/edit/main/doc/source/news/14.md">
1908 <i class="fa-solid fa-pencil"></i>
1909
1910
1911
1912 Edit on GitHub
1913
1914
1915 </a>
1916 </div>
1917 </div>
1918
1919 </div></div>
1920
1921
1922 </div>
1923 <footer class="bd-footer-content">
1924
1925 </footer>
1926
1927 </main>
1928 </div>
1929 </div>
1930
1931 <!-- Scripts loaded after <body> so the DOM is not blocked -->
1932 <script defer src="../_static/scripts/bootstrap.js?digest=0790524f97105ba85085"></script>
1933 <script defer src="../_static/scripts/pydata-sphinx-theme.js?digest=0790524f97105ba85085"></script>
1934
1935 <footer class="bd-footer">
1936 <div class="bd-footer__inner bd-page-width">
1937
1938 <div class="footer-items__start">
1939
1940 <div class="footer-item">
1941
1942 <p class="copyright">
1943
1944 © Copyright 2009-2026 Groonga Project.
1945 <br/>
1946
1947 </p>
1948 </div>
1949
1950 </div>
1951
1952
1953
1954 <div class="footer-items__end">
1955
1956 <div class="footer-item">
1957 <p class="theme-version">
1958 <!-- # L10n: Setting the PST URL as an argument as this does not need to be localized -->
1959 Built with the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> 0.18.0.
1960 </p></div>
1961
1962 </div>
1963
1964 </div>
1965
1966 </footer>
1967 </body>
1968 </html>