Solved

Full-Text Search on multiple tables

Posted on 2003-11-03
4
604 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
  • 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

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.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

808 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