|
Home > Archive > IIS Index Server > April 2004 > Multi-catalogs but with 2 scopes
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Multi-catalogs but with 2 scopes
|
|
| abbott 2004-04-19, 11:34 pm |
| you can work like this:
suppose you have catalog a and b , and you want to add=20
scope a1 and a2 to a , while b1 and b2 to b.
q.Catalog=3D"a , a , b , b"
Util.addScopeToQuery q , a1 , "deep"
Util.addScopeToQuery q , a2 , "deep"
Util.addScopeToQuery q , b1 , "deep"
Util.addScopeToQuery q , b2 , "deep"
>-----Original Message-----
>Hi:
>
>I=B4m using 2 catalogs, and i declare 2 scopes, one for=20
each catalog...
>
>Util.AddScopeToQuery objQuery, "\","deep"=20
>Util.AddScopeToQuery objQuery, "\","deep"=20
>
>This is working !!!!
>
>But I need to use 2 or maby 3 scopes for each catalog, is=20
there any way that i can specify that?
>Is there any way to specify wich catalog I=B4m using when I=20
declare the scope...?=20
>
>I hope you can help... thankssss
>
>
>
> ****************************************
******************
************
>Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
>Comprehensive, categorised, searchable collection of=20
links to ASP & ASP.NET resources...
>.
>
| |
| ncolmero@elnorte.com 2004-04-20, 6:35 pm |
| *you can work like this:
*suppose you have catalog a and b , and you want to add=20
*scope a1 and a2 to a , while b1 and b2 to b.
*q.Catalog=3D"a , a , b , b"
*Util.addScopeToQuery q , a1 , "deep"
*Util.addScopeToQuery q , a2 , "deep"
*Util.addScopeToQuery q , b1 , "deep"
*Util.addScopeToQuery q , b2 , "deep"
It works!!!!!!!!
Thank very much...
I have another question, i have Q.MaxRecords=100 and if i have
q.Catalog="a , a , b , b" it gave 400, 100 for each catalog, is there any way that i could have only 100?
****************************************
******************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
|
|
|
|
|