View Single Post
Old 05-26-2004, 10:54 AM   #1
ciaran@clissman
Green Mole
 
Join Date: May 2004
Posts: 10
Question Many sites indexed - how to restrict search results to just one or two ?

Hi folks,

I've happily indexed a couple of dozen sites. Now I want to search my index, but return results from only a subset of the sites that I have indexed.

For example, I've indexed site1, site2 and site3. My user comes along and only wants search results from site2 and site3.

I'd like to implement this by calling a php script with url "blah.php?site1=0&site2=1&site3=1", and then make the appropriate calls to phpdig.

What are those calls, and are they documented ? The documentation lists the paramters for the phpdigsearch() function, but not what they are...

phpdigSearch($id_connect, $query_string, $option, $refine,
$refine_url, $lim_start, $limite, $browse,
$site, $path, $relative_script_path, 'array')

Any assistance most welcome!

Ciaran
ciaran@clissman is offline   Reply With Quote