goldendict-ng/website/docs/ui_fulltextsearch.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
1.8 KiB
Markdown
Raw Normal View History

2023-04-16 00:53:40 +00:00
The full-text search dialog can be opened via menu "Search" or "Ctrl+Shift+F".
Full-text search allow to search words or sentences not in dictionary headwords but in articles text of dictionaries from current dictionaries group.
2023-06-17 09:55:06 +00:00
![full text serach](img/fulltext.png){ width="450" }
2023-04-16 00:53:40 +00:00
Type the desired word in "Search line" to search.
Search modes
2023-07-01 15:39:23 +00:00
* "Default" — This follows the [xapian search syntax](https://xapian.org/docs/queryparser.html). Note that phrase searching and NEAR operator needs `Enable index with positional information` enabled at settings.
2023-04-16 00:53:40 +00:00
* "Plain text" - mode like "Whole words" but every word in search line can be treated as word fragment.
2023-07-01 15:39:23 +00:00
* "Wildcards" - the search line contains a Unix-like template. Such template can contain wildcard symbols `?` (matches any one character), `*` (matches any character number) or ranges of characters `[...]` To find characters `?`, `*`, `[` and `]` it should be escaped by backslash like `\?`, `\*`, `\[`, `\]`.
2023-04-16 00:53:40 +00:00
2023-07-01 15:39:23 +00:00
"Available dictionaries in group" - here you can view how many dictionaries in the current group are suitable for full-text search, how many dictionaries already indexed and how many dictionaries wait for indexing.
2023-04-16 00:53:40 +00:00
2023-07-01 15:39:23 +00:00
When you place mouse cursor over headword in results list, the tooltip with dictionary list contains such articles matched the search conditions will be shown.
2023-04-16 00:53:40 +00:00
2023-07-01 15:39:23 +00:00
!!! note
The dictionary will index for full-text search in background 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 computing resources.You may turn off indexing for huge dictionaries like Wikipedias or Wiktionaries in preferences. To find dictionary which can't be indexed check GoldenDict with `--log-to-file` or check `stdout`.