Skip to main content.
home | support | download

Back to List Archive

Re: Tuning ranking manually with MetaNamesRank

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Jun 09 2005 - 14:41:09 GMT
On Thu, Jun 09, 2005 at 06:50:49AM -0700, koszalekopalek wrote:
> Arghh, is this where I went wrong? Remember that code
> snippet I sent:
> 
>      $handle = SWISH::API->new ($db);
>      $query = $handle->New_Search_Object;
>      $query->SetSort ('swishrank');
>      $results = $query->Execute($formWords);
> 
> I guess I also need to use before executing
> the query:
> 
>      $query->SetStructure (IN_FILE | IN_META);

That's an interface to the -t option, I think, which isn't used very
often.  That will limit you within the meta tag you are searching.

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Thu Jun 9 07:41:10 2005