[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Full-Text Search on multiple tables

Posted on 2003-11-03
4
Medium Priority
?
611 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 100 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

Industry Leaders: 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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

656 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