Обсуждение: Re: [Fwd: [BUGS] BUG #2560: Web page documentation hard

Поиск
Список
Период
Сортировка

Re: [Fwd: [BUGS] BUG #2560: Web page documentation hard

От
"Dave Page"
Дата:

-----Original Message-----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Richard Huxton" <dev@archonet.com>
Cc: "Robert Bernier" <robert.bernier5@sympatico.ca>; "pgsql-www@postgresql.org" <pgsql-www@postgresql.org>
Sent: 02/08/06 20:30
Subject: Re: [pgsql-www] [Fwd: [BUGS] BUG #2560: Web page documentation hard

> But what strikes me is the idea of teaching the search engine not to
> ignore stopwords that are marked as <indexterm>'s ...

We tell it what to ignore, not the other way round. Besides, the problem as I understood it was that a search for 'IN'
returnsvirtually every page (as one might expect) which is little help when looking for IN the keyword. 

Regards, Dave

Re: [Fwd: [BUGS] BUG #2560: Web page documentation hard

От
Tom Lane
Дата:
"Dave Page" <dpage@vale-housing.co.uk> writes:
>> But what strikes me is the idea of teaching the search engine not to
>> ignore stopwords that are marked as <indexterm>'s ...

> We tell it what to ignore, not the other way round. Besides, the problem as I understood it was that a search for
'IN'returns virtually every page (as one might expect) which is little help when looking for IN the keyword. 

Right, so half of the problem is that IN should be considered a stopword
and isn't.  But after we fix that, it won't be found anywhere.  I
suggest that we want the search to find the pages on which IN (or any
other stopword) appears as an <indexterm>, and not elsewhere.

            regards, tom lane