| 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>7.1.8. groonga-suggest-httpd — Groonga v16.0.9 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 |
|
| 21 |
|
| 22 |
<noscript> |
| 23 |
<style> |
| 24 |
.pst-js-only { display: none !important; } |
| 25 |
|
| 26 |
</style> |
| 27 |
</noscript> |
| 28 |
|
| 29 |
|
| 30 |
<link href="../../_static/styles/theme.css?digest=90905a2f556bf617f1a9" rel="stylesheet" /> |
| 31 |
<link href="../../_static/styles/pydata-sphinx-theme.css?digest=90905a2f556bf617f1a9" rel="stylesheet" /> |
| 32 |
|
| 33 |
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=8f2a1f02" /> |
| 34 |
|
| 35 |
|
| 36 |
<script defer src="../../_static/scripts/fontawesome.js?digest=90905a2f556bf617f1a9"></script> |
| 37 |
|
| 38 |
<link rel="preload" as="script" href="../../_static/scripts/bootstrap.js?digest=90905a2f556bf617f1a9" /> |
| 39 |
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=90905a2f556bf617f1a9" /> |
| 40 |
|
| 41 |
<script src="../../_static/documentation_options.js?v=2fcb8d4f"></script> |
| 42 |
<script src="../../_static/doctools.js?v=fd6eb6e6"></script> |
| 43 |
<script src="../../_static/sphinx_highlight.js?v=6ffebe34"></script> |
| 44 |
<script> |
| 45 |
window.dataLayer = window.dataLayer || []; |
| 46 |
function gtag(){ dataLayer.push(arguments); } |
| 47 |
gtag('consent', 'default', { |
| 48 |
'ad_storage': 'denied', |
| 49 |
'ad_user_data': 'denied', |
| 50 |
'ad_personalization': 'denied', |
| 51 |
'analytics_storage': 'denied' |
| 52 |
}); |
| 53 |
</script> |
| 54 |
<script async="async" src="https://www.googletagmanager.com/gtag/js?id=G-MDK38RHNPW"></script> |
| 55 |
<script> |
| 56 |
window.dataLayer = window.dataLayer || []; |
| 57 |
function gtag(){dataLayer.push(arguments);} |
| 58 |
gtag('js', new Date()); |
| 59 |
gtag('config', 'G-MDK38RHNPW'); |
| 60 |
</script> |
| 61 |
<script>DOCUMENTATION_OPTIONS.pagename = 'reference/executables/groonga-suggest-httpd';</script> |
| 62 |
<script> |
| 63 |
DOCUMENTATION_OPTIONS.theme_version = '0.20.0'; |
| 64 |
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://groonga.org/docs/_static/switcher.json'; |
| 65 |
DOCUMENTATION_OPTIONS.theme_switcher_version_match = 'english'; |
| 66 |
DOCUMENTATION_OPTIONS.show_version_warning_banner = |
| 67 |
false; |
| 68 |
</script> |
| 69 |
<script>DOCUMENTATION_OPTIONS.search_as_you_type = false;</script> |
| 70 |
<link rel="icon" href="../../_static/favicon.ico"/> |
| 71 |
<link rel="index" title="Index" href="../../genindex.html" /> |
| 72 |
<link rel="search" title="Search" href="../../search.html" /> |
| 73 |
<link rel="next" title="7.1.9. groonga-suggest-learner" href="groonga-suggest-learner.html" /> |
| 74 |
<link rel="prev" title="7.1.7. groonga-suggest-create-dataset" href="groonga-suggest-create-dataset.html" /> |
| 75 |
<meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 76 |
<meta name="docsearch:language" content="en"/> |
| 77 |
<meta name="docsearch:version" content="16.0.9" /> |
| 78 |
|
| 79 |
|
| 80 |
<script src="../../_static/searchtools.js"></script> |
| 81 |
<script src="../../_static/language_data.js"></script> |
| 82 |
<script src="../../searchindex.js"></script> |
| 83 |
|
| 84 |
</head> |
| 85 |
<body data-default-mode=""> |
| 86 |
|
| 87 |
|
| 88 |
<div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">Skip to main content</a></div> |
| 89 |
|
| 90 |
|
| 91 |
<div id="pst-scroll-pixel-helper"></div> |
| 92 |
|
| 93 |
<button type="button" class="btn rounded-pill" id="pst-back-to-top"> |
| 94 |
<i class="fa-solid fa-arrow-up"></i>Back to top</button> |
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
<dialog id="pst-search-dialog"> |
| 100 |
|
| 101 |
<form class="bd-search d-flex align-items-center" |
| 102 |
action="../../search.html" |
| 103 |
method="get"> |
| 104 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 105 |
<input type="search" |
| 106 |
class="form-control" |
| 107 |
name="q" |
| 108 |
placeholder="Search the docs ..." |
| 109 |
aria-label="Search the docs ..." |
| 110 |
autocomplete="off" |
| 111 |
autocorrect="off" |
| 112 |
autocapitalize="off" |
| 113 |
spellcheck="false"/> |
| 114 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span> |
| 115 |
</form> |
| 116 |
</dialog> |
| 117 |
|
| 118 |
<div class="pst-async-banner-revealer d-none"> |
| 119 |
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside> |
| 120 |
</div> |
| 121 |
|
| 122 |
|
| 123 |
<header id="pst-header" class="bd-header navbar navbar-expand-lg bd-navbar d-print-none"> |
| 124 |
<div class="bd-header__inner bd-page-width"> |
| 125 |
<button class="pst-navbar-icon sidebar-toggle primary-toggle" aria-label="Site navigation"> |
| 126 |
<span class="fa-solid fa-bars"></span> |
| 127 |
</button> |
| 128 |
|
| 129 |
|
| 130 |
<div class="col-lg-3 navbar-header-items__start"> |
| 131 |
|
| 132 |
<div class="navbar-item"> |
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
<a class="navbar-brand logo" href="https://groonga.org/"> |
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
<img src="../../_static/groonga.png" class="logo__image only-light" alt="Groonga v16.0.9 documentation - Home"/> |
| 150 |
<img src="../../_static/groonga.png" class="logo__image only-dark pst-js-only" alt="Groonga v16.0.9 documentation - Home"/> |
| 151 |
|
| 152 |
|
| 153 |
</a></div> |
| 154 |
|
| 155 |
</div> |
| 156 |
|
| 157 |
<div class="col-lg-9 navbar-header-items"> |
| 158 |
|
| 159 |
|
| 160 |
<div class="navbar-header-items__end"> |
| 161 |
|
| 162 |
<div class="navbar-item navbar-persistent--container"> |
| 163 |
|
| 164 |
|
| 165 |
<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"> |
| 166 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 167 |
<span class="search-button__default-text">Search</span> |
| 168 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 169 |
</button> |
| 170 |
</div> |
| 171 |
|
| 172 |
|
| 173 |
<div class="navbar-item"> |
| 174 |
|
| 175 |
<div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode"> |
| 176 |
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown"> |
| 177 |
<i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="Light"></i> |
| 178 |
<i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="Dark"></i> |
| 179 |
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i> |
| 180 |
</button> |
| 181 |
<ul class="dropdown-menu dropdown-menu-end"> |
| 182 |
<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> |
| 183 |
<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> |
| 184 |
<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> |
| 185 |
</ul> |
| 186 |
</div></div> |
| 187 |
|
| 188 |
<div class="navbar-item"><ul class="navbar-icon-links" |
| 189 |
aria-label="Icon Links"> |
| 190 |
<li class="nav-item"> |
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
|
| 198 |
|
| 199 |
<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> |
| 200 |
</li> |
| 201 |
<li class="nav-item"> |
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
|
| 210 |
<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> |
| 211 |
</li> |
| 212 |
<li class="nav-item"> |
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
|
| 221 |
<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> |
| 222 |
</li> |
| 223 |
</ul></div> |
| 224 |
|
| 225 |
<div class="navbar-item"> |
| 226 |
<div class="version-switcher__container dropdown pst-js-only"> |
| 227 |
<button id="pst-version-switcher-button-2" |
| 228 |
type="button" |
| 229 |
class="version-switcher__button btn btn-sm dropdown-toggle" |
| 230 |
data-bs-toggle="dropdown" |
| 231 |
aria-haspopup="listbox" |
| 232 |
aria-controls="pst-version-switcher-list-2" |
| 233 |
aria-label="Version switcher list" |
| 234 |
> |
| 235 |
Choose version |
| 236 |
<span class="caret"></span> |
| 237 |
</button> |
| 238 |
<div id="pst-version-switcher-list-2" |
| 239 |
class="version-switcher__menu dropdown-menu list-group-flush py-0" |
| 240 |
role="listbox" aria-labelledby="pst-version-switcher-button-2"> |
| 241 |
|
| 242 |
</div> |
| 243 |
</div></div> |
| 244 |
|
| 245 |
</div> |
| 246 |
|
| 247 |
</div> |
| 248 |
|
| 249 |
|
| 250 |
<div class="navbar-persistent--mobile"> |
| 251 |
|
| 252 |
<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"> |
| 253 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 254 |
<span class="search-button__default-text">Search</span> |
| 255 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 256 |
</button> |
| 257 |
</div> |
| 258 |
|
| 259 |
|
| 260 |
|
| 261 |
<button class="pst-navbar-icon sidebar-toggle secondary-toggle" aria-label="On this page"> |
| 262 |
<span class="fa-solid fa-outdent"></span> |
| 263 |
</button> |
| 264 |
|
| 265 |
</div> |
| 266 |
|
| 267 |
</header> |
| 268 |
|
| 269 |
|
| 270 |
<div class="bd-container"> |
| 271 |
<div class="bd-container__inner bd-page-width"> |
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
<dialog id="pst-primary-sidebar-modal"></dialog> |
| 276 |
<div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar"> |
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
<div class="sidebar-header-items sidebar-primary__section"> |
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
<div class="sidebar-header-items__end"> |
| 286 |
|
| 287 |
<div class="navbar-item"> |
| 288 |
|
| 289 |
<div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode"> |
| 290 |
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown"> |
| 291 |
<i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="Light"></i> |
| 292 |
<i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="Dark"></i> |
| 293 |
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i> |
| 294 |
</button> |
| 295 |
<ul class="dropdown-menu dropdown-menu-end"> |
| 296 |
<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> |
| 297 |
<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> |
| 298 |
<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> |
| 299 |
</ul> |
| 300 |
</div></div> |
| 301 |
|
| 302 |
<div class="navbar-item"><ul class="navbar-icon-links" |
| 303 |
aria-label="Icon Links"> |
| 304 |
<li class="nav-item"> |
| 305 |
|
| 306 |
|
| 307 |
|
| 308 |
|
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
<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> |
| 314 |
</li> |
| 315 |
<li class="nav-item"> |
| 316 |
|
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
<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> |
| 325 |
</li> |
| 326 |
<li class="nav-item"> |
| 327 |
|
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
|
| 333 |
|
| 334 |
|
| 335 |
<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> |
| 336 |
</li> |
| 337 |
</ul></div> |
| 338 |
|
| 339 |
<div class="navbar-item"> |
| 340 |
<div class="version-switcher__container dropdown pst-js-only"> |
| 341 |
<button id="pst-version-switcher-button-3" |
| 342 |
type="button" |
| 343 |
class="version-switcher__button btn btn-sm dropdown-toggle" |
| 344 |
data-bs-toggle="dropdown" |
| 345 |
aria-haspopup="listbox" |
| 346 |
aria-controls="pst-version-switcher-list-3" |
| 347 |
aria-label="Version switcher list" |
| 348 |
> |
| 349 |
Choose version |
| 350 |
<span class="caret"></span> |
| 351 |
</button> |
| 352 |
<div id="pst-version-switcher-list-3" |
| 353 |
class="version-switcher__menu dropdown-menu list-group-flush py-0" |
| 354 |
role="listbox" aria-labelledby="pst-version-switcher-button-3"> |
| 355 |
|
| 356 |
</div> |
| 357 |
</div></div> |
| 358 |
|
| 359 |
</div> |
| 360 |
|
| 361 |
</div> |
| 362 |
|
| 363 |
<div class="sidebar-primary-items__start sidebar-primary__section"> |
| 364 |
<div class="sidebar-primary-item pst-sidebar-collapse"><button id="pst-collapse-sidebar-button" aria-expanded="true" aria-controls="pst-primary-sidebar"> |
| 365 |
<svg class="pst-icon" role="img" aria-hidden="true" focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> |
| 366 |
<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"/> |
| 367 |
</svg> |
| 368 |
<span class="pst-collapse-sidebar-label">Collapse Sidebar</span> |
| 369 |
<span class="pst-expand-sidebar-label">Expand Sidebar</span> |
| 370 |
</button></div> |
| 371 |
<div class="sidebar-primary-item"> |
| 372 |
|
| 373 |
<nav class="bd-docs-nav bd-links" |
| 374 |
aria-label="Section Navigation"> |
| 375 |
<p class="bd-links__title" role="heading" aria-level="1">Section Navigation</p> |
| 376 |
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav"> |
| 377 |
<li class="toctree-l1 current active has-children"><a class="reference internal" href="../executables.html">7.1. Executables</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul class="current"> |
| 378 |
<li class="toctree-l2"><a class="reference internal" href="grndb.html">7.1.1. <code class="docutils literal notranslate"><span class="pre">grndb</span></code></a></li> |
| 379 |
<li class="toctree-l2"><a class="reference internal" href="grnslap.html">7.1.2. grnslap</a></li> |
| 380 |
<li class="toctree-l2"><a class="reference internal" href="groonga.html">7.1.3. <code class="docutils literal notranslate"><span class="pre">groonga</span></code> executable file</a></li> |
| 381 |
<li class="toctree-l2"><a class="reference internal" href="groonga-benchmark.html">7.1.4. groonga-benchmark</a></li> |
| 382 |
<li class="toctree-l2"><a class="reference internal" href="groonga-httpd.html">7.1.5. groonga-httpd</a></li> |
| 383 |
<li class="toctree-l2"><a class="reference internal" href="groonga-server-http.html">7.1.6. Groonga HTTP server</a></li> |
| 384 |
<li class="toctree-l2"><a class="reference internal" href="groonga-suggest-create-dataset.html">7.1.7. groonga-suggest-create-dataset</a></li> |
| 385 |
<li class="toctree-l2 current active"><a class="current reference internal" href="#">7.1.8. <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code></a></li> |
| 386 |
<li class="toctree-l2"><a class="reference internal" href="groonga-suggest-learner.html">7.1.9. groonga-suggest-learner</a></li> |
| 387 |
</ul> |
| 388 |
</details></li> |
| 389 |
<li class="toctree-l1"><a class="reference internal" href="../output.html">7.2. Output</a></li> |
| 390 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../command.html">7.3. Command</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 391 |
<li class="toctree-l2"><a class="reference internal" href="../command/command_version.html">7.3.1. Command version</a></li> |
| 392 |
<li class="toctree-l2"><a class="reference internal" href="../command/n_workers.html">7.3.2. Parallel execution</a></li> |
| 393 |
<li class="toctree-l2"><a class="reference internal" href="../command/output_format.html">7.3.3. Output format</a></li> |
| 394 |
<li class="toctree-l2"><a class="reference internal" href="../command/output_trace_log.html">7.3.4. Output trace log</a></li> |
| 395 |
<li class="toctree-l2"><a class="reference internal" href="../command/pretty_print.html">7.3.5. Pretty print</a></li> |
| 396 |
<li class="toctree-l2"><a class="reference internal" href="../command/request_id.html">7.3.6. Request ID</a></li> |
| 397 |
<li class="toctree-l2"><a class="reference internal" href="../command/request_timeout.html">7.3.7. Request timeout</a></li> |
| 398 |
<li class="toctree-l2 has-children"><a class="reference internal" href="../command/return_code.html">7.3.8. Return code</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 399 |
<li class="toctree-l3"><a class="reference internal" href="../command/return_codes/grn_operation_not_permitted.html">7.3.8.3.1. <code class="docutils literal notranslate"><span class="pre">-2:</span> <span class="pre">GRN_OPERATION_NOT_PERMITTED</span></code></a></li> |
| 400 |
<li class="toctree-l3"><a class="reference internal" href="../command/return_codes/grn_no_such_file_or_directory.html">7.3.8.3.2. <code class="docutils literal notranslate"><span class="pre">-3:</span> <span class="pre">GRN_NO_SUCH_FILE_OR_DIRECTORY</span></code></a></li> |
| 401 |
<li class="toctree-l3"><a class="reference internal" href="../command/return_codes/grn_input_output_error.html">7.3.8.3.3. <code class="docutils literal notranslate"><span class="pre">-6:</span> <span class="pre">GRN_INPUT_OUTPUT_ERROR</span></code></a></li> |
| 402 |
<li class="toctree-l3"><a class="reference internal" href="../command/return_codes/grn_not_enough_space.html">7.3.8.3.4. <code class="docutils literal notranslate"><span class="pre">-13:</span> <span class="pre">GRN_NOT_ENOUGH_SPACE</span></code></a></li> |
| 403 |
<li class="toctree-l3"><a class="reference internal" href="../command/return_codes/grn_invalid_argument.html">7.3.8.3.5. <code class="docutils literal notranslate"><span class="pre">-22:</span> <span class="pre">GRN_INVALID_ARGUMENT</span></code></a></li> |
| 404 |
<li class="toctree-l3"><a class="reference internal" href="../command/return_codes/grn_resource_deadlock_avoided.html">7.3.8.3.6. <code class="docutils literal notranslate"><span class="pre">-34:</span> <span class="pre">GRN_RESOURCE_DEADLOCK_AVOIDED</span></code></a></li> |
| 405 |
</ul> |
| 406 |
</details></li> |
| 407 |
<li class="toctree-l2"><a class="reference internal" href="../commands/cache_limit.html">7.3.9. <code class="docutils literal notranslate"><span class="pre">cache_limit</span></code></a></li> |
| 408 |
<li class="toctree-l2"><a class="reference internal" href="../commands/check.html">7.3.10. <code class="docutils literal notranslate"><span class="pre">check</span></code></a></li> |
| 409 |
<li class="toctree-l2"><a class="reference internal" href="../commands/clearlock.html">7.3.11. <code class="docutils literal notranslate"><span class="pre">clearlock</span></code></a></li> |
| 410 |
<li class="toctree-l2"><a class="reference internal" href="../commands/column_copy.html">7.3.12. <code class="docutils literal notranslate"><span class="pre">column_copy</span></code></a></li> |
| 411 |
<li class="toctree-l2"><a class="reference internal" href="../commands/column_create.html">7.3.13. <code class="docutils literal notranslate"><span class="pre">column_create</span></code></a></li> |
| 412 |
<li class="toctree-l2"><a class="reference internal" href="../commands/column_list.html">7.3.14. <code class="docutils literal notranslate"><span class="pre">column_list</span></code></a></li> |
| 413 |
<li class="toctree-l2"><a class="reference internal" href="../commands/column_remove.html">7.3.15. <code class="docutils literal notranslate"><span class="pre">column_remove</span></code></a></li> |
| 414 |
<li class="toctree-l2"><a class="reference internal" href="../commands/column_rename.html">7.3.16. <code class="docutils literal notranslate"><span class="pre">column_rename</span></code></a></li> |
| 415 |
<li class="toctree-l2"><a class="reference internal" href="../commands/config_delete.html">7.3.17. <code class="docutils literal notranslate"><span class="pre">config_delete</span></code></a></li> |
| 416 |
<li class="toctree-l2"><a class="reference internal" href="../commands/config_get.html">7.3.18. <code class="docutils literal notranslate"><span class="pre">config_get</span></code></a></li> |
| 417 |
<li class="toctree-l2"><a class="reference internal" href="../commands/config_set.html">7.3.19. <code class="docutils literal notranslate"><span class="pre">config_set</span></code></a></li> |
| 418 |
<li class="toctree-l2"><a class="reference internal" href="../commands/database_unmap.html">7.3.20. <code class="docutils literal notranslate"><span class="pre">database_unmap</span></code></a></li> |
| 419 |
<li class="toctree-l2"><a class="reference internal" href="../commands/define_selector.html">7.3.21. <code class="docutils literal notranslate"><span class="pre">define_selector</span></code></a></li> |
| 420 |
<li class="toctree-l2"><a class="reference internal" href="../commands/defrag.html">7.3.22. <code class="docutils literal notranslate"><span class="pre">defrag</span></code></a></li> |
| 421 |
<li class="toctree-l2"><a class="reference internal" href="../commands/delete.html">7.3.23. <code class="docutils literal notranslate"><span class="pre">delete</span></code></a></li> |
| 422 |
<li class="toctree-l2"><a class="reference internal" href="../commands/dump.html">7.3.24. <code class="docutils literal notranslate"><span class="pre">dump</span></code></a></li> |
| 423 |
<li class="toctree-l2"><a class="reference internal" href="../commands/extract.html">7.3.25. <code class="docutils literal notranslate"><span class="pre">extract</span></code></a></li> |
| 424 |
<li class="toctree-l2"><a class="reference internal" href="../commands/index_column_diff.html">7.3.26. <code class="docutils literal notranslate"><span class="pre">index_column_diff</span></code></a></li> |
| 425 |
<li class="toctree-l2"><a class="reference internal" href="../commands/io_flush.html">7.3.27. <code class="docutils literal notranslate"><span class="pre">io_flush</span></code></a></li> |
| 426 |
<li class="toctree-l2"><a class="reference internal" href="../commands/load.html">7.3.28. <code class="docutils literal notranslate"><span class="pre">load</span></code></a></li> |
| 427 |
<li class="toctree-l2"><a class="reference internal" href="../commands/lock_acquire.html">7.3.29. <code class="docutils literal notranslate"><span class="pre">lock_acquire</span></code></a></li> |
| 428 |
<li class="toctree-l2"><a class="reference internal" href="../commands/lock_clear.html">7.3.30. <code class="docutils literal notranslate"><span class="pre">lock_clear</span></code></a></li> |
| 429 |
<li class="toctree-l2"><a class="reference internal" href="../commands/lock_release.html">7.3.31. <code class="docutils literal notranslate"><span class="pre">lock_release</span></code></a></li> |
| 430 |
<li class="toctree-l2"><a class="reference internal" href="../commands/log_level.html">7.3.32. <code class="docutils literal notranslate"><span class="pre">log_level</span></code></a></li> |
| 431 |
<li class="toctree-l2"><a class="reference internal" href="../commands/log_put.html">7.3.33. <code class="docutils literal notranslate"><span class="pre">log_put</span></code></a></li> |
| 432 |
<li class="toctree-l2"><a class="reference internal" href="../commands/log_reopen.html">7.3.34. <code class="docutils literal notranslate"><span class="pre">log_reopen</span></code></a></li> |
| 433 |
<li class="toctree-l2"><a class="reference internal" href="../commands/logical_count.html">7.3.35. <code class="docutils literal notranslate"><span class="pre">logical_count</span></code></a></li> |
| 434 |
<li class="toctree-l2"><a class="reference internal" href="../commands/logical_parameters.html">7.3.36. <code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code></a></li> |
| 435 |
<li class="toctree-l2"><a class="reference internal" href="../commands/logical_range_filter.html">7.3.37. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code></a></li> |
| 436 |
<li class="toctree-l2"><a class="reference internal" href="../commands/logical_select.html">7.3.38. <code class="docutils literal notranslate"><span class="pre">logical_select</span></code></a></li> |
| 437 |
<li class="toctree-l2"><a class="reference internal" href="../commands/logical_shard_list.html">7.3.39. <code class="docutils literal notranslate"><span class="pre">logical_shard_list</span></code></a></li> |
| 438 |
<li class="toctree-l2"><a class="reference internal" href="../commands/logical_table_remove.html">7.3.40. <code class="docutils literal notranslate"><span class="pre">logical_table_remove</span></code></a></li> |
| 439 |
<li class="toctree-l2"><a class="reference internal" href="../commands/normalize.html">7.3.41. <code class="docutils literal notranslate"><span class="pre">normalize</span></code></a></li> |
| 440 |
<li class="toctree-l2"><a class="reference internal" href="../commands/normalizer_list.html">7.3.42. <code class="docutils literal notranslate"><span class="pre">normalizer_list</span></code></a></li> |
| 441 |
<li class="toctree-l2"><a class="reference internal" href="../commands/object_exist.html">7.3.43. <code class="docutils literal notranslate"><span class="pre">object_exist</span></code></a></li> |
| 442 |
<li class="toctree-l2"><a class="reference internal" href="../commands/object_inspect.html">7.3.44. <code class="docutils literal notranslate"><span class="pre">object_inspect</span></code></a></li> |
| 443 |
<li class="toctree-l2"><a class="reference internal" href="../commands/object_list.html">7.3.45. <code class="docutils literal notranslate"><span class="pre">object_list</span></code></a></li> |
| 444 |
<li class="toctree-l2"><a class="reference internal" href="../commands/object_remove.html">7.3.46. <code class="docutils literal notranslate"><span class="pre">object_remove</span></code></a></li> |
| 445 |
<li class="toctree-l2"><a class="reference internal" href="../commands/plugin_register.html">7.3.47. <code class="docutils literal notranslate"><span class="pre">plugin_register</span></code></a></li> |
| 446 |
<li class="toctree-l2"><a class="reference internal" href="../commands/plugin_unregister.html">7.3.48. <code class="docutils literal notranslate"><span class="pre">plugin_unregister</span></code></a></li> |
| 447 |
<li class="toctree-l2"><a class="reference internal" href="../commands/query_expand.html">7.3.49. <code class="docutils literal notranslate"><span class="pre">query_expand</span></code></a></li> |
| 448 |
<li class="toctree-l2"><a class="reference internal" href="../commands/quit.html">7.3.50. <code class="docutils literal notranslate"><span class="pre">quit</span></code></a></li> |
| 449 |
<li class="toctree-l2"><a class="reference internal" href="../commands/range_filter.html">7.3.51. <code class="docutils literal notranslate"><span class="pre">range_filter</span></code></a></li> |
| 450 |
<li class="toctree-l2"><a class="reference internal" href="../commands/reference_acquire.html">7.3.52. <code class="docutils literal notranslate"><span class="pre">reference_acquire</span></code></a></li> |
| 451 |
<li class="toctree-l2"><a class="reference internal" href="../commands/reference_release.html">7.3.53. <code class="docutils literal notranslate"><span class="pre">reference_release</span></code></a></li> |
| 452 |
<li class="toctree-l2"><a class="reference internal" href="../commands/register.html">7.3.54. <code class="docutils literal notranslate"><span class="pre">register</span></code></a></li> |
| 453 |
<li class="toctree-l2"><a class="reference internal" href="../commands/reindex.html">7.3.55. <code class="docutils literal notranslate"><span class="pre">reindex</span></code></a></li> |
| 454 |
<li class="toctree-l2"><a class="reference internal" href="../commands/request_cancel.html">7.3.56. <code class="docutils literal notranslate"><span class="pre">request_cancel</span></code></a></li> |
| 455 |
<li class="toctree-l2"><a class="reference internal" href="../commands/ruby_eval.html">7.3.57. <code class="docutils literal notranslate"><span class="pre">ruby_eval</span></code></a></li> |
| 456 |
<li class="toctree-l2"><a class="reference internal" href="../commands/schema.html">7.3.58. <code class="docutils literal notranslate"><span class="pre">schema</span></code></a></li> |
| 457 |
<li class="toctree-l2"><a class="reference internal" href="../commands/select.html">7.3.59. <code class="docutils literal notranslate"><span class="pre">select</span></code></a></li> |
| 458 |
<li class="toctree-l2"><a class="reference internal" href="../commands/shutdown.html">7.3.60. <code class="docutils literal notranslate"><span class="pre">shutdown</span></code></a></li> |
| 459 |
<li class="toctree-l2"><a class="reference internal" href="../commands/status.html">7.3.61. <code class="docutils literal notranslate"><span class="pre">status</span></code></a></li> |
| 460 |
<li class="toctree-l2"><a class="reference internal" href="../commands/suggest.html">7.3.62. <code class="docutils literal notranslate"><span class="pre">suggest</span></code></a></li> |
| 461 |
<li class="toctree-l2"><a class="reference internal" href="../commands/table_copy.html">7.3.63. <code class="docutils literal notranslate"><span class="pre">table_copy</span></code></a></li> |
| 462 |
<li class="toctree-l2"><a class="reference internal" href="../commands/table_create.html">7.3.64. <code class="docutils literal notranslate"><span class="pre">table_create</span></code></a></li> |
| 463 |
<li class="toctree-l2"><a class="reference internal" href="../commands/table_list.html">7.3.65. <code class="docutils literal notranslate"><span class="pre">table_list</span></code></a></li> |
| 464 |
<li class="toctree-l2"><a class="reference internal" href="../commands/table_remove.html">7.3.66. <code class="docutils literal notranslate"><span class="pre">table_remove</span></code></a></li> |
| 465 |
<li class="toctree-l2"><a class="reference internal" href="../commands/table_rename.html">7.3.67. <code class="docutils literal notranslate"><span class="pre">table_rename</span></code></a></li> |
| 466 |
<li class="toctree-l2"><a class="reference internal" href="../commands/table_tokenize.html">7.3.68. <code class="docutils literal notranslate"><span class="pre">table_tokenize</span></code></a></li> |
| 467 |
<li class="toctree-l2"><a class="reference internal" href="../commands/thread_dump.html">7.3.69. <code class="docutils literal notranslate"><span class="pre">thread_dump</span></code></a></li> |
| 468 |
<li class="toctree-l2"><a class="reference internal" href="../commands/thread_limit.html">7.3.70. <code class="docutils literal notranslate"><span class="pre">thread_limit</span></code></a></li> |
| 469 |
<li class="toctree-l2"><a class="reference internal" href="../commands/tokenize.html">7.3.71. <code class="docutils literal notranslate"><span class="pre">tokenize</span></code></a></li> |
| 470 |
<li class="toctree-l2"><a class="reference internal" href="../commands/tokenizer_list.html">7.3.72. <code class="docutils literal notranslate"><span class="pre">tokenizer_list</span></code></a></li> |
| 471 |
<li class="toctree-l2"><a class="reference internal" href="../commands/truncate.html">7.3.73. <code class="docutils literal notranslate"><span class="pre">truncate</span></code></a></li> |
| 472 |
</ul> |
| 473 |
</details></li> |
| 474 |
<li class="toctree-l1"><a class="reference internal" href="../types.html">7.4. Data types</a></li> |
| 475 |
<li class="toctree-l1"><a class="reference internal" href="../tables.html">7.5. Tables</a></li> |
| 476 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../column.html">7.6. Column</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 477 |
<li class="toctree-l2"><a class="reference internal" href="../columns/scalar.html">7.6.2.1. Scalar column</a></li> |
| 478 |
<li class="toctree-l2"><a class="reference internal" href="../columns/vector.html">7.6.2.2. Vector column</a></li> |
| 479 |
<li class="toctree-l2"><a class="reference internal" href="../columns/pseudo.html">7.6.2.3. Pseudo column</a></li> |
| 480 |
<li class="toctree-l2"><a class="reference internal" href="../columns/index.html">7.6.3.1. Index column</a></li> |
| 481 |
</ul> |
| 482 |
</details></li> |
| 483 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../extractors.html">7.7. Extractors</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 484 |
<li class="toctree-l2"><a class="reference internal" href="../extractors/extractor_html.html">7.7.2.1. <code class="docutils literal notranslate"><span class="pre">ExtractorHTML</span></code></a></li> |
| 485 |
<li class="toctree-l2"><a class="reference internal" href="../extractors/extractor_json.html">7.7.2.2. <code class="docutils literal notranslate"><span class="pre">ExtractorJSON</span></code></a></li> |
| 486 |
</ul> |
| 487 |
</details></li> |
| 488 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../normalizers.html">7.8. Normalizers</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 489 |
<li class="toctree-l2"><a class="reference internal" href="../normalizers/normalizer_auto.html">7.8.2.1. <code class="docutils literal notranslate"><span class="pre">NormalizerAuto</span></code></a></li> |
| 490 |
<li class="toctree-l2"><a class="reference internal" href="../normalizers/normalizer_nfkc.html">7.8.2.2. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC</span></code></a></li> |
| 491 |
<li class="toctree-l2"><a class="reference internal" href="../normalizers/normalizer_nfkc100.html">7.8.2.3. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC100</span></code></a></li> |
| 492 |
<li class="toctree-l2"><a class="reference internal" href="../normalizers/normalizer_nfkc121.html">7.8.2.4. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC121</span></code></a></li> |
| 493 |
<li class="toctree-l2"><a class="reference internal" href="../normalizers/normalizer_nfkc130.html">7.8.2.5. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC130</span></code></a></li> |
| 494 |
<li class="toctree-l2"><a class="reference internal" href="../normalizers/normalizer_nfkc150.html">7.8.2.6. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC150</span></code></a></li> |
| 495 |
<li class="toctree-l2"><a class="reference internal" href="../normalizers/normalizer_nfkc51.html">7.8.2.7. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC51</span></code></a></li> |
| 496 |
<li class="toctree-l2"><a class="reference internal" href="../normalizers/normalizer_table.html">7.8.2.8. <code class="docutils literal notranslate"><span class="pre">NormalizerTable</span></code></a></li> |
| 497 |
</ul> |
| 498 |
</details></li> |
| 499 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../tokenizers.html">7.9. Tokenizers</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 500 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizer/summary.html">7.9.1. Summary</a></li> |
| 501 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_bigram.html">7.9.2. <code class="docutils literal notranslate"><span class="pre">TokenBigram</span></code></a></li> |
| 502 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_bigram_ignore_blank.html">7.9.3. <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlank</span></code></a></li> |
| 503 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_bigram_ignore_blank_split_symbol.html">7.9.4. <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlankSplitSymbol</span></code></a></li> |
| 504 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html">7.9.5. <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlankSplitSymbolAlpha</span></code></a></li> |
| 505 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html">7.9.6. <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlankSplitSymbolAlphaDigit</span></code></a></li> |
| 506 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_bigram_split_symbol.html">7.9.7. <code class="docutils literal notranslate"><span class="pre">TokenBigramSplitSymbol</span></code></a></li> |
| 507 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_bigram_split_symbol_alpha.html">7.9.8. <code class="docutils literal notranslate"><span class="pre">TokenBigramSplitSymbolAlpha</span></code></a></li> |
| 508 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_bigram_split_symbol_alpha_digit.html">7.9.9. <code class="docutils literal notranslate"><span class="pre">TokenBigramSplitSymbolAlphaDigit</span></code></a></li> |
| 509 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_delimit.html">7.9.10. <code class="docutils literal notranslate"><span class="pre">TokenDelimit</span></code></a></li> |
| 510 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_delimit_null.html">7.9.11. <code class="docutils literal notranslate"><span class="pre">TokenDelimitNull</span></code></a></li> |
| 511 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_language_model_knn.html">7.9.12. <code class="docutils literal notranslate"><span class="pre">TokenLanguageModelKNN</span></code></a></li> |
| 512 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_mecab.html">7.9.13. <code class="docutils literal notranslate"><span class="pre">TokenMecab</span></code></a></li> |
| 513 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_ngram.html">7.9.14. <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code></a></li> |
| 514 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_pattern.html">7.9.15. <code class="docutils literal notranslate"><span class="pre">TokenPattern</span></code></a></li> |
| 515 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_regexp.html">7.9.16. <code class="docutils literal notranslate"><span class="pre">TokenRegexp</span></code></a></li> |
| 516 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_table.html">7.9.17. <code class="docutils literal notranslate"><span class="pre">TokenTable</span></code></a></li> |
| 517 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_trigram.html">7.9.18. <code class="docutils literal notranslate"><span class="pre">TokenTrigram</span></code></a></li> |
| 518 |
<li class="toctree-l2"><a class="reference internal" href="../tokenizers/token_unigram.html">7.9.19. <code class="docutils literal notranslate"><span class="pre">TokenUnigram</span></code></a></li> |
| 519 |
</ul> |
| 520 |
</details></li> |
| 521 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../token_filters.html">7.10. Token filters</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 522 |
<li class="toctree-l2"><a class="reference internal" href="../token_filter/summary.html">7.10.1. Summary</a></li> |
| 523 |
<li class="toctree-l2"><a class="reference internal" href="../token_filters/token_filter_nfkc.html">7.10.2. <code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC</span></code></a></li> |
| 524 |
<li class="toctree-l2"><a class="reference internal" href="../token_filters/token_filter_nfkc100.html">7.10.3. <code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC100</span></code></a></li> |
| 525 |
<li class="toctree-l2"><a class="reference internal" href="../token_filters/token_filter_nfkc150.html">7.10.4. <code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC150</span></code></a></li> |
| 526 |
<li class="toctree-l2"><a class="reference internal" href="../token_filters/token_filter_stem.html">7.10.5. <code class="docutils literal notranslate"><span class="pre">TokenFilterStem</span></code></a></li> |
| 527 |
<li class="toctree-l2"><a class="reference internal" href="../token_filters/token_filter_stop_word.html">7.10.6. <code class="docutils literal notranslate"><span class="pre">TokenFilterStopWord</span></code></a></li> |
| 528 |
</ul> |
| 529 |
</details></li> |
| 530 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../query_expanders.html">7.11. Query expanders</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 531 |
<li class="toctree-l2"><a class="reference internal" href="../query_expanders/tsv.html">7.11.1. QueryExpanderTSV</a></li> |
| 532 |
</ul> |
| 533 |
</details></li> |
| 534 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../scorer.html">7.12. Scorer</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 535 |
<li class="toctree-l2"><a class="reference internal" href="../scorers/scorer_tf_at_most.html">7.12.3.1. <code class="docutils literal notranslate"><span class="pre">scorer_tf_at_most</span></code></a></li> |
| 536 |
<li class="toctree-l2"><a class="reference internal" href="../scorers/scorer_tf_idf.html">7.12.3.2. <code class="docutils literal notranslate"><span class="pre">scorer_tf_idf</span></code></a></li> |
| 537 |
</ul> |
| 538 |
</details></li> |
| 539 |
<li class="toctree-l1"><a class="reference internal" href="../cast.html">7.13. Cast</a></li> |
| 540 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../grn_expr.html">7.14. grn_expr</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 541 |
<li class="toctree-l2"><a class="reference internal" href="../grn_expr/query_syntax.html">7.14.1. Query syntax</a></li> |
| 542 |
<li class="toctree-l2"><a class="reference internal" href="../grn_expr/script_syntax.html">7.14.2. Script syntax</a></li> |
| 543 |
</ul> |
| 544 |
</details></li> |
| 545 |
<li class="toctree-l1"><a class="reference internal" href="../regular_expression.html">7.15. Regular expression</a></li> |
| 546 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../function.html">7.16. Function</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 547 |
<li class="toctree-l2"><a class="reference internal" href="../functions/between.html">7.16.1. <code class="docutils literal notranslate"><span class="pre">between</span></code></a></li> |
| 548 |
<li class="toctree-l2"><a class="reference internal" href="../functions/cast_loose.html">7.16.2. <code class="docutils literal notranslate"><span class="pre">cast_loose</span></code></a></li> |
| 549 |
<li class="toctree-l2"><a class="reference internal" href="../functions/edit_distance.html">7.16.3. edit_distance</a></li> |
| 550 |
<li class="toctree-l2"><a class="reference internal" href="../functions/escalate.html">7.16.4. <code class="docutils literal notranslate"><span class="pre">escalate</span></code></a></li> |
| 551 |
<li class="toctree-l2"><a class="reference internal" href="../functions/fuzzy_search.html">7.16.5. <code class="docutils literal notranslate"><span class="pre">fuzzy_search</span></code></a></li> |
| 552 |
<li class="toctree-l2"><a class="reference internal" href="../functions/geo_distance.html">7.16.6. <code class="docutils literal notranslate"><span class="pre">geo_distance</span></code></a></li> |
| 553 |
<li class="toctree-l2"><a class="reference internal" href="../functions/geo_in_circle.html">7.16.7. geo_in_circle</a></li> |
| 554 |
<li class="toctree-l2"><a class="reference internal" href="../functions/geo_in_rectangle.html">7.16.8. geo_in_rectangle</a></li> |
| 555 |
<li class="toctree-l2"><a class="reference internal" href="../functions/highlight.html">7.16.9. <code class="docutils literal notranslate"><span class="pre">highlight</span></code></a></li> |
| 556 |
<li class="toctree-l2"><a class="reference internal" href="../functions/highlight_full.html">7.16.10. <code class="docutils literal notranslate"><span class="pre">highlight_full</span></code></a></li> |
| 557 |
<li class="toctree-l2"><a class="reference internal" href="../functions/highlight_html.html">7.16.11. <code class="docutils literal notranslate"><span class="pre">highlight_html</span></code></a></li> |
| 558 |
<li class="toctree-l2"><a class="reference internal" href="../functions/html_untag.html">7.16.12. <code class="docutils literal notranslate"><span class="pre">html_untag</span></code></a></li> |
| 559 |
<li class="toctree-l2"><a class="reference internal" href="../functions/in_records.html">7.16.13. <code class="docutils literal notranslate"><span class="pre">in_records</span></code></a></li> |
| 560 |
<li class="toctree-l2"><a class="reference internal" href="../functions/in_values.html">7.16.14. <code class="docutils literal notranslate"><span class="pre">in_values</span></code></a></li> |
| 561 |
<li class="toctree-l2"><a class="reference internal" href="../functions/json_extract.html">7.16.15. <code class="docutils literal notranslate"><span class="pre">json_extract</span></code></a></li> |
| 562 |
<li class="toctree-l2"><a class="reference internal" href="../functions/language_model_knn.html">7.16.16. <code class="docutils literal notranslate"><span class="pre">language_model_knn</span></code></a></li> |
| 563 |
<li class="toctree-l2"><a class="reference internal" href="../functions/language_model_vectorize.html">7.16.17. <code class="docutils literal notranslate"><span class="pre">language_model_vectorize</span></code></a></li> |
| 564 |
<li class="toctree-l2"><a class="reference internal" href="../functions/math_abs.html">7.16.18. <code class="docutils literal notranslate"><span class="pre">math_abs</span></code></a></li> |
| 565 |
<li class="toctree-l2"><a class="reference internal" href="../functions/now.html">7.16.19. now</a></li> |
| 566 |
<li class="toctree-l2"><a class="reference internal" href="../functions/number_classify.html">7.16.20. <code class="docutils literal notranslate"><span class="pre">number_classify</span></code></a></li> |
| 567 |
<li class="toctree-l2"><a class="reference internal" href="../functions/prefix_rk_search.html">7.16.21. <code class="docutils literal notranslate"><span class="pre">prefix_rk_search</span></code></a></li> |
| 568 |
<li class="toctree-l2"><a class="reference internal" href="../functions/query.html">7.16.22. <code class="docutils literal notranslate"><span class="pre">query</span></code></a></li> |
| 569 |
<li class="toctree-l2"><a class="reference internal" href="../functions/query_parallel_or.html">7.16.23. <code class="docutils literal notranslate"><span class="pre">query_parallel_or</span></code></a></li> |
| 570 |
<li class="toctree-l2"><a class="reference internal" href="../functions/rand.html">7.16.24. rand</a></li> |
| 571 |
<li class="toctree-l2"><a class="reference internal" href="../functions/snippet.html">7.16.25. <code class="docutils literal notranslate"><span class="pre">snippet</span></code></a></li> |
| 572 |
<li class="toctree-l2"><a class="reference internal" href="../functions/snippet_html.html">7.16.26. <code class="docutils literal notranslate"><span class="pre">snippet_html</span></code></a></li> |
| 573 |
<li class="toctree-l2"><a class="reference internal" href="../functions/string_length.html">7.16.27. <code class="docutils literal notranslate"><span class="pre">string_length</span></code></a></li> |
| 574 |
<li class="toctree-l2"><a class="reference internal" href="../functions/string_slice.html">7.16.28. <code class="docutils literal notranslate"><span class="pre">string_slice</span></code></a></li> |
| 575 |
<li class="toctree-l2"><a class="reference internal" href="../functions/string_substring.html">7.16.29. <code class="docutils literal notranslate"><span class="pre">string_substring</span></code></a></li> |
| 576 |
<li class="toctree-l2"><a class="reference internal" href="../functions/string_truncate.html">7.16.30. <code class="docutils literal notranslate"><span class="pre">string_truncate</span></code></a></li> |
| 577 |
<li class="toctree-l2"><a class="reference internal" href="../functions/sub_filter.html">7.16.31. <code class="docutils literal notranslate"><span class="pre">sub_filter</span></code></a></li> |
| 578 |
<li class="toctree-l2"><a class="reference internal" href="../functions/time_classify_day.html">7.16.32. <code class="docutils literal notranslate"><span class="pre">time_classify_day</span></code></a></li> |
| 579 |
<li class="toctree-l2"><a class="reference internal" href="../functions/time_classify_day_of_week.html">7.16.33. <code class="docutils literal notranslate"><span class="pre">time_classify_day_of_week</span></code></a></li> |
| 580 |
<li class="toctree-l2"><a class="reference internal" href="../functions/time_classify_hour.html">7.16.34. <code class="docutils literal notranslate"><span class="pre">time_classify_hour</span></code></a></li> |
| 581 |
<li class="toctree-l2"><a class="reference internal" href="../functions/time_classify_minute.html">7.16.35. <code class="docutils literal notranslate"><span class="pre">time_classify_minute</span></code></a></li> |
| 582 |
<li class="toctree-l2"><a class="reference internal" href="../functions/time_classify_month.html">7.16.36. <code class="docutils literal notranslate"><span class="pre">time_classify_month</span></code></a></li> |
| 583 |
<li class="toctree-l2"><a class="reference internal" href="../functions/time_classify_second.html">7.16.37. <code class="docutils literal notranslate"><span class="pre">time_classify_second</span></code></a></li> |
| 584 |
<li class="toctree-l2"><a class="reference internal" href="../functions/time_classify_week.html">7.16.38. <code class="docutils literal notranslate"><span class="pre">time_classify_week</span></code></a></li> |
| 585 |
<li class="toctree-l2"><a class="reference internal" href="../functions/time_classify_year.html">7.16.39. <code class="docutils literal notranslate"><span class="pre">time_classify_year</span></code></a></li> |
| 586 |
<li class="toctree-l2"><a class="reference internal" href="../functions/vector_find.html">7.16.40. <code class="docutils literal notranslate"><span class="pre">vector_find</span></code></a></li> |
| 587 |
<li class="toctree-l2"><a class="reference internal" href="../functions/vector_new.html">7.16.41. <code class="docutils literal notranslate"><span class="pre">vector_new</span></code></a></li> |
| 588 |
<li class="toctree-l2"><a class="reference internal" href="../functions/vector_size.html">7.16.42. <code class="docutils literal notranslate"><span class="pre">vector_size</span></code></a></li> |
| 589 |
<li class="toctree-l2"><a class="reference internal" href="../functions/vector_slice.html">7.16.43. <code class="docutils literal notranslate"><span class="pre">vector_slice</span></code></a></li> |
| 590 |
</ul> |
| 591 |
</details></li> |
| 592 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../window_function.html">7.17. Window function</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 593 |
<li class="toctree-l2"><a class="reference internal" href="../window_functions/record_number.html">7.17.1. <code class="docutils literal notranslate"><span class="pre">record_number</span></code></a></li> |
| 594 |
<li class="toctree-l2"><a class="reference internal" href="../window_functions/window_count.html">7.17.2. <code class="docutils literal notranslate"><span class="pre">window_count</span></code></a></li> |
| 595 |
<li class="toctree-l2"><a class="reference internal" href="../window_functions/window_rank.html">7.17.3. <code class="docutils literal notranslate"><span class="pre">window_rank</span></code></a></li> |
| 596 |
<li class="toctree-l2"><a class="reference internal" href="../window_functions/window_record_number.html">7.17.4. <code class="docutils literal notranslate"><span class="pre">window_record_number</span></code></a></li> |
| 597 |
<li class="toctree-l2"><a class="reference internal" href="../window_functions/window_sum.html">7.17.5. <code class="docutils literal notranslate"><span class="pre">window_sum</span></code></a></li> |
| 598 |
</ul> |
| 599 |
</details></li> |
| 600 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../operations.html">7.18. Operations</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 601 |
<li class="toctree-l2"><a class="reference internal" href="../operations/geolocation_search.html">7.18.1. Geolocation search</a></li> |
| 602 |
<li class="toctree-l2"><a class="reference internal" href="../operations/prefix_rk_search.html">7.18.2. Prefix RK search</a></li> |
| 603 |
</ul> |
| 604 |
</details></li> |
| 605 |
<li class="toctree-l1"><a class="reference internal" href="../configuration.html">7.19. Configuration</a></li> |
| 606 |
<li class="toctree-l1"><a class="reference internal" href="../alias.html">7.20. Alias</a></li> |
| 607 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../suggest.html">7.21. Suggest</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 608 |
<li class="toctree-l2"><a class="reference internal" href="../suggest/introduction.html">7.21.1. Introduction</a></li> |
| 609 |
<li class="toctree-l2"><a class="reference internal" href="../suggest/completion.html">7.21.2. Completion</a></li> |
| 610 |
<li class="toctree-l2"><a class="reference internal" href="../suggest/correction.html">7.21.3. Correction</a></li> |
| 611 |
<li class="toctree-l2"><a class="reference internal" href="../suggest/suggestion.html">7.21.4. Suggestion</a></li> |
| 612 |
</ul> |
| 613 |
</details></li> |
| 614 |
<li class="toctree-l1"><a class="reference internal" href="../indexing.html">7.22. Indexing</a></li> |
| 615 |
<li class="toctree-l1"><a class="reference internal" href="../sharding.html">7.23. Sharding</a></li> |
| 616 |
<li class="toctree-l1"><a class="reference internal" href="../language_model.html">7.24. Language model</a></li> |
| 617 |
<li class="toctree-l1"><a class="reference internal" href="../log.html">7.25. Log</a></li> |
| 618 |
<li class="toctree-l1"><a class="reference internal" href="../tuning.html">7.26. Tuning</a></li> |
| 619 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../api.html">7.27. API</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 620 |
<li class="toctree-l2"><a class="reference internal" href="../api/overview.html">7.27.1.1. Overview</a></li> |
| 621 |
<li class="toctree-l2"><a class="reference internal" href="../api/global_configurations.html">7.27.1.2. Global configurations</a></li> |
| 622 |
<li class="toctree-l2"><a class="reference internal" href="../api/plugin.html">7.27.1.3. Plugin</a></li> |
| 623 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_cache.html">7.27.1.4. <code class="docutils literal notranslate"><span class="pre">grn_cache</span></code></a></li> |
| 624 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_column.html">7.27.1.5. <code class="docutils literal notranslate"><span class="pre">grn_column</span></code></a></li> |
| 625 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_command_version.html">7.27.1.6. <code class="docutils literal notranslate"><span class="pre">grn_command_version</span></code></a></li> |
| 626 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_content_type.html">7.27.1.7. <code class="docutils literal notranslate"><span class="pre">grn_content_type</span></code></a></li> |
| 627 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_ctx.html">7.27.1.8. <code class="docutils literal notranslate"><span class="pre">grn_ctx</span></code></a></li> |
| 628 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_db.html">7.27.1.9. <code class="docutils literal notranslate"><span class="pre">grn_db</span></code></a></li> |
| 629 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_encoding.html">7.27.1.10. <code class="docutils literal notranslate"><span class="pre">grn_encoding</span></code></a></li> |
| 630 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_expr.html">7.27.1.11. grn_expr</a></li> |
| 631 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_geo.html">7.27.1.12. <code class="docutils literal notranslate"><span class="pre">grn_geo</span></code></a></li> |
| 632 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_hook.html">7.27.1.13. <code class="docutils literal notranslate"><span class="pre">grn_hook</span></code></a></li> |
| 633 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_ii.html">7.27.1.14. <code class="docutils literal notranslate"><span class="pre">grn_ii</span></code></a></li> |
| 634 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_index_cursor.html">7.27.1.15. <code class="docutils literal notranslate"><span class="pre">grn_index_cursor</span></code></a></li> |
| 635 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_info.html">7.27.1.16. <code class="docutils literal notranslate"><span class="pre">grn_info</span></code></a></li> |
| 636 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_inspect.html">7.27.1.17. <code class="docutils literal notranslate"><span class="pre">grn_inspect</span></code></a></li> |
| 637 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_match_escalation.html">7.27.1.18. <code class="docutils literal notranslate"><span class="pre">grn_match_escalation</span></code></a></li> |
| 638 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_obj.html">7.27.1.19. <code class="docutils literal notranslate"><span class="pre">grn_obj</span></code></a></li> |
| 639 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_proc.html">7.27.1.20. <code class="docutils literal notranslate"><span class="pre">grn_proc</span></code></a></li> |
| 640 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_search.html">7.27.1.21. <code class="docutils literal notranslate"><span class="pre">grn_search</span></code></a></li> |
| 641 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_table.html">7.27.1.22. <code class="docutils literal notranslate"><span class="pre">grn_table</span></code></a></li> |
| 642 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_table_cursor.html">7.27.1.23. <code class="docutils literal notranslate"><span class="pre">grn_table_cursor</span></code></a></li> |
| 643 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_thread.html">7.27.1.24. <code class="docutils literal notranslate"><span class="pre">grn_thread_*</span></code></a></li> |
| 644 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_type.html">7.27.1.25. <code class="docutils literal notranslate"><span class="pre">grn_type</span></code></a></li> |
| 645 |
<li class="toctree-l2"><a class="reference internal" href="../api/grn_user_data.html">7.27.1.26. <code class="docutils literal notranslate"><span class="pre">grn_user_data</span></code></a></li> |
| 646 |
</ul> |
| 647 |
</details></li> |
| 648 |
</ul> |
| 649 |
</div> |
| 650 |
</nav></div> |
| 651 |
</div> |
| 652 |
|
| 653 |
|
| 654 |
<div class="sidebar-primary-items__end sidebar-primary__section"> |
| 655 |
<div class="sidebar-primary-item"> |
| 656 |
<div id="ethical-ad-placement" |
| 657 |
class="flat" |
| 658 |
data-ea-publisher="readthedocs" |
| 659 |
data-ea-type="readthedocs-sidebar" |
| 660 |
data-ea-manual="true"> |
| 661 |
</div></div> |
| 662 |
</div> |
| 663 |
|
| 664 |
|
| 665 |
</div> |
| 666 |
|
| 667 |
<main id="main-content" class="bd-main" role="main"> |
| 668 |
|
| 669 |
|
| 670 |
<div class="bd-content"> |
| 671 |
<div class="bd-article-container"> |
| 672 |
|
| 673 |
<div class="bd-header-article d-print-none"> |
| 674 |
<div class="header-article-items header-article__inner"> |
| 675 |
|
| 676 |
<div class="header-article-items__start"> |
| 677 |
|
| 678 |
<div class="header-article-item"> |
| 679 |
|
| 680 |
<nav aria-label="Breadcrumb" class="d-print-none"> |
| 681 |
<ul class="bd-breadcrumbs"> |
| 682 |
|
| 683 |
<li class="breadcrumb-item breadcrumb-home"> |
| 684 |
<a href="../../index.html" class="nav-link" aria-label="Home"> |
| 685 |
<i class="fa-solid fa-home"></i> |
| 686 |
</a> |
| 687 |
</li> |
| 688 |
|
| 689 |
<li class="breadcrumb-item"><a href="../../reference.html" class="nav-link"><span class="section-number">7. </span>Reference manual</a></li> |
| 690 |
|
| 691 |
|
| 692 |
<li class="breadcrumb-item"><a href="../executables.html" class="nav-link"><span class="section-number">7.1. </span>Executables</a></li> |
| 693 |
|
| 694 |
<li class="breadcrumb-item active" aria-current="page"><span class="ellipsis"><span class="section-number">7.1.8. </span><code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code></span></li> |
| 695 |
</ul> |
| 696 |
</nav> |
| 697 |
</div> |
| 698 |
|
| 699 |
</div> |
| 700 |
|
| 701 |
|
| 702 |
</div> |
| 703 |
</div> |
| 704 |
|
| 705 |
|
| 706 |
|
| 707 |
|
| 708 |
<div id="searchbox"></div> |
| 709 |
<article class="bd-article"> |
| 710 |
|
| 711 |
<section id="groonga-suggest-httpd"> |
| 712 |
<h1><span class="section-number">7.1.8. </span><code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code><a class="headerlink" href="#groonga-suggest-httpd" title="Link to this heading">#</a></h1> |
| 713 |
<section id="summary"> |
| 714 |
<h2><span class="section-number">7.1.8.1. </span>Summary<a class="headerlink" href="#summary" title="Link to this heading">#</a></h2> |
| 715 |
<p><code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> is a program that provides HTTP interface |
| 716 |
for the following features:</p> |
| 717 |
<blockquote> |
| 718 |
<div><ul class="simple"> |
| 719 |
<li><p>Returning <a class="reference internal" href="../suggest.html"><span class="doc">Suggest</span></a> execution result</p></li> |
| 720 |
<li><p>Saving logs for learning</p></li> |
| 721 |
</ul> |
| 722 |
</div></blockquote> |
| 723 |
<p><code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> provides suggest feature like |
| 724 |
<a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a> command. Note that some parameter |
| 725 |
names are different of them.</p> |
| 726 |
</section> |
| 727 |
<section id="syntax"> |
| 728 |
<h2><span class="section-number">7.1.8.2. </span>Syntax<a class="headerlink" href="#syntax" title="Link to this heading">#</a></h2> |
| 729 |
<p><code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> requires database path:</p> |
| 730 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">groonga</span><span class="o">-</span><span class="n">suggest</span><span class="o">-</span><span class="n">httpd</span> <span class="p">[</span><span class="n">options</span><span class="p">]</span> <span class="n">DATABASE_PATH</span> |
| 731 |
</pre></div> |
| 732 |
</div> |
| 733 |
</section> |
| 734 |
<section id="usage"> |
| 735 |
<h2><span class="section-number">7.1.8.3. </span>Usage<a class="headerlink" href="#usage" title="Link to this heading">#</a></h2> |
| 736 |
<p>You need to create one or more datasets to use |
| 737 |
<code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code>. A dataset consists of tables and |
| 738 |
columns. You can define them by <a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a>.</p> |
| 739 |
<p>You need to use <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> to learn suggestion |
| 740 |
data from user inputs. You doesn’t need to use |
| 741 |
<a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> when you create suggestion data by |
| 742 |
hand. See <a class="reference internal" href="../suggest.html"><span class="doc">Suggest</span></a> and sub documents about creating |
| 743 |
suggestion data by hand.</p> |
| 744 |
<p>You can use <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> via HTTP after you create one or |
| 745 |
more datasets.</p> |
| 746 |
<p>The following sections describes the followings:</p> |
| 747 |
<blockquote> |
| 748 |
<div><ul class="simple"> |
| 749 |
<li><p>How to set up a dataset</p></li> |
| 750 |
<li><p>How to use <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> with <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a></p></li> |
| 751 |
<li><p>How to use <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> for retrieving suggestions.</p></li> |
| 752 |
</ul> |
| 753 |
</div></blockquote> |
| 754 |
<section id="setup"> |
| 755 |
<h3><span class="section-number">7.1.8.3.1. </span>Setup<a class="headerlink" href="#setup" title="Link to this heading">#</a></h3> |
| 756 |
<p>You need to create a dataset by <a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a>.</p> |
| 757 |
<p>Here is an example that creates <code class="docutils literal notranslate"><span class="pre">query</span></code> dataset:</p> |
| 758 |
<p>Execution example:</p> |
| 759 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ groonga-suggest-create-dataset ${DB_PATH} query |
| 760 |
> plugin_register suggest/suggest |
| 761 |
true |
| 762 |
> table_create event_type TABLE_HASH_KEY ShortText |
| 763 |
true |
| 764 |
> table_create bigram TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto |
| 765 |
true |
| 766 |
> table_create kana TABLE_PAT_KEY ShortText --normalizer NormalizerAuto |
| 767 |
true |
| 768 |
> table_create item_query TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit --normalizer NormalizerAuto |
| 769 |
true |
| 770 |
> column_create bigram item_query_key COLUMN_INDEX|WITH_POSITION item_query _key |
| 771 |
true |
| 772 |
> column_create item_query kana COLUMN_VECTOR kana |
| 773 |
true |
| 774 |
> column_create kana item_query_kana COLUMN_INDEX item_query kana |
| 775 |
true |
| 776 |
> column_create item_query freq COLUMN_SCALAR Int32 |
| 777 |
true |
| 778 |
> column_create item_query last COLUMN_SCALAR Time |
| 779 |
true |
| 780 |
> column_create item_query boost COLUMN_SCALAR Int32 |
| 781 |
true |
| 782 |
> column_create item_query freq2 COLUMN_SCALAR Int32 |
| 783 |
true |
| 784 |
> column_create item_query buzz COLUMN_SCALAR Int32 |
| 785 |
true |
| 786 |
> table_create pair_query TABLE_HASH_KEY UInt64 |
| 787 |
true |
| 788 |
> column_create pair_query pre COLUMN_SCALAR item_query |
| 789 |
true |
| 790 |
> column_create pair_query post COLUMN_SCALAR item_query |
| 791 |
true |
| 792 |
> column_create pair_query freq0 COLUMN_SCALAR Int32 |
| 793 |
true |
| 794 |
> column_create pair_query freq1 COLUMN_SCALAR Int32 |
| 795 |
true |
| 796 |
> column_create pair_query freq2 COLUMN_SCALAR Int32 |
| 797 |
true |
| 798 |
> column_create item_query co COLUMN_INDEX pair_query pre |
| 799 |
true |
| 800 |
> table_create sequence_query TABLE_HASH_KEY ShortText |
| 801 |
true |
| 802 |
> table_create event_query TABLE_NO_KEY |
| 803 |
true |
| 804 |
> column_create sequence_query events COLUMN_VECTOR|RING_BUFFER event_query |
| 805 |
true |
| 806 |
> column_create event_query type COLUMN_SCALAR event_type |
| 807 |
true |
| 808 |
> column_create event_query time COLUMN_SCALAR Time |
| 809 |
true |
| 810 |
> column_create event_query item COLUMN_SCALAR item_query |
| 811 |
true |
| 812 |
> column_create event_query sequence COLUMN_SCALAR sequence_query |
| 813 |
true |
| 814 |
> table_create configuration TABLE_HASH_KEY ShortText |
| 815 |
true |
| 816 |
> column_create configuration weight COLUMN_SCALAR UInt32 |
| 817 |
true |
| 818 |
> load --table configuration |
| 819 |
> [ |
| 820 |
> {"_key": "query", "weight": 1} |
| 821 |
> ] |
| 822 |
1 |
| 823 |
</pre></div> |
| 824 |
</div> |
| 825 |
<p><a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a> outputs executed commands. You |
| 826 |
can confirm that what tables and columns are created for the new |
| 827 |
dataset.</p> |
| 828 |
</section> |
| 829 |
<section id="launch-groonga-suggest-learner"> |
| 830 |
<h3><span class="section-number">7.1.8.3.2. </span>Launch <code class="docutils literal notranslate"><span class="pre">groonga-suggest-learner</span></code><a class="headerlink" href="#launch-groonga-suggest-learner" title="Link to this heading">#</a></h3> |
| 831 |
<p>You can choose whether you use learned suggestion data immediately or |
| 832 |
not.</p> |
| 833 |
<p>There are two ways to use learned suggestion data immediately:</p> |
| 834 |
<blockquote> |
| 835 |
<div><ul class="simple"> |
| 836 |
<li><p>Both of <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> and |
| 837 |
<a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> use the same database</p></li> |
| 838 |
<li><p><code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> receives learned suggestion data from |
| 839 |
<a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a></p></li> |
| 840 |
</ul> |
| 841 |
</div></blockquote> |
| 842 |
<p>In the former case, you must run both <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> and |
| 843 |
<a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> on the same host.</p> |
| 844 |
<p>In the latter case, you can run <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> and |
| 845 |
<a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> on different hosts.</p> |
| 846 |
<p>If you don’t need to use learned suggestion data immediately, you need |
| 847 |
to apply learned suggestion data from database that is used by |
| 848 |
<a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> to database that is used by |
| 849 |
<code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> by hand. Normally, this usage is |
| 850 |
recommended. Because learned suggestion data may have garbage data by |
| 851 |
inputs from evil users.</p> |
| 852 |
<p>In this document, learned suggestion data are used immediately by |
| 853 |
receiving learned suggestion data from |
| 854 |
<a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a>. Both <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> and |
| 855 |
<a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> are running on the same host. Because |
| 856 |
it’s easy to explain.</p> |
| 857 |
<p>Here is an example that launches <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a>. You |
| 858 |
need to specify database that has <code class="docutils literal notranslate"><span class="pre">query</span></code> dataset. This document |
| 859 |
omits the instruction for creating <code class="docutils literal notranslate"><span class="pre">query</span></code> dataset:</p> |
| 860 |
<p>Execution example:</p> |
| 861 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ groonga-suggest-learner --daemon ${DB_PATH} |
| 862 |
</pre></div> |
| 863 |
</div> |
| 864 |
<p>The <code class="docutils literal notranslate"><span class="pre">groonga-suggest-learner</span></code> process opens two endpoints at |
| 865 |
<code class="docutils literal notranslate"><span class="pre">1234</span></code> port and <code class="docutils literal notranslate"><span class="pre">1235</span></code> port:</p> |
| 866 |
<blockquote> |
| 867 |
<div><ul class="simple"> |
| 868 |
<li><p><code class="docutils literal notranslate"><span class="pre">1234</span></code> port: Endpoint that accepts user input data from |
| 869 |
<code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code></p></li> |
| 870 |
<li><p><code class="docutils literal notranslate"><span class="pre">1235</span></code> port: Endpoint that sends learned suggestion data to |
| 871 |
<code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code></p></li> |
| 872 |
</ul> |
| 873 |
</div></blockquote> |
| 874 |
</section> |
| 875 |
<section id="launch-groonga-suggest-httpd"> |
| 876 |
<h3><span class="section-number">7.1.8.3.3. </span>Launch <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code><a class="headerlink" href="#launch-groonga-suggest-httpd" title="Link to this heading">#</a></h3> |
| 877 |
<p>You need to launch <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> for the following proposes:</p> |
| 878 |
<blockquote> |
| 879 |
<div><ul class="simple"> |
| 880 |
<li><p>Learning suggestion data from user inputs</p></li> |
| 881 |
<li><p>Providing suggestion result to clients</p></li> |
| 882 |
</ul> |
| 883 |
</div></blockquote> |
| 884 |
<p>Here is an example that launches <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> that |
| 885 |
communicates <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a>:</p> |
| 886 |
<p>Execution example:</p> |
| 887 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ groonga-suggest-httpd --send-endpoint 'tcp://127.0.0.1:1234' --receive-endpoint 'tcp://127.0.0.1:1235' --daemon ${DB_PATH} |
| 888 |
</pre></div> |
| 889 |
</div> |
| 890 |
<p>The <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> process accepts HTTP requests on |
| 891 |
<code class="docutils literal notranslate"><span class="pre">8080</span></code> port.</p> |
| 892 |
<p>If you want to save requests into log file, use |
| 893 |
<a class="reference internal" href="#cmdoption-groonga-suggest-httpd-l"><code class="xref std std-option docutils literal notranslate"><span class="pre">--log-base-path</span></code></a> option.</p> |
| 894 |
<p>Here is an example to save log files under <code class="docutils literal notranslate"><span class="pre">logs</span></code> directory with |
| 895 |
<code class="docutils literal notranslate"><span class="pre">log</span></code> prefix for each file:</p> |
| 896 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>% groonga-suggest-httpd --log-base-path logs/log ${DB_PATH} |
| 897 |
</pre></div> |
| 898 |
</div> |
| 899 |
<p><code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> creates log files such as |
| 900 |
<code class="docutils literal notranslate"><span class="pre">logYYYYmmddHHMMSS-00</span></code> under <code class="docutils literal notranslate"><span class="pre">logs</span></code> directory.</p> |
| 901 |
</section> |
| 902 |
<section id="learn-from-user-inputs"> |
| 903 |
<h3><span class="section-number">7.1.8.3.4. </span>Learn from user inputs<a class="headerlink" href="#learn-from-user-inputs" title="Link to this heading">#</a></h3> |
| 904 |
<p>You can learn suggestion data from user inputs.</p> |
| 905 |
<p>You need to specify the following parameters to learn suggestion data:</p> |
| 906 |
<blockquote> |
| 907 |
<div><ul class="simple"> |
| 908 |
<li><p><code class="docutils literal notranslate"><span class="pre">i</span></code>: The ID of the user (You may use IP address of client)</p></li> |
| 909 |
<li><p><code class="docutils literal notranslate"><span class="pre">l</span></code>: The dataset name</p></li> |
| 910 |
<li><p><code class="docutils literal notranslate"><span class="pre">s</span></code>: The timestamp of the input in seconds</p></li> |
| 911 |
<li><p><code class="docutils literal notranslate"><span class="pre">t</span></code>: The query type (It’s optional. You must specify <code class="docutils literal notranslate"><span class="pre">submit</span></code> only when the user input is submitted.)</p></li> |
| 912 |
<li><p><code class="docutils literal notranslate"><span class="pre">q</span></code>: The user input</p></li> |
| 913 |
</ul> |
| 914 |
</div></blockquote> |
| 915 |
<p>Here are example requests to learn user input “Groonga” in <code class="docutils literal notranslate"><span class="pre">query</span></code> |
| 916 |
dataset:</p> |
| 917 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">..</span> <span class="n">groonga</span><span class="o">-</span><span class="n">command</span> |
| 918 |
<span class="o">..</span> <span class="n">include</span><span class="p">::</span> <span class="o">../../</span><span class="n">example</span><span class="o">/</span><span class="n">reference</span><span class="o">/</span><span class="n">executables</span><span class="o">/</span><span class="n">groonga</span><span class="o">-</span><span class="n">suggest</span><span class="o">-</span><span class="n">httpd</span><span class="o">/</span><span class="n">learn</span><span class="o">.</span><span class="n">log</span> |
| 919 |
<span class="o">..</span> <span class="o">%</span> <span class="n">curl</span> <span class="s1">'http://localhost:8080/?i=127.0.0.1&l=query&s=92619&q=G'</span> |
| 920 |
<span class="o">..</span> <span class="o">%</span> <span class="n">curl</span> <span class="s1">'http://localhost:8080/?i=127.0.0.1&l=query&s=93850&q=Gr'</span> |
| 921 |
<span class="o">..</span> <span class="o">%</span> <span class="n">curl</span> <span class="s1">'http://localhost:8080/?i=127.0.0.1&l=query&s=94293&q=Gro'</span> |
| 922 |
<span class="o">..</span> <span class="o">%</span> <span class="n">curl</span> <span class="s1">'http://localhost:8080/?i=127.0.0.1&l=query&s=94734&q=Groo'</span> |
| 923 |
<span class="o">..</span> <span class="o">%</span> <span class="n">curl</span> <span class="s1">'http://localhost:8080/?i=127.0.0.1&l=query&s=95147&q=Grooon'</span> |
| 924 |
<span class="o">..</span> <span class="o">%</span> <span class="n">curl</span> <span class="s1">'http://localhost:8080/?i=127.0.0.1&l=query&s=95553&q=Groonga'</span> |
| 925 |
<span class="o">..</span> <span class="o">%</span> <span class="n">curl</span> <span class="s1">'http://localhost:8080/?i=127.0.0.1&l=query&s=95959&t=submit&q=Groonga'</span> |
| 926 |
</pre></div> |
| 927 |
</div> |
| 928 |
<p>Inputting data must not use <code class="docutils literal notranslate"><span class="pre">t=submit</span></code> parameter. In the above example, you just learn user inputs but you can learn and get complete candidates at once. It’s described at the next section.</p> |
| 929 |
<p>Submitted data must use <code class="docutils literal notranslate"><span class="pre">t=submit</span></code> parameter.</p> |
| 930 |
</section> |
| 931 |
<section id="use-suggested-response"> |
| 932 |
<h3><span class="section-number">7.1.8.3.5. </span>Use suggested response<a class="headerlink" href="#use-suggested-response" title="Link to this heading">#</a></h3> |
| 933 |
<p>You can get suggested result from <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code>.</p> |
| 934 |
<p>You need to specify the following parameters to get suggested result:</p> |
| 935 |
<blockquote> |
| 936 |
<div><ul class="simple"> |
| 937 |
<li><p><code class="docutils literal notranslate"><span class="pre">n</span></code>: The dataset name</p></li> |
| 938 |
<li><p><code class="docutils literal notranslate"><span class="pre">t</span></code>: The query type (<code class="docutils literal notranslate"><span class="pre">complete</span></code>, <code class="docutils literal notranslate"><span class="pre">correct</span></code> and/or <code class="docutils literal notranslate"><span class="pre">suggest</span></code>)</p></li> |
| 939 |
<li><p><code class="docutils literal notranslate"><span class="pre">q</span></code>: The user input</p></li> |
| 940 |
</ul> |
| 941 |
</div></blockquote> |
| 942 |
<p>You can also specify parameters for <a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a> as option.</p> |
| 943 |
<p>Here is an example that gets <a class="reference internal" href="../suggest/completion.html"><span class="doc">Completion</span></a> result. The result is computed by using learned data at the previous section. <code class="docutils literal notranslate"><span class="pre">frequency_threshold=1</span></code> parameter is used because this is an example. The parameter enables input data that are occurred one or more times. Normally, you should not use the parameter for production. The parameter will increase noises:</p> |
| 944 |
<p>Execution example:</p> |
| 945 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ curl 'http://localhost:8080/?n=query&t=complete&q=G&frequency_threshold=1' |
| 946 |
{"complete":[[1],[["_key","ShortText"],["_score","Int32"]],["groonga",1]]} |
| 947 |
</pre></div> |
| 948 |
</div> |
| 949 |
<p>You can combine completion and learning by specifying parameters for both:</p> |
| 950 |
<p>Execution example:</p> |
| 951 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=96000&q=G&n=query&t=complete&frequency_threshold=1' |
| 952 |
{"complete":[[1],[["_key","ShortText"],["_score","Int32"]],["groonga",1]]} |
| 953 |
</pre></div> |
| 954 |
</div> |
| 955 |
</section> |
| 956 |
</section> |
| 957 |
<section id="command-line-parameters"> |
| 958 |
<h2><span class="section-number">7.1.8.4. </span>Command line parameters<a class="headerlink" href="#command-line-parameters" title="Link to this heading">#</a></h2> |
| 959 |
<section id="required-parameters"> |
| 960 |
<h3><span class="section-number">7.1.8.4.1. </span>Required parameters<a class="headerlink" href="#required-parameters" title="Link to this heading">#</a></h3> |
| 961 |
<p>There is only one required parameter.</p> |
| 962 |
<section id="database-path"> |
| 963 |
<h4><span class="section-number">7.1.8.4.1.1. </span><code class="docutils literal notranslate"><span class="pre">DATABASE_PATH</span></code><a class="headerlink" href="#database-path" title="Link to this heading">#</a></h4> |
| 964 |
<p>Specifies the path to a Groonga database. This database must have one |
| 965 |
or more datasets. Each dataset must be created by |
| 966 |
<a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a>.</p> |
| 967 |
</section> |
| 968 |
</section> |
| 969 |
<section id="optional-parameters"> |
| 970 |
<h3><span class="section-number">7.1.8.4.2. </span>Optional parameters<a class="headerlink" href="#optional-parameters" title="Link to this heading">#</a></h3> |
| 971 |
<dl class="std option"> |
| 972 |
<dt class="sig sig-object std" id="cmdoption-groonga-suggest-httpd-p"> |
| 973 |
<span id="cmdoption-groonga-suggest-httpd-port"></span><span class="sig-name descname"><span class="pre">-p</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--port</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-groonga-suggest-httpd-p" title="Link to this definition">#</a></dt> |
| 974 |
<dd><p>Specify HTTP server port number.</p> |
| 975 |
<p>The default port number is <code class="docutils literal notranslate"><span class="pre">8080</span></code>.</p> |
| 976 |
</dd></dl> |
| 977 |
|
| 978 |
<dl class="std option"> |
| 979 |
<dt class="sig sig-object std" id="cmdoption-groonga-suggest-httpd-t"> |
| 980 |
<span id="cmdoption-groonga-suggest-httpd-n-threads"></span><span class="sig-name descname"><span class="pre">-t</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--n-threads</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-groonga-suggest-httpd-t" title="Link to this definition">#</a></dt> |
| 981 |
<dd><p>Specify number of threads.</p> |
| 982 |
<p>This option accepts <code class="docutils literal notranslate"><span class="pre">128</span></code> as the max value, but use the number of |
| 983 |
CPU cores for performance.</p> |
| 984 |
<p>The default value is the number of CPU cores.</p> |
| 985 |
</dd></dl> |
| 986 |
|
| 987 |
<dl class="std option"> |
| 988 |
<dt class="sig sig-object std" id="cmdoption-groonga-suggest-httpd-s"> |
| 989 |
<span id="cmdoption-groonga-suggest-httpd-send-endpoint"></span><span class="sig-name descname"><span class="pre">-s</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--send-endpoint</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-groonga-suggest-httpd-s" title="Link to this definition">#</a></dt> |
| 990 |
<dd><p>Specify endpoint URI of <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> for sending |
| 991 |
user inputs.</p> |
| 992 |
<p>The format is <code class="docutils literal notranslate"><span class="pre">tcp://${HOST}:${PORT}</span></code> such as |
| 993 |
<code class="docutils literal notranslate"><span class="pre">tcp://192.168.0.1:2929</span></code>.</p> |
| 994 |
<p>The default value is none.</p> |
| 995 |
</dd></dl> |
| 996 |
|
| 997 |
<dl class="std option"> |
| 998 |
<dt class="sig sig-object std" id="cmdoption-groonga-suggest-httpd-r"> |
| 999 |
<span id="cmdoption-groonga-suggest-httpd-receive-endpoint"></span><span class="sig-name descname"><span class="pre">-r</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--receive-endpoint</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-groonga-suggest-httpd-r" title="Link to this definition">#</a></dt> |
| 1000 |
<dd><p>Specify endpoint URI of <a class="reference internal" href="groonga-suggest-learner.html"><span class="doc">groonga-suggest-learner</span></a> for |
| 1001 |
receiving learned suggestion data.</p> |
| 1002 |
<p>The format is <code class="docutils literal notranslate"><span class="pre">tcp://${HOST}:${PORT}</span></code> such as |
| 1003 |
<code class="docutils literal notranslate"><span class="pre">tcp://192.168.0.1:2929</span></code>.</p> |
| 1004 |
<p>The default value is none.</p> |
| 1005 |
</dd></dl> |
| 1006 |
|
| 1007 |
<dl class="std option"> |
| 1008 |
<dt class="sig sig-object std" id="cmdoption-groonga-suggest-httpd-l"> |
| 1009 |
<span id="cmdoption-groonga-suggest-httpd-log-base-path"></span><span class="sig-name descname"><span class="pre">-l</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--log-base-path</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-groonga-suggest-httpd-l" title="Link to this definition">#</a></dt> |
| 1010 |
<dd><p>Specify path prefix of log.</p> |
| 1011 |
<p>The default value is none.</p> |
| 1012 |
</dd></dl> |
| 1013 |
|
| 1014 |
<dl class="std option"> |
| 1015 |
<dt class="sig sig-object std" id="cmdoption-groonga-suggest-httpd-n-lines-per-log-file"> |
| 1016 |
<span class="sig-name descname"><span class="pre">--n-lines-per-log-file</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-groonga-suggest-httpd-n-lines-per-log-file" title="Link to this definition">#</a></dt> |
| 1017 |
<dd><p>Specify the max number of lines in a log file.</p> |
| 1018 |
<p>The default value is <code class="docutils literal notranslate"><span class="pre">1000000</span></code>.</p> |
| 1019 |
</dd></dl> |
| 1020 |
|
| 1021 |
<dl class="std option"> |
| 1022 |
<dt class="sig sig-object std" id="cmdoption-groonga-suggest-httpd-d"> |
| 1023 |
<span id="cmdoption-groonga-suggest-httpd-daemon"></span><span class="sig-name descname"><span class="pre">-d</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--daemon</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-groonga-suggest-httpd-d" title="Link to this definition">#</a></dt> |
| 1024 |
<dd><p>Specify this option to daemonize.</p> |
| 1025 |
<p>Don’t daemonize by default.</p> |
| 1026 |
</dd></dl> |
| 1027 |
|
| 1028 |
<dl class="std option"> |
| 1029 |
<dt class="sig sig-object std" id="cmdoption-groonga-suggest-httpd-disable-max-fd-check"> |
| 1030 |
<span class="sig-name descname"><span class="pre">--disable-max-fd-check</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-groonga-suggest-httpd-disable-max-fd-check" title="Link to this definition">#</a></dt> |
| 1031 |
<dd><p>Specify this option to disable checking the max number of file |
| 1032 |
descriptors on start.</p> |
| 1033 |
<p>Check by default.</p> |
| 1034 |
</dd></dl> |
| 1035 |
|
| 1036 |
</section> |
| 1037 |
</section> |
| 1038 |
<section id="get-parameters"> |
| 1039 |
<h2><span class="section-number">7.1.8.5. </span>GET parameters<a class="headerlink" href="#get-parameters" title="Link to this heading">#</a></h2> |
| 1040 |
<p><code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> accepts some GET parameters.</p> |
| 1041 |
<p>There are required parameters which depend on query type.</p> |
| 1042 |
<p>In <code class="docutils literal notranslate"><span class="pre">complete</span></code>, <code class="docutils literal notranslate"><span class="pre">correct</span></code> or <code class="docutils literal notranslate"><span class="pre">suggest</span></code> query type, unhandled |
| 1043 |
parameters are passed through <a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a>. It |
| 1044 |
means that you can use parameters of |
| 1045 |
<a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a>.</p> |
| 1046 |
<section id="groonga-suggest-httpd-required-parameters"> |
| 1047 |
<span id="id1"></span><h3><span class="section-number">7.1.8.5.1. </span>Required parameters<a class="headerlink" href="#groonga-suggest-httpd-required-parameters" title="Link to this heading">#</a></h3> |
| 1048 |
<p>You must specify the following parameters.</p> |
| 1049 |
<div class="pst-scrollable-table-container"><table class="table"> |
| 1050 |
<thead> |
| 1051 |
<tr class="row-odd"><th class="head"><p>Key</p></th> |
| 1052 |
<th class="head"><p>Description</p></th> |
| 1053 |
<th class="head"><p>Note</p></th> |
| 1054 |
</tr> |
| 1055 |
</thead> |
| 1056 |
<tbody> |
| 1057 |
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">q</span></code></p></td> |
| 1058 |
<td><p>Input by user. It must be UTF-8 encoded string.</p></td> |
| 1059 |
<td></td> |
| 1060 |
</tr> |
| 1061 |
</tbody> |
| 1062 |
</table> |
| 1063 |
</div> |
| 1064 |
</section> |
| 1065 |
<section id="required-parameters-for-learning"> |
| 1066 |
<span id="groonga-suggest-httpd-required-parameters-learning"></span><h3><span class="section-number">7.1.8.5.2. </span>Required parameters for learning<a class="headerlink" href="#required-parameters-for-learning" title="Link to this heading">#</a></h3> |
| 1067 |
<p>You must specify the following parameters when you specify |
| 1068 |
<a class="reference internal" href="#cmdoption-groonga-suggest-httpd-s"><code class="xref std std-option docutils literal notranslate"><span class="pre">--send-endpoint</span></code></a>.</p> |
| 1069 |
<div class="pst-scrollable-table-container"><table class="table"> |
| 1070 |
<thead> |
| 1071 |
<tr class="row-odd"><th class="head"><p>Key</p></th> |
| 1072 |
<th class="head"><p>Description</p></th> |
| 1073 |
<th class="head"><p>Note</p></th> |
| 1074 |
</tr> |
| 1075 |
</thead> |
| 1076 |
<tbody> |
| 1077 |
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">s</span></code></p></td> |
| 1078 |
<td><p>Elapsed time since <code class="docutils literal notranslate"><span class="pre">1970-01-01T00:00:00Z</span></code>.</p></td> |
| 1079 |
<td><p>The unit is millisecond.</p></td> |
| 1080 |
</tr> |
| 1081 |
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">i</span></code></p></td> |
| 1082 |
<td><p>Unique ID to distinct each user</p></td> |
| 1083 |
<td><p>Session ID, IP address and so on will be usable |
| 1084 |
for this value.</p></td> |
| 1085 |
</tr> |
| 1086 |
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">l</span></code></p></td> |
| 1087 |
<td><p>One or more learn target dataset names. You need to use <code class="docutils literal notranslate"><span class="pre">|</span></code> |
| 1088 |
as separator such as <code class="docutils literal notranslate"><span class="pre">dataset1|dataset2|dataset3</span></code>.</p></td> |
| 1089 |
<td><p>Dataset name is the name that you specify to |
| 1090 |
<a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a>.</p></td> |
| 1091 |
</tr> |
| 1092 |
</tbody> |
| 1093 |
</table> |
| 1094 |
</div> |
| 1095 |
</section> |
| 1096 |
<section id="required-parameters-for-suggestion"> |
| 1097 |
<span id="groonga-suggest-httpd-required-parameters-suggestion"></span><h3><span class="section-number">7.1.8.5.3. </span>Required parameters for suggestion<a class="headerlink" href="#required-parameters-for-suggestion" title="Link to this heading">#</a></h3> |
| 1098 |
<p>You must specify the following parameters when you specify one of |
| 1099 |
<code class="docutils literal notranslate"><span class="pre">complete</span></code>, <code class="docutils literal notranslate"><span class="pre">correct</span></code> and <code class="docutils literal notranslate"><span class="pre">suggest</span></code> to <code class="docutils literal notranslate"><span class="pre">t</span></code> parameter.</p> |
| 1100 |
<div class="pst-scrollable-table-container"><table class="table"> |
| 1101 |
<thead> |
| 1102 |
<tr class="row-odd"><th class="head"><p>Key</p></th> |
| 1103 |
<th class="head"><p>Description</p></th> |
| 1104 |
<th class="head"><p>Note</p></th> |
| 1105 |
</tr> |
| 1106 |
</thead> |
| 1107 |
<tbody> |
| 1108 |
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">n</span></code></p></td> |
| 1109 |
<td><p>The dataset name to use computing suggestion result.</p></td> |
| 1110 |
<td><p>Dataset name is the name that you specify to |
| 1111 |
<a class="reference internal" href="groonga-suggest-create-dataset.html"><span class="doc">groonga-suggest-create-dataset</span></a>.</p></td> |
| 1112 |
</tr> |
| 1113 |
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">t</span></code></p></td> |
| 1114 |
<td><p>The query type.</p> |
| 1115 |
<p>Available values are <code class="docutils literal notranslate"><span class="pre">complete</span></code>, <code class="docutils literal notranslate"><span class="pre">correct</span></code>, <code class="docutils literal notranslate"><span class="pre">suggest</span></code>.</p> |
| 1116 |
</td> |
| 1117 |
<td><p>You can specify multiple types. You need to use <code class="docutils literal notranslate"><span class="pre">|</span></code> as |
| 1118 |
separator such as <code class="docutils literal notranslate"><span class="pre">complete|correct</span></code>.</p></td> |
| 1119 |
</tr> |
| 1120 |
</tbody> |
| 1121 |
</table> |
| 1122 |
</div> |
| 1123 |
</section> |
| 1124 |
<section id="groonga-suggest-httpd-optional-parameters"> |
| 1125 |
<span id="id2"></span><h3><span class="section-number">7.1.8.5.4. </span>Optional parameters<a class="headerlink" href="#groonga-suggest-httpd-optional-parameters" title="Link to this heading">#</a></h3> |
| 1126 |
<p>Here are optional parameters.</p> |
| 1127 |
<div class="pst-scrollable-table-container"><table class="table"> |
| 1128 |
<thead> |
| 1129 |
<tr class="row-odd"><th class="head"><p>Key</p></th> |
| 1130 |
<th class="head"><p>Description</p></th> |
| 1131 |
<th class="head"><p>Note</p></th> |
| 1132 |
</tr> |
| 1133 |
</thead> |
| 1134 |
<tbody> |
| 1135 |
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">callback</span></code></p></td> |
| 1136 |
<td><p>Function name for JSONP</p></td> |
| 1137 |
<td></td> |
| 1138 |
</tr> |
| 1139 |
</tbody> |
| 1140 |
</table> |
| 1141 |
</div> |
| 1142 |
</section> |
| 1143 |
<section id="optional-parameters-for-learning"> |
| 1144 |
<span id="groonga-suggest-httpd-optional-parameters-learning"></span><h3><span class="section-number">7.1.8.5.5. </span>Optional parameters for learning<a class="headerlink" href="#optional-parameters-for-learning" title="Link to this heading">#</a></h3> |
| 1145 |
<p>Here are optional parameters when you specify |
| 1146 |
<a class="reference internal" href="#cmdoption-groonga-suggest-httpd-s"><code class="xref std std-option docutils literal notranslate"><span class="pre">--send-endpoint</span></code></a>.</p> |
| 1147 |
<div class="pst-scrollable-table-container"><table class="table"> |
| 1148 |
<thead> |
| 1149 |
<tr class="row-odd"><th class="head"><p>Key</p></th> |
| 1150 |
<th class="head"><p>Description</p></th> |
| 1151 |
<th class="head"><p>Note</p></th> |
| 1152 |
</tr> |
| 1153 |
</thead> |
| 1154 |
<tbody> |
| 1155 |
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">t</span></code></p></td> |
| 1156 |
<td><p>The query type.</p> |
| 1157 |
<p>Available value is only <code class="docutils literal notranslate"><span class="pre">submit</span></code>.</p> |
| 1158 |
</td> |
| 1159 |
<td><p>You must specify <code class="docutils literal notranslate"><span class="pre">submit</span></code> when user submits the input |
| 1160 |
specified as <code class="docutils literal notranslate"><span class="pre">q</span></code>.</p> |
| 1161 |
<p>You must not specify <code class="docutils literal notranslate"><span class="pre">submit</span></code> for user inputs that aren’t |
| 1162 |
submitted yet. You can use suggestion by specifying |
| 1163 |
<code class="docutils literal notranslate"><span class="pre">complete</span></code>, <code class="docutils literal notranslate"><span class="pre">correct</span></code> and/or <code class="docutils literal notranslate"><span class="pre">suggest</span></code> to <code class="docutils literal notranslate"><span class="pre">t</span></code> when you |
| 1164 |
doesn’t specify <code class="docutils literal notranslate"><span class="pre">submit</span></code>. See |
| 1165 |
<a class="reference internal" href="#groonga-suggest-httpd-required-parameters-suggestion"><span class="std std-ref">Required parameters for suggestion</span></a> for |
| 1166 |
details about these values.</p> |
| 1167 |
</td> |
| 1168 |
</tr> |
| 1169 |
</tbody> |
| 1170 |
</table> |
| 1171 |
</div> |
| 1172 |
</section> |
| 1173 |
</section> |
| 1174 |
<section id="return-value"> |
| 1175 |
<h2><span class="section-number">7.1.8.6. </span>Return value<a class="headerlink" href="#return-value" title="Link to this heading">#</a></h2> |
| 1176 |
<p><code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code> returns the following format response. It’s |
| 1177 |
the same format as body of <a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a>:</p> |
| 1178 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{</span> |
| 1179 |
<span class="n">TYPE1</span><span class="p">:</span> <span class="p">[</span> |
| 1180 |
<span class="p">[</span><span class="n">CANDIDATE_1</span><span class="p">,</span> <span class="n">SCORE_1</span><span class="p">],</span> |
| 1181 |
<span class="p">[</span><span class="n">CANDIDATE_2</span><span class="p">,</span> <span class="n">SCORE_2</span><span class="p">],</span> |
| 1182 |
<span class="o">...</span><span class="p">,</span> |
| 1183 |
<span class="p">[</span><span class="n">CANDIDATE_N</span><span class="p">,</span> <span class="n">SCORE_N</span><span class="p">]</span> |
| 1184 |
<span class="p">],</span> |
| 1185 |
<span class="n">TYPE2</span><span class="p">:</span> <span class="p">[</span> |
| 1186 |
<span class="p">[</span><span class="n">CANDIDATE_1</span><span class="p">,</span> <span class="n">SCORE_1</span><span class="p">],</span> |
| 1187 |
<span class="p">[</span><span class="n">CANDIDATE_2</span><span class="p">,</span> <span class="n">SCORE_2</span><span class="p">],</span> |
| 1188 |
<span class="o">...</span><span class="p">,</span> |
| 1189 |
<span class="p">[</span><span class="n">CANDIDATE_N</span><span class="p">,</span> <span class="n">SCORE_N</span><span class="p">]</span> |
| 1190 |
<span class="p">],</span> |
| 1191 |
<span class="o">...</span> |
| 1192 |
<span class="p">}</span> |
| 1193 |
</pre></div> |
| 1194 |
</div> |
| 1195 |
<p>Here is the response when <code class="docutils literal notranslate"><span class="pre">t</span></code> is <code class="docutils literal notranslate"><span class="pre">submit</span></code>:</p> |
| 1196 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="p">{}</span> |
| 1197 |
</pre></div> |
| 1198 |
</div> |
| 1199 |
<section id="type"> |
| 1200 |
<h3><span class="section-number">7.1.8.6.1. </span><code class="docutils literal notranslate"><span class="pre">TYPE</span></code><a class="headerlink" href="#type" title="Link to this heading">#</a></h3> |
| 1201 |
<p>One of <code class="docutils literal notranslate"><span class="pre">complete</span></code>, <code class="docutils literal notranslate"><span class="pre">correct</span></code> and <code class="docutils literal notranslate"><span class="pre">suggest</span></code>.</p> |
| 1202 |
</section> |
| 1203 |
<section id="candidate-n"> |
| 1204 |
<h3><span class="section-number">7.1.8.6.2. </span><code class="docutils literal notranslate"><span class="pre">CANDIDATE_N</span></code><a class="headerlink" href="#candidate-n" title="Link to this heading">#</a></h3> |
| 1205 |
<p>The string of candidate in UTF-8.</p> |
| 1206 |
</section> |
| 1207 |
<section id="score-n"> |
| 1208 |
<h3><span class="section-number">7.1.8.6.3. </span><code class="docutils literal notranslate"><span class="pre">SCORE_N</span></code><a class="headerlink" href="#score-n" title="Link to this heading">#</a></h3> |
| 1209 |
<p>The score of the candidate.</p> |
| 1210 |
<p>Candidates are sorted by score descendant.</p> |
| 1211 |
</section> |
| 1212 |
</section> |
| 1213 |
<section id="see-also"> |
| 1214 |
<h2><span class="section-number">7.1.8.7. </span>See also<a class="headerlink" href="#see-also" title="Link to this heading">#</a></h2> |
| 1215 |
<blockquote> |
| 1216 |
<div><ul class="simple"> |
| 1217 |
<li><p><a class="reference internal" href="../commands/suggest.html"><span class="doc">suggest</span></a></p></li> |
| 1218 |
</ul> |
| 1219 |
</div></blockquote> |
| 1220 |
</section> |
| 1221 |
</section> |
| 1222 |
|
| 1223 |
|
| 1224 |
</article> |
| 1225 |
|
| 1226 |
|
| 1227 |
|
| 1228 |
|
| 1229 |
|
| 1230 |
<footer class="prev-next-footer d-print-none"> |
| 1231 |
|
| 1232 |
<div class="prev-next-area"> |
| 1233 |
<a class="left-prev" |
| 1234 |
href="groonga-suggest-create-dataset.html" |
| 1235 |
title="previous page"> |
| 1236 |
<i class="fa-solid fa-angle-left"></i> |
| 1237 |
<div class="prev-next-info"> |
| 1238 |
<p class="prev-next-subtitle">previous</p> |
| 1239 |
<p class="prev-next-title"><span class="section-number">7.1.7. </span>groonga-suggest-create-dataset</p> |
| 1240 |
</div> |
| 1241 |
</a> |
| 1242 |
<a class="right-next" |
| 1243 |
href="groonga-suggest-learner.html" |
| 1244 |
title="next page"> |
| 1245 |
<div class="prev-next-info"> |
| 1246 |
<p class="prev-next-subtitle">next</p> |
| 1247 |
<p class="prev-next-title"><span class="section-number">7.1.9. </span>groonga-suggest-learner</p> |
| 1248 |
</div> |
| 1249 |
<i class="fa-solid fa-angle-right"></i> |
| 1250 |
</a> |
| 1251 |
</div> |
| 1252 |
</footer> |
| 1253 |
|
| 1254 |
</div> |
| 1255 |
|
| 1256 |
|
| 1257 |
|
| 1258 |
<dialog id="pst-secondary-sidebar-modal"></dialog> |
| 1259 |
<div id="pst-secondary-sidebar" class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner"> |
| 1260 |
|
| 1261 |
|
| 1262 |
<div class="sidebar-secondary-item"> |
| 1263 |
<div |
| 1264 |
id="pst-page-navigation-heading-2" |
| 1265 |
class="page-toc tocsection onthispage"> |
| 1266 |
<i class="fa-solid fa-list"></i> On this page |
| 1267 |
</div> |
| 1268 |
<nav id="pst-page-toc-nav" class="page-toc" aria-labelledby="pst-page-navigation-heading-2"> |
| 1269 |
<ul class="pst-show_toc_level nav section-nav flex-column"> |
| 1270 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#summary">7.1.8.1. Summary</a></li> |
| 1271 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#syntax">7.1.8.2. Syntax</a></li> |
| 1272 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#usage">7.1.8.3. Usage</a><ul class="nav section-nav flex-column"> |
| 1273 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#setup">7.1.8.3.1. Setup</a></li> |
| 1274 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#launch-groonga-suggest-learner">7.1.8.3.2. Launch <code class="docutils literal notranslate"><span class="pre">groonga-suggest-learner</span></code></a></li> |
| 1275 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#launch-groonga-suggest-httpd">7.1.8.3.3. Launch <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code></a></li> |
| 1276 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#learn-from-user-inputs">7.1.8.3.4. Learn from user inputs</a></li> |
| 1277 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#use-suggested-response">7.1.8.3.5. Use suggested response</a></li> |
| 1278 |
</ul> |
| 1279 |
</li> |
| 1280 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#command-line-parameters">7.1.8.4. Command line parameters</a><ul class="nav section-nav flex-column"> |
| 1281 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#required-parameters">7.1.8.4.1. Required parameters</a><ul class="nav section-nav flex-column"> |
| 1282 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#database-path">7.1.8.4.1.1. <code class="docutils literal notranslate"><span class="pre">DATABASE_PATH</span></code></a></li> |
| 1283 |
</ul> |
| 1284 |
</li> |
| 1285 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#optional-parameters">7.1.8.4.2. Optional parameters</a></li> |
| 1286 |
</ul> |
| 1287 |
</li> |
| 1288 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#get-parameters">7.1.8.5. GET parameters</a><ul class="nav section-nav flex-column"> |
| 1289 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#groonga-suggest-httpd-required-parameters">7.1.8.5.1. Required parameters</a></li> |
| 1290 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#required-parameters-for-learning">7.1.8.5.2. Required parameters for learning</a></li> |
| 1291 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#required-parameters-for-suggestion">7.1.8.5.3. Required parameters for suggestion</a></li> |
| 1292 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#groonga-suggest-httpd-optional-parameters">7.1.8.5.4. Optional parameters</a></li> |
| 1293 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#optional-parameters-for-learning">7.1.8.5.5. Optional parameters for learning</a></li> |
| 1294 |
</ul> |
| 1295 |
</li> |
| 1296 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#return-value">7.1.8.6. Return value</a><ul class="nav section-nav flex-column"> |
| 1297 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#type">7.1.8.6.1. <code class="docutils literal notranslate"><span class="pre">TYPE</span></code></a></li> |
| 1298 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#candidate-n">7.1.8.6.2. <code class="docutils literal notranslate"><span class="pre">CANDIDATE_N</span></code></a></li> |
| 1299 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#score-n">7.1.8.6.3. <code class="docutils literal notranslate"><span class="pre">SCORE_N</span></code></a></li> |
| 1300 |
</ul> |
| 1301 |
</li> |
| 1302 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#see-also">7.1.8.7. See also</a></li> |
| 1303 |
</ul> |
| 1304 |
</nav></div> |
| 1305 |
|
| 1306 |
<div class="sidebar-secondary-item"> |
| 1307 |
|
| 1308 |
|
| 1309 |
<div class="tocsection editthispage"> |
| 1310 |
<a href="https://github.com/groonga/groonga/edit/main/doc/source/reference/executables/groonga-suggest-httpd.rst"> |
| 1311 |
<i class="fa-solid fa-pencil"></i> |
| 1312 |
|
| 1313 |
|
| 1314 |
|
| 1315 |
Edit on GitHub |
| 1316 |
|
| 1317 |
|
| 1318 |
</a> |
| 1319 |
</div> |
| 1320 |
</div> |
| 1321 |
|
| 1322 |
</div></div> |
| 1323 |
|
| 1324 |
|
| 1325 |
</div> |
| 1326 |
<footer class="bd-footer-content"> |
| 1327 |
|
| 1328 |
</footer> |
| 1329 |
|
| 1330 |
</main> |
| 1331 |
</div> |
| 1332 |
</div> |
| 1333 |
|
| 1334 |
|
| 1335 |
<script defer src="../../_static/scripts/bootstrap.js?digest=90905a2f556bf617f1a9"></script> |
| 1336 |
<script defer src="../../_static/scripts/pydata-sphinx-theme.js?digest=90905a2f556bf617f1a9"></script> |
| 1337 |
|
| 1338 |
<footer class="bd-footer"> |
| 1339 |
<div class="bd-footer__inner bd-page-width"> |
| 1340 |
|
| 1341 |
<div class="footer-items__start"> |
| 1342 |
|
| 1343 |
<div class="footer-item"> |
| 1344 |
|
| 1345 |
<p class="copyright"> |
| 1346 |
|
| 1347 |
© Copyright 2009-2026 Groonga Project. |
| 1348 |
<br/> |
| 1349 |
|
| 1350 |
</p> |
| 1351 |
</div> |
| 1352 |
|
| 1353 |
</div> |
| 1354 |
|
| 1355 |
|
| 1356 |
|
| 1357 |
<div class="footer-items__end"> |
| 1358 |
|
| 1359 |
<div class="footer-item"> |
| 1360 |
<p class="theme-version"> |
| 1361 |
|
| 1362 |
Built with the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> 0.20.0. |
| 1363 |
</p></div> |
| 1364 |
|
| 1365 |
</div> |
| 1366 |
|
| 1367 |
</div> |
| 1368 |
|
| 1369 |
</footer> |
| 1370 |
</body> |
| 1371 |
</html> |