From: Jani Nikula <jani@nikula.org>
To: Austin Clements <amdragon@MIT.EDU>,
Andrei Popescu <andreimpopescu@gmail.com>
Cc: notmuch@notmuchmail.org
Subject: Re: Partial words on notmuch search?
Date: Tue, 17 Jan 2012 19:43:54 +0200 [thread overview]
Message-ID: <87aa5mkyw5.fsf@nikula.org> (raw)
In-Reply-To: <20120117023431.GF16740@mit.edu>
On Mon, 16 Jan 2012 21:34:31 -0500, Austin Clements <amdragon@MIT.EDU> wrote:
> Quoth Andrei Popescu on Jan 16 at 10:21 pm:
> > This is also interesting:
> > $ notmuch count 'debian'
> > 65888
> > $ notmuch count 'dEbian'
> > 65888
> > $ notmuch count 'Debian'
> > 65887
>
> The first two will match stemmed versions of "debian" such as
> "debian's" and "debianed". However, starting a term with a capital
> letter suppresses stemming (because it suggests that it's a name,
> which you wouldn't want to modify), so your last query matches only
> the term "debian". This is probably documented somewhere, though I
> don't know where.
Interesting. Is this done when adding the terms to the database, or when
searching? I presume the latter. How much control does notmuch have over
this?
The assumption that one wouldn't want to have stemming for names is very
much language dependent. [1]
BR,
Jani.
[1] http://en.wikipedia.org/wiki/Finnish_noun_cases (the same works for
names as well as nouns)
next prev parent reply other threads:[~2012-01-17 17:44 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-15 22:06 Partial words on notmuch search? Andrei Popescu
2012-01-16 1:07 ` mailinglists
2012-01-16 20:21 ` Andrei Popescu
2012-01-16 22:26 ` David Bremner
2012-01-16 22:38 ` Andrei Popescu
2012-01-17 2:34 ` Austin Clements
2012-01-17 17:43 ` Jani Nikula [this message]
2012-01-17 19:47 ` Austin Clements
2012-01-17 22:14 ` Improving notmuch query documentation [was: Re: Partial words on notmuch search?] Andrei Popescu
2012-01-17 22:29 ` Austin Clements
2012-01-20 19:08 ` Mark Anderson
2012-03-15 21:15 ` Austin Clements
2012-03-15 9:39 ` [RFC] http://notmuchmail.org/searching/ [was: Re: Improving notmuch query documentation] Andrei POPESCU
2012-03-15 21:11 ` Austin Clements
2012-03-16 0:30 ` Andrei POPESCU
2012-03-16 2:11 ` Austin Clements
2012-03-16 22:29 ` Andrei POPESCU
2012-03-16 23:51 ` David Bremner
2012-03-17 0:20 ` Austin Clements
2012-03-17 14:40 ` Andrei POPESCU
2012-03-17 17:16 ` Austin Clements
2012-03-17 19:59 ` Andrei POPESCU
2012-03-16 16:52 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aa5mkyw5.fsf@nikula.org \
--to=jani@nikula.org \
--cc=amdragon@MIT.EDU \
--cc=andreimpopescu@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).