Re: irrelevant search results
| From: | knight | Date: | Wed, 22 Jan 2003 19:34:51 +0000 |
| Subject: | Re: irrelevant search results | ||
| References: | 1 2 3 4 | Groups: | php.doc.chm |
| Request: | Send a blank email to php-doc-chm+get-617@lists.php.net to get a copy of this message | ||
> Well, I don't know what would go into that stoplist. Maybe "clipboard",
> but what else?
Sample stop list taken from the HTML Help Workshop help file:
Copy any words from the following sample that you want to include in your
stop list:
a
about
after
against
all
also
among
an
and
are
as
at
be
became
because
been
between
but
by
can
come
do
during
each
early
for
form
found
from
had
has
have
he
her
his
however
in
include
into
is
it
its
late
later
me
med
made
many
may
more
most
near
no
non
not
of
on
only
or
other
over
several
she
some
such
than
that
the
their
then
there
these
they
this
through
to
under
until
use
was
we
were
when
where
which
who
with
you
Notes
A stop list decreases the size of the full-text search index, which results
in a smaller compiled help (.chm) file because fewer words are indexed. This
is especially important if you have a large documentation set. All words in
the stop list are omitted from the search. These are usually commonly
occurring words, such as "the," "and," or "1" that a user is unlikely
to
search for.
Numbers can also be used in a stop list.
>There is an open bug report on this, stating that it's a
> problem that texts as part of the navigation are also indexed (nav
> links), so it's a problem. But we cannot solve it with stopwords, as
> this way we would stop many things from appearing in search results.
> Maybe with some JS magic...
As long as the words in the nav bar are not mentioned or irrelevant in the
rest of the documentation, I think the stop list would be the way to go. If
we use js the file would increase in size and the rendering time would
increase, if the stop file is used, the file size will decrease and the
render time will stay the same. But js is defiantly an option.
Brendan
>
> Goba
>