Lars Kellogg-Stedman wrote on 12/1/04 8:49 PM:
> Hello again,
> Another API question. Is there a substantive difference between:
> $swish->Query("foo or bar");
> my $so = $swish->New_Search_Object;
> $so->Execute("foo or bar");
both of those will return a results object, so in your example, no
but there's a big advantage in using New_Search_Object.
The only way to get a search object is with New_Search_Object. And only
with a search object can you use the following methods:
for example, if you want to sort by anything other than the default
(swishrank) you need a search object.
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Wed Dec 1 19:16:13 2004