From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31872 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir/freeWAIS-sf Date: Thu, 20 Jul 2000 16:44:44 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035168233 16502 80.91.224.250 (21 Oct 2002 02:43:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:43:53 +0000 (UTC) Cc: ding@gnus.org, Norbert =?iso-8859-1?q?G=F6vert?= , Ulrich Pfeifer Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id 9617AD051F for ; Thu, 20 Jul 2000 10:49:35 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAC27816; Thu, 20 Jul 2000 09:46:05 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 20 Jul 2000 09:45:10 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA01972 for ; Thu, 20 Jul 2000 09:44:45 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 5900FD051F for ; Thu, 20 Jul 2000 10:45:19 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id QAA29558; Thu, 20 Jul 2000 16:44:44 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id QAA24659; Thu, 20 Jul 2000 16:44:44 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id QAA05184; Thu, 20 Jul 2000 16:44:44 +0200 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Harry Putnam In-Reply-To: Harry Putnam's message of "16 Jul 2000 15:22:52 -0700" User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.90 Original-Lines: 70 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31872 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31872 On 16 Jul 2000, Harry Putnam wrote: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: >=20 >> Note the strange search: from=3Dm320 >> This searches for a soundex code, and works. Searching for normal >=20 > Yes I saw that my statement about opposite should have said `nearly > identical' But the small difference is crucial. >> words does NOT work. >=20 > 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). >=20 > I just ended up putting them in the top directory of Wais.pm and > editing the Makefile.PL to find them there. >=20 > The compilation seems to go ok but when the tests come up its all > down hill from there.: >=20 > bsd # make test >=20=20=20=20 > PERL_DL_NONLAZY=3D1 /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=3D0; runtests > @ARGV;' t/*.t >=20=20=20=20 > t/a_preop...........ok >=20=20=20=20 > 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. >=20 > Wais.so is a binary file so I couldn't really tell much about it. >=20 > grep 'SvPV' /usr/libdata/perl/5.00503/DynaLoader.p =3D nothing Hm. I'm not sure where the problem is. kai --=20 I like BOTH kinds of music.