Skip to main content.
home | support | download

Back to List Archive

Re: NoContents Problem

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Dec 18 2002 - 17:51:02 GMT
On Wed, 18 Dec 2002, Rolf Schatzmann wrote:

> IndexOnly  .pdf .txt .doc .html .man  READM* INSTAL* MANU* manu* .htm* =
> .rtf .TXT .DOC .wks .xls .PDF .gif .GIF .xbm .au .MOV .mov .MPG .mpg .PS =
> .ps .ZIP .zip .ARC .arc .GZIP .gzip .GZ .gz .bzip .JPEG .jpeg .JPG .j$
> 
> NoContents .gif .GIF .xbm .au .MOV .mov .MPG .mpg .PS .ps .ZIP .zip .ARC =
> .arc .GZIP .gzip .GZ .gz .bzip .JPEG .jpeg .JPG .jpg .AVI .avi .BMP .bmp =
> .TIFF .tiff .MPEG .mpeg .SIT .sit .HQX .hqx .htaccess .htpasswd .EXE =
> .exe .BIN .bin .bat .snd .AIFF .aiff .AIFF .aif .Apple* .DB .img .IMG =
> .dmg .DMG

You can't use shell globs  .Apple* is looking for '.Apple*' not .Apple
followed by anything.

There's also a 2000 char line limit, but that's not your problem above.

If something isn't working try reducing things to just what's not working,
so if .mov is getting indexed try a simple config file like:

IndexOnly .mov
NoContents .mov

> ./swish-e -c c -i test.mov -T indexed_words -v0
    Adding:[1:swishdefault(1)]   'test'   Pos:4  Stuct:0x9 ( BODY FILE )
    Adding:[1:swishdefault(1)]   'mov'   Pos:5  Stuct:0x9 ( BODY FILE )

That indexed just the file name.

-- 
Bill Moseley moseley@hank.org
Received on Wed Dec 18 17:51:27 2002