goldendict-ng/docs/fulltextsearch.html
2023-03-26 00:13:19 +08:00

35 lines
3.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- gdhelp_en.qdoc -->
<title>09 Full-text search | GoldenDict</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">09 Full-text search</h1>
<!-- $$$fulltextsearch.html-description -->
<div class="descr" id="details">
<p>The full-text search dialog can be called via menu &quot;Search&quot; or by pressing the &quot;Ctrl+Shift+F&quot; keys. Such search allow to search words and expressions not in dictionary headwords but in articles text of dictionaries from current dictionaries group.</p>
<p class="centerAlign"><img src="images/fts.png" alt="" /></p><p>&quot;Search&quot; - line with expression to search.</p>
<p>&quot;Mode&quot; - search mode. GoldenDict allow next modes:</p>
<ul>
<li>&quot;Whole words&quot; - for every word contains more then 4 characters in search line the exact match will be found. The &quot;Max distance between words&quot; element define the maximum unmatched words number between matched words. It is the fastest search mode. The search line must contain at least one word from 4 or more characters.</li>
<li>&quot;Plain text&quot; - mode like &quot;Whole words&quot; but every word in search line can be treated as word fragment.</li>
<li>&quot;Wildcards&quot; - the search line contains a Unix-like template. Such template can contain wildcard symbols '?' (matches any one character), '*' (matches any characters number) or ranges of characters &quot;[..&#x2e;]&quot; To find characters '?', '*', '[' and ']' it should be escaped by backslash - '\?', '\*', '\[', '\]'.</li>
<li>&quot;RegExp&quot; - the search line contains a regular expression.</li>
</ul>
<p>&quot;Max articles per dictionary&quot; - the search in dictionary will be stopped when this articles number is found in that dictionary.</p>
<p>&quot;Match case&quot; - if this option is turned on the matches search will be completed in the case-sensitive mode, otherwise in case-insensitive mode.</p>
<p>&quot;Ignore words order&quot; - if this option is enabled, the words specified in the search string will be searched in any order in dictionaries. Otherwise ones will be searched in the order stated in the search string.</p>
<p>&quot;Ignore diacritics&quot; - if this option is enabled, the diacritic symbols will be searched as its base ones.</p>
<p>&quot;Available dictionaries in group&quot; - here you can view how many dictionaries in current group are suitable for full-text search, how many dictionaries already indexed and how many dictionaries wait for indexing.</p>
<p>&quot;Now indexing&quot; - this line show name of currently indexed dictionary (it is may be dictionary not from current group).</p>
<p>The dictionary indexing for full-text search going on in background mode and started immediately after program start, name of the currently indexing dictionary is displayed in the status line. This process can take a long time and require many RAM. If RAM size is not enough to search the index dictionary the indexing process can crash. In such cases it is recommended to turn off indexing for huge dictionaries like Wikipedias or Wiktionaries. To find dictionary which can't be indexed start GoldenDict in <a href="debug.html" translate="no">debug mode</a>.</p>
<p>When you place mouse cursor over headword in results list the tooltip with dictionaries list contains such articles matched the search conditions will be shown.</p>
</div>
<!-- @@@fulltextsearch.html -->
</body>
</html>