| bfurlough 2004-05-11, 1:38 pm |
| Hi all I am really new to using index service and in need of aid.
Basically I have a web site that will allow the user to select from 1 to many servers they wish to query.
Once they select the servers and enter a search string I want to query the catalogs on the appropriate servers.
Here is the code I have (I am hard coding in the catalogs for testing reasons)
set Session("Query") = nothing
set Session("Recordset") = nothing
NextRecordNumber = 1
set Q = Server.CreateObject("ixsso.Query")
set util = Server.CreateObject("ixsso.util")
Q.Query = SearchString
Q.SortBy = "rank[d]"
Q.Columns = "DocTitle, vpath, path, filename, size, write, characterization"
Q.Catalog = "query://mids-server1/web,query://mids-server2/web,query://mids-server3/web"
set RS = Q.CreateRecordSet("nonsequential")
Problem is I am getting an error.
Error Type:
CreateRecordset (0x80041827)
Mismatch in cardinality of machine(s)/catalog(s)/scope(s).
MSDN and the SDK have not been very helpful for solving this.
Thanks |