From: Andrew Sullivan <ajs@commandprompt.com>
To: pgsql-admin@postgresql.org
Subject: Re: full-text search question
Date: Wed, 18 Jun 2008 09:55:48 -0400
Message-ID: <20080618135548.GD433@commandprompt.com> (raw)
In-Reply-To: <269b27950806180549k323833c7n38a0d9f434542bf2@mail.gmail.com>
References: <269b27950806180549k323833c7n38a0d9f434542bf2@mail.gmail.com>
On Wed, Jun 18, 2008 at 02:49:48PM +0200, Sabbiolina wrote:
> www.google.com is only treated as a unique word? Why not producing multiple
> tokens like www.google.com, www, ., google, ., com? (obviously www and . can
> be nulled or stopworded).
You wouldn't want to get the token ".". It's not a token, but a label
boundary. So in your analogy of treating the labels in a FQDN as
"words", the "." needs to be treated the way spaces are between words.
A
--
Andrew Sullivan
ajs@commandprompt.com
+1 503 667 4564 x104
http://www.commandprompt.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ajs@commandprompt.com
Subject: Re: full-text search question
In-Reply-To: <20080618135548.GD433@commandprompt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox