Alan,
Manohar, here's an example of both a local IS for the files and UNION'ed
with SQL FTS:
use master
go
EXEC sp_addlinkedserver 'Monarch', '', 'MSIDXS', 'Web', NULL, NULL
EXEC sp_addlinkedsrvlogin 'Monarch', 'FALSE', NULL, 'abc', ''
go
-- test IS query
select * from OpenQuery(Monarch, 'Select Directory,
FileName, size, Create, Write From SCOPE() Where size <= 200')
go
-- MSIDXS combined or UNIONed with SQL FTS query...
select * from titles where contains(*, 'books')
union
select * from OpenQuery(Monarch,
'select Directory, FileName, size, Create, Write
from SCOPE() where CONTAINS(Contents,''Index'')> 0 ')
Regards,
John
"Manohar Kamath [MVP]" <> wrote in message
news:#...
> There are some good references in the Index server documentation itself,
or
> on MSDN. I have done index queries using Oledb driver for Index server,
but
> not combined with SQL server.
>
> One idea is to create a linked server from SQL Server -- not sure if this
is
> even possible. But if it is, then you could query them together and
combine
> results.
>
> http://support.microsoft.com/default...b;en-us;198493
>
> The above article has precisely what you are looking for -- querying index
> server from a SQL server. Just add another query and union the results.
>
> --
> Manohar Kamath
> Editor, .netBooks
> www.dotnetbooks.com
>
>
> "Alan" <> wrote in message
> news:...
> > I'm just about to start a project that needs to combine the results of a
> SQL
> > Server query with the results of an Index Server query. The basic idea
is
> > that the user enters/selects a bunch of search criteria on a form. Most
of
> > the criteria selected by the user will be used to select records from
the
> > database - standard WHERE clause stuff - but the user can also enter
> > free-text that should be searched for in associated uploaded documents.
> The
> > documents are sitting in the file-system with file-name pointers only
> stored
> > in the database (not the document). Only records where the associated
> > free-text is found in the documents should be returned. I'm new to Index
> > Server and am wondering how is this done. Any good references/tutes?
> >
> > ASP 3.0
> > IIS 5.0
> > Windows 2000 Server
> > SQL Server 2000
> >
> > Cheers,
> >
> > Alan
> >
> >
>
>