Solved

Full-Text Search on multiple tables

Posted on 2003-11-03
4
607 Views
Last Modified: 2008-02-01
I have a query that searches for Forum Posts containing the search terms provided by the user.
I have enabled my MESSAGE field in the 'POSTS' table for full-text index and the search will work if I dont need to reference any values from any other tables, but the problem is, I need to bring in a number of other fields from different tables when my result is returned to the user, for example, the POSTS table has a USERID field that relates to the Users table, to identify who made the post. From this I want to return things like the USERNAME associated with each post returned from the search, where they live etc.
Is there any way this can be done bearing in mind that I am using a "FROM FREETEXTTABLE (Posts, Message, 'search term string here')" approach?
In the past, I would simply have a number of joins to each table I needed other info from, but now I'm using Full-Text I don't know how to join, or even if I can, the other tables for the additional information?

Any help would be much appreciated.

Thanks in advance.
0
Comment
Question by:Starnzy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 9671240
Please maintain your open questions:

1 08/19/2003 60 Multiple User Controls - Enter Key submi...  Unlocked .NET
2 09/10/2003 50 IE Back Button after form posts to IFram...  Unlocked JavaScript
3 10/02/2003 75 Windows .NET Service - Permissions Probl...  Unlocked .NET

Thanks,
Anthony
0
 

Author Comment

by:Starnzy
ID: 9671371
acperkins: Sorry about that, I've been through them now (the 1st one in your list remains unsolved).
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 9671442
Than close the question.

Nobody answered my question. What do I do?
http://www.experts-exchange.com/help/closing.jsp#5

Anthony
0
 

Accepted Solution

by:
kauf earned 25 total points
ID: 9744175
you should be able to add multiple tables & fields to one search catalog.
after that you can search the complete catalog through CONTAINS(*,'"search string"')
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question