Skip to main content.
home | support | download

Back to List Archive

Re: error searching for Andes

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Aug 08 2003 - 21:25:44 GMT
On Fri, Aug 08, 2003 at 12:47:02PM -0700, brad@auroraquanta.com wrote:
> 
> Searches for the word andes are failing against my index.
> 
> vhosts# swish-e.2.2 -w andes -f indexes/ipn.index
> # SWISH format: 2.2
> # Search words: andes
> err: No search words specified
> 
> Do you think that this is this something to do with stemming?

Yes, I do.  It's stemming to "and" and, I think, it's considering that 
an operator ("and").

Try 
   -w '"andes"'

which is a phrase search (forces a word and not an opeator.

moseley@bumby:~$ swish-e -w 'andes' -H0
err: No search words specified
.
moseley@bumby:~$ swish-e -w '"andes"' -H0
1000 1.txt "1.txt" 10

That's a good bug catch.  The trick is if I can find a way to make it 
not thing the stemmed word is an operator.


-- 
Bill Moseley
moseley@hank.org
Received on Fri Aug 8 21:26:06 2003