Skip to main content.
home | support | download

Back to List Archive

Re: Problem swish-e not finding words present in index solved???

From: <moseley(at)>
Date: Wed Sep 03 2003 - 19:12:31 GMT
On Wed, Sep 03, 2003 at 11:49:03AM -0700, John P. Rouillard wrote:

> >   MetaNames swishdocpath
> >   MetaNameAlias swishtitle title
> >   MetaNameAlias swishdocpath path
> For some reason the MetaNameAlias swishtitle title is causing a
> problem.  If I comment it out, the indexing (and searching) works as I
> expect, and guess is indexed into the swishdefault metaname. With that
> line there, it is put into the swishtitle metaname.

I thought about that at first but missed seeing the problem in the

moseley@bumby:~$ swish-e -i 1.html -c c -T indexed_words -v0
    Adding:[1:swishdocpath(17)]   '1'   Pos:1  Stuct:0x1 ( FILE )
    Adding:[1:swishdocpath(17)]   'html'   Pos:2  Stuct:0x1 ( FILE )
    Adding:[1:swishdefault(1)]   'title'   Pos:2  Stuct:0x87 ( META HEAD TITLE FILE )
    Adding:[1:swishtitle(10)]   'title'   Pos:2  Stuct:0x87 ( META HEAD TITLE FILE )
    Adding:[1:swishtitle(10)]   'body'   Pos:5  Stuct:0x9 ( BODY FILE )

"body" should not be swishtitle in my test.

Now I have two bugs to figure out.  Looks like tomorrow will be as soon 
as I can get to it.

My guess is that the alias end tag is not being detected correctly and 
thus the meta state stack is not getting "popped" like it should.

Bill Moseley
Received on Wed Sep 3 19:13:11 2003