![]() |
|
![]() | ||
|
Subject:
Joining MSSQL, MS Index Server in ASP
Category: Computers > Programming Asked by: jamwales-ga List Price: $20.00 |
Posted:
18 Aug 2002 01:10 PDT
Expires: 17 Sep 2002 01:10 PDT Question ID: 55817 |
I'm using a remote win2000 web hosting company, with give us the use of MSSQL2000, and MS Index server. I've written a database, and have index server switched on. I now want to write my own site ( simple ) search engine, as commerical solutions are too expensive. The hosting company does not allow the use of linked servers in MSSQL ( I do not have admin rights to my MSSQL account), and I cannot write files to my hosting space directly using asp. Question ( Finally ! ) : Is there a way of connecting MSSQL & Index Server together, without the use of a linked server - so that both MSSQL & index Server can be queried ( joined ) in one sql ( asp ) statement i.e. one recordset being produced ? I do not want to create a static page for every possible page in the database ! thanks Jamie | |
| |
|
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: Joining MSSQL, MS Index Server in ASP
From: bribold-ga on 18 Aug 2002 10:40 PDT |
Hi Jamwales, I'd say it's unlikely that there is another server-side mechanism that you can use to combine the two SQL sources, and if there is one, I doubt your host will allow it. Perhaps you might rethink your ideas a little. You said you wanted a simple search: I'm assuming that your static content that would be collated in Index Server will not be essentially related to your data in SQL server? If so, it might be a nice idea to fire the same query criteria at both servers with different statements and actually present the two sets separately, with a slightly different design.. For instance, if on your static side you had, say, "news articles" and in your database you had "Cars" and "Prices", you might present the results of your search thus: _News Articles_ 1. Result 1.. blah.. blah.. 2. Result 2.. etc.. etc.. _Cars_ a. Ford $20,000 b. Mercedes $40,000 etc, etc.. The delineation of contexts (news, cars etc..) makes it very clear what the results mean. It also helps you to prioritise results. For instance, you might know that people will normally want to search for Car information. Showing the results from News might be secondary. You might even allow the user to choose different sources for the results. Whereas combining the two results is a nice technical feat, would it actually make for a clean and obvious search result page? Something to think of... If you really, really do want to do it, a cheap and cheerful way might be to create a prodecure in ASP that grabs the Index Server results and fires them into a temporary table in your database, then you can query that table and your SQL data together (the temporary table would have to be global and you'd have to use the same connection for inserting the index server data into your main database and search from both result sets). A bit crappy, but it might work. Hope that was of help.. BB |
Subject:
Re: Joining MSSQL, MS Index Server in ASP
From: pdrg-ga on 30 Aug 2002 07:45 PDT |
I think what you're after is full-text indexing on the SQL db? It uses Index server under the covers I understand, and the syntax is very simple once you've created the full-text catalogs - see SQL Books Online for help. Or I may have missed the point altogether! |
Subject:
Re: Joining MSSQL, MS Index Server in ASP
From: nathanysmith-ga on 10 Sep 2002 16:23 PDT |
i think what you want to look at is the OPENROWSET statement; as long as you have an oledb provider you're good...i think there's also a statement that supports odbc but not 100% on that |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |