mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
doc: add material on stemming and wildcards
This is lightly massaged from the searching page on the wiki.
This commit is contained in:
parent
647c0b0692
commit
7fa58b792c
1 changed files with 27 additions and 0 deletions
|
@ -135,6 +135,33 @@ operators, but will have to be protected from interpretation by the
|
|||
shell, (such as by putting quotation marks around any parenthesized
|
||||
expression).
|
||||
|
||||
Stemming
|
||||
--------
|
||||
|
||||
**Stemming** in notmuch means that these searches
|
||||
|
||||
::
|
||||
|
||||
notmuch search detailed
|
||||
notmuch search details
|
||||
notmuch search detail
|
||||
|
||||
will all return identical results, because Xapian first "reduces" the
|
||||
term to the common stem (here 'detail') and then performs the search.
|
||||
|
||||
There are two ways to turn this off: a search for a capitalized word
|
||||
will be performed unstemmed, so that one can search for "John" and not
|
||||
get results for "Johnson"; phrase searches are also unstemmed (see
|
||||
below for details). Stemming is currently only supported for
|
||||
English. Searches for words in other languages will be performed unstemmed.
|
||||
|
||||
Wildcards
|
||||
---------
|
||||
|
||||
It is possible to use a trailing '\*' as a wildcard. A search for
|
||||
'wildc\*' will match 'wildcard', 'wildcat', etc.
|
||||
|
||||
|
||||
Boolean and Probabilistic Prefixes
|
||||
----------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue