Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] swishtitle bug

From: Peter Karman <peter(at)>
Date: Mon Jul 19 2010 - 21:58:45 GMT
Robert Nelson wrote on 7/19/10 2:13 PM:

> I finally tracked it down to the title tag appearing after the meta tags
> in the header.  If it appears after the meta tags it isnít found.  This
> is probably a bug in parser.c but I figured someone more familiar with
> it could find it faster than I can.

hm. that seems suspicious to me:

[karpet@pekmac:~/tmp/swishtitle]$ cat doc.html
  <meta name="foo" content="bar" />
  <title>ima doc</title>
  content here

[karpet@pekmac:~/tmp/swishtitle]$ swish-e -w content
# SWISH format: 2.5.8
# Search words: content
# Removed stopwords:
# Number of hits: 1
# Search time: 0.000 seconds
# Run time: 0.008 seconds
1000 doc.html "ima doc" 126

I would be more inclined to guess that there were one or more *particular* meta
tags that were throwing off your indexing process.

Can you create a small, reproduce-able test case? That would help a lot.

Peter Karman  .  .  peter(at)
Users mailing list
Received on Mon Jul 19 17:58:48 2010