Larry Brown
2006-11-09 17:56:31 UTC
I saw it was possible to query multiple catalogs with Index Server, even on
remote servers. For example, doing this:
SELECT DocAuthor, size, DocTitle, write
FROM (TABLE MyFirstserver.MyCatalog..SCOPE('"/Specs"')
UNION ALL TABLE MySecondServer.OtherCatalog..SCOPE('"/OtherSpecs"'))
WHERE CONTAINS(Contents, '"content search"')
But when I do a query that searches on several catalogs, on different
servers, how will I know where the documents I get in my result list are
located?
There is no property for getting the server name, nor the catalog name, nor
even the scope name. vpath and path are local to each server.
So who should I proceed to get a link to each of my documents in my result
list ?
Many thanks for any help!
remote servers. For example, doing this:
SELECT DocAuthor, size, DocTitle, write
FROM (TABLE MyFirstserver.MyCatalog..SCOPE('"/Specs"')
UNION ALL TABLE MySecondServer.OtherCatalog..SCOPE('"/OtherSpecs"'))
WHERE CONTAINS(Contents, '"content search"')
But when I do a query that searches on several catalogs, on different
servers, how will I know where the documents I get in my result list are
located?
There is no property for getting the server name, nor the catalog name, nor
even the scope name. vpath and path are local to each server.
So who should I proceed to get a link to each of my documents in my result
list ?
Many thanks for any help!