I am not quite sure what you mean. Perhaps I was not clear.
I have an index with thousands of documents that I use swish.cgi to search.
When results are returned, most show up fine. However, if the original
HTML document did not have a title, then it shows up in the results
list without a title... so there is nothing to "click-on"
Here is an example:
The second result is what I am talking about.
[mailto:email@example.com]On Behalf Of firstname.lastname@example.org
Sent: Saturday, September 13, 2003 1:23 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: swish.cgi results no path in title
On Sat, Sep 13, 2003 at 06:39:34AM -0700, Aaron Bazar wrote:
> I have run into an issue with the swish.cgi in version 2.4... Some html
> pages that I index do not have a <title> tag .. as far as I know, if there
> is no title then swish is supposed to use the docpath as the title.
> this is not happening. I end up with nothing in the title... consequently
> there is no link- just the rank and description. I have been trying to
> where in the perl code this is, with no luck. Basically, if there is no
> swishtitle, I would like to put in a default like "Untitled" (or even the
> docpath like it is supposed to work)
Try and support what you are saying with examples. Like this:
moseley@laptop:~$ cat 1.html
moseley@laptop:~$ swish-e -i 1.html -v0
moseley@laptop:~$ swish-e -w bodyword
# SWISH format: 2.4.0-pr1
# Search words: bodyword
# Removed stopwords:
# Number of hits: 1
# Search time: 0.003 seconds
# Run time: 0.087 seconds
1000 1.html "1.html" 63
Received on Sat Sep 13 17:59:53 2003