Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
1.7 KiB
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.
Type the desired word in "Search line" to search.
Search modes
- "Default" — This follows the xapian search syntax. Note that phrase and NEAR search needs the positional information which may make the Xapian index file impractically large. GoldenDict will heuristically disable positional information when the length of document length reaches a certain limit.
- "Plain text" - mode like "Whole words" but every word in search line can be treated as word fragment.
- "Wildcards" - As xapian index only support wildcard syntax like this "hell*" , the wildcard in the middle(eg."he*lo") is not supported.
"Available dictionaries in group" - here you can see how many dictionaries in the current group are suitable for full-text search, how many dictionaries are already indexed and how many dictionaries are waiting for indexing.
When you hover the cursor over a headword in the results list, a tooltip appears with a list of dictionaries that contain the search term.
!!! 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
.