Skip to main content.
home | support | download

Back to List Archive

RE: swish-e speed? (performance issues, or bonehead admin?)

From: Jeffrey Isherwood <ish(at)not-real.dolphtech.com>
Date: Wed Aug 20 2003 - 18:12:27 GMT
Thank you David, I don't need the meta properties support no...

And that worked like a champ!

26 results displayed in less than 1 second!



-----Original Message-----
From: David L Norris [mailto:dave@webaugur.com] 
Sent: Wednesday, August 20, 2003 1:19 PM
To: ish@dolphtech.com
Cc: Multiple recipients of list
Subject: RE: swish-e speed? (performance issues, or bonehead admin?)


On Wed, 2003-08-20 at 09:42, Jeffrey Isherwood wrote:
>     261                                         // Get the META tags from the
> file
>     262                                         $aryMetaTags =
> get_meta_tags($strCurrentFile);

Oh!  Ewh!  That could very well be a problem.


Look for a line in search.conf that says this:
  $intGetFileData = 1;
Change it to:
  $intGetFileData = 0;

See if that helps.  I bet it does.  Note the comment right above
$intGetFileData in search.conf that says "may impact speed"  ;-)

Do you need meta properties support?  If so I'll make a beta version of 1.x
available.  It breaks some obscure features but it does provide decent SWISH-E
meta properties support.

Simple Web Search was written for SWISH-E 1.2 which didn't support meta
properties.  So, I hacked it by using PHP's built-in HTML metadata parser.
Really really ugly and terribly bad if you have non-HTML files in the mix.

The plan is to rewrite SWS for Jose's native PHP module.  (And to implement a
fallback to the swish-e executable.)

-- 
 David Norris
  http://www.webaugur.com/dave/
  ICQ - 412039
Received on Wed Aug 20 18:13:44 2003