Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] swishtitle bug

From: Peter Karman <peter(at)not-real.peknet.com>
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
<html>
 <head>
  <meta name="foo" content="bar" />
  <title>ima doc</title>
 </head>
 <body>
  content here
 </body>
</html>

[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  .  http://peknet.com/  .  peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Jul 19 17:58:48 2010