Skip to main content.
home | support | download

Back to List Archive

Re: swish searching error

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue Jul 15 2003 - 18:33:50 GMT
On Tue, Jul 15, 2003 at 02:51:33PM +0200, Krzysztof Rudnik wrote:

> 
> -w TYTUL = 'filmy 990701'    -> no results 

Your syntax is wrong.  You want

   -w 'tytul=(filmy 990710)'

what you were saying is:

   -w 'tytul=(filmy) AND 990710

and 990710 is not indexed under swishdefault but under the tytul 
metaname.

> -w TYTUL = 'filmy 99*'    -> no results 
> -w TYTUL = 'Filmy tygodnia - 990701'    -> no results 
> 
> but 
> 
> -w TYTUL = '990701 filmy '   -> ok 

Because filmy exists in two places:

moseley@bumby:~$ swish-e -i propozycje.html -c c -T indexed_words | grep filmy
    Adding:[1:tytul(10)]   'filmy'   Pos:34  Stuct:0x85 ( META HEAD FILE )
    Adding:[1:swishdefault(1)]   'filmy'   Pos:60  Stuct:0x49 ( EM BODY FILE )

So you are hitting the second "swishdefault" filmy, and the 990701 in the tytul metaname.


> -w TYTUL = 'filmy 9*'    -> ok 

And here because you are hitting a different 9* - any of these:

moseley@bumby:~$ swish-e -i propozycje.html -c c -T indexed_words | grep swishdefault | grep "'9"

    Adding:[1:swishdefault(1)]   '930830400'   Pos:46  Stuct:0x5 ( HEAD FILE )
    Adding:[1:swishdefault(1)]   '99'   Pos:57  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '90'   Pos:75  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '91'   Pos:146  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '95'   Pos:173  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '91'   Pos:204  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '92'   Pos:222  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '93'   Pos:292  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '93'   Pos:302  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '95'   Pos:325  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '90'   Pos:354  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '94'   Pos:411  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '95'   Pos:435  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '95'   Pos:545  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '93'   Pos:608  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   '90'   Pos:617  Stuct:0x9 ( BODY FILE )



-- 
Bill Moseley
moseley@hank.org
Received on Tue Jul 15 18:34:02 2003