Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org,
	"Norbert Gövert" <goevert@amaunet.cs.uni-dortmund.de>,
	"Ulrich Pfeifer" <upf@de.uu.net>
Subject: Re: nnir/freeWAIS-sf
Date: Thu, 20 Jul 2000 16:44:44 +0200	[thread overview]
Message-ID: <vafog3srhcz.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: Harry Putnam's message of "16 Jul 2000 15:22:52 -0700"

On 16 Jul 2000, Harry Putnam wrote:

> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> 
>> Note the strange search: from=m320
>> This searches for a soundex code, and works.  Searching for normal
> 
> Yes I saw that my statement about opposite should have said `nearly
> identical'

But the small difference is crucial.

>> words does NOT work.
> 
> Maybe because `normal' (i.e TEXT) words have not been included in
> that category (from) by saying TEXT BOTH.

When waisindex runs, it looks at the fmt file.  And if the fmt file
says to use soundex, it converts each word into its soundex code and
enters the soundex codes into the inverted index (the *.inv file).

So, when you use waissearch, it should also look at the fmt file, and
if the query searches in a field which was indexed using soundex, the
search term should also be converted into the soundex code, and then
waissearch should look for the soundex code in the index.

So, let's say the word is `Miller'.  When indexing, waisindex turns it
into the soundex code (M320, say), and puts that into the *.inv file.
And when you then search for Miller, waissearch converts that into
M320 and looks in the index for M320.

Different, but similar-sounding, words get the same soundex code.  For
example, Smith and Smithee and Smythe will get the same soundex code.
This way, searching for soundex codes will find similar-sounding
words.

> My big problem now is that I'd like to go on an get SFgate working
> but it requires the bothersome Wais.pm.  My attempts to compile it
> have failed miserably at `make test' literally every test fails and
> the `make' process bails out.  There seems to be major confusion as
> to where to put wais.h and libwais.a (from the freeWAIS-sf build).
> 
> I just ended up putting them in the top directory of Wais.pm and
> editing the Makefile.PL to find them there.
> 
> The compilation seems to go ok but when the tests come up its all
> down hill from there.:
> 
>    bsd # make test
>    
>    PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
>    -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 -e
>    'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests
>    @ARGV;' t/*.t
>    
>    t/a_preop...........ok
>    
>    t/basic.............Can't load 'blib/arch/auto/Wais/Wais.so' for
>    module Wais: blib/arch/auto/Wais/Wais.so: Undefined symbol
>    "SvPV_nolen" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.
> 
> Wais.so is a binary file so I couldn't really tell much about it.
> 
> grep 'SvPV' /usr/libdata/perl/5.00503/DynaLoader.p  = nothing

Hm.  I'm not sure where the problem is.

kai
-- 
I like BOTH kinds of music.



  reply	other threads:[~2000-07-20 14:44 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-15 13:53 nnir/freeWAIS-sf Harry Putnam
2000-07-15 18:04 ` nnir/freeWAIS-sf Norman Walsh
2000-07-15 18:10 ` nnir/freeWAIS-sf Francisco Solsona
2000-07-15 21:22   ` nnir/freeWAIS-sf Harry Putnam
2000-07-17 13:51     ` nnir/freeWAIS-sf Francisco Solsona
2000-07-18  1:03       ` nnir/freeWAIS-sf Harry Putnam
2000-07-18  9:06         ` nnir/freeWAIS-sf Kai Großjohann
2000-07-19  0:57           ` nnir/freeWAIS-sf Harry Putnam
2000-07-20 14:34             ` nnir/freeWAIS-sf Kai Großjohann
2000-07-20 18:13               ` nnir/freeWAIS-sf Harry Putnam
2000-07-21 17:31                 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-21 22:35                   ` nnir/freeWAIS-sf Harry Putnam
2000-07-16 12:25 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-16 16:17   ` nnir/freeWAIS-sf Harry Putnam
2000-07-16 21:43     ` nnir/freeWAIS-sf Kai Großjohann
2000-07-16 22:22       ` nnir/freeWAIS-sf Harry Putnam
2000-07-20 14:44         ` Kai Großjohann [this message]
2000-07-16 23:08       ` nnir/freeWAIS-sf Harry Putnam
2000-07-20 14:48 ` nnir/freeWAIS-sf Kai Großjohann
2000-07-20 16:33   ` nnir/freeWAIS-sf Harry Putnam
2000-07-21 17:27     ` nnir/freeWAIS-sf Kai Großjohann
2000-07-21 22:04       ` nnir/freeWAIS-sf Harry Putnam
2000-07-21 22:34         ` nnir/freeWAIS-sf Kai Großjohann
2000-07-21 23:12           ` nnir/freeWAIS-sf Harry Putnam
2000-07-22 11:59             ` nnir/freeWAIS-sf Kai Großjohann
2000-07-22 13:40               ` nnir/freeWAIS-sf Harry Putnam

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vafog3srhcz.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=ding@gnus.org \
    --cc=goevert@amaunet.cs.uni-dortmund.de \
    --cc=upf@de.uu.net \
    /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.
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 NNTP newsgroup(s).