473,385 Members | 1,337 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

doing a search

Intranet tech support system using ASP/VBScript running on W2000 Server,
IIS, and using SQL Server 2000. I need to add a search engine. The problem
with using a regular SQL query is that if you put a phrase, say "red car" in
the text box, to hit submit, my SQL qurey would only look for that phrase,
and would leave out other items where the words red and car appeared
separately. I guess what I am saying is that I would like something like
Google or other search engines, which would find results which seem to fit
the criteria typed into the box, and rank them and highlight key words.

My research so far has shown me that SQL Server has something called
Full-Text searching, and I have tried to read up on that in BOL, but not
really seeing how I can apply it. I wonder if there's already some tutorials
or sample code out there. I have done some looking on the Web, but still
haven't found much. Does anyone here know where I can look? Having some
sample code would be best.
Jul 19 '05 #1
4 1591
middletree wrote:
Intranet tech support system using ASP/VBScript running on W2000
Server, IIS, and using SQL Server 2000. I need to add a search
engine. The problem with using a regular SQL query is that if you put
a phrase, say "red car" in the text box, to hit submit, my SQL qurey
would only look for that phrase, and would leave out other items
where the words red and car appeared separately. I guess what I am
saying is that I would like something like Google or other search
engines, which would find results which seem to fit the criteria
typed into the box, and rank them and highlight key words.

My research so far has shown me that SQL Server has something called
Full-Text searching, and I have tried to read up on that in BOL, but
not really seeing how I can apply it. I wonder if there's already
some tutorials or sample code out there. I have done some looking on
the Web, but still haven't found much. Does anyone here know where I
can look? Having some sample code would be best.


Unfortunately, I've never done anything with full-text indexing.
There's a newsgroup devoted to fulltext issues:
microsoft.public.sqlserver.fulltext. You may get an answer there.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #2
Yes, I've spent the last month looking at posts there. I was just hoping
there might be a tutorial already written somewhere, sample code to get me
started. Oh well.
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:#J**************@TK2MSFTNGP11.phx.gbl...
middletree wrote:
Intranet tech support system using ASP/VBScript running on W2000
Server, IIS, and using SQL Server 2000. I need to add a search
engine. The problem with using a regular SQL query is that if you put
a phrase, say "red car" in the text box, to hit submit, my SQL qurey
would only look for that phrase, and would leave out other items
where the words red and car appeared separately. I guess what I am
saying is that I would like something like Google or other search
engines, which would find results which seem to fit the criteria
typed into the box, and rank them and highlight key words.

My research so far has shown me that SQL Server has something called
Full-Text searching, and I have tried to read up on that in BOL, but
not really seeing how I can apply it. I wonder if there's already
some tutorials or sample code out there. I have done some looking on
the Web, but still haven't found much. Does anyone here know where I
can look? Having some sample code would be best.


Unfortunately, I've never done anything with full-text indexing.
There's a newsgroup devoted to fulltext issues:
microsoft.public.sqlserver.fulltext. You may get an answer there.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Jul 19 '05 #3
Did you try
http://www.microsoft.com/sql/evaluat...s/fulltext.asp
it has a link to "Building Search Applications for the Web Using Microsoft
SQL Server 2000 Full-Text Search"
http://msdn.microsoft.com/library/de...textsearch.asp
as well as English Query
http://msdn.microsoft.com/library/de...oncpt_1koj.asp

"middletree" <mi********@HTOmail.com> wrote in message
news:eR*************@TK2MSFTNGP11.phx.gbl...
Yes, I've spent the last month looking at posts there. I was just hoping
there might be a tutorial already written somewhere, sample code to get me
started. Oh well.
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:#J**************@TK2MSFTNGP11.phx.gbl...
middletree wrote:
Intranet tech support system using ASP/VBScript running on W2000
Server, IIS, and using SQL Server 2000. I need to add a search
engine. The problem with using a regular SQL query is that if you put
a phrase, say "red car" in the text box, to hit submit, my SQL qurey
would only look for that phrase, and would leave out other items
where the words red and car appeared separately. I guess what I am
saying is that I would like something like Google or other search
engines, which would find results which seem to fit the criteria
typed into the box, and rank them and highlight key words.

My research so far has shown me that SQL Server has something called
Full-Text searching, and I have tried to read up on that in BOL, but
not really seeing how I can apply it. I wonder if there's already
some tutorials or sample code out there. I have done some looking on
the Web, but still haven't found much. Does anyone here know where I
can look? Having some sample code would be best.


Unfortunately, I've never done anything with full-text indexing.
There's a newsgroup devoted to fulltext issues:
microsoft.public.sqlserver.fulltext. You may get an answer there.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


Jul 19 '05 #4
This looks good. Thanks. I guess I was doing all my searches on sites like
4guysfromrolla and aspfaq and other 3rd-party sites. I should have done a
better job of going to the original source.
"TomB" <sh*****@hotmailXXX.com> wrote in message
news:eP**************@tk2msftngp13.phx.gbl...
Did you try
http://www.microsoft.com/sql/evaluat...s/fulltext.asp
it has a link to "Building Search Applications for the Web Using Microsoft
SQL Server 2000 Full-Text Search"
http://msdn.microsoft.com/library/de...textsearch.asp as well as English Query
http://msdn.microsoft.com/library/de...oncpt_1koj.asp
"middletree" <mi********@HTOmail.com> wrote in message
news:eR*************@TK2MSFTNGP11.phx.gbl...
Yes, I've spent the last month looking at posts there. I was just hoping
there might be a tutorial already written somewhere, sample code to get me started. Oh well.
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:#J**************@TK2MSFTNGP11.phx.gbl...
middletree wrote:
> Intranet tech support system using ASP/VBScript running on W2000
> Server, IIS, and using SQL Server 2000. I need to add a search
> engine. The problem with using a regular SQL query is that if you put > a phrase, say "red car" in the text box, to hit submit, my SQL qurey
> would only look for that phrase, and would leave out other items
> where the words red and car appeared separately. I guess what I am
> saying is that I would like something like Google or other search
> engines, which would find results which seem to fit the criteria
> typed into the box, and rank them and highlight key words.
>
> My research so far has shown me that SQL Server has something called
> Full-Text searching, and I have tried to read up on that in BOL, but
> not really seeing how I can apply it. I wonder if there's already
> some tutorials or sample code out there. I have done some looking on
> the Web, but still haven't found much. Does anyone here know where I
> can look? Having some sample code would be best.

Unfortunately, I've never done anything with full-text indexing.
There's a newsgroup devoted to fulltext issues:
microsoft.public.sqlserver.fulltext. You may get an answer there.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"



Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Oleg Mustiazza | last post by:
Are there any classes for doing FTP in C#, similar to the CFtpConnection in MFC? Thanks,
4
by: John Boy | last post by:
Hi, Can anyone help. This is really doing my nut in. 3 years ASP exp. and now doing .DOT which is a step in the wrong direction. Basically I am left with the code of a guy who has left. When I...
18
by: JohnR | last post by:
From reading the documentation, this should be a relatively easy thing. I have an arraylist of custom class instances which I want to search with an"indexof" where I'm passing an instance if the...
4
by: Robert Dufour | last post by:
I have two classes , class1 and class2 In class1 I have Public Overload function Fct1(paramlist) as string some code end function Public overloads Function Fct1(otherparamlist) as string...
3
by: tracethepath | last post by:
i am new to this... i was making a menu driven program on file operations.. to add, delete, modify, search and display a particular record and list al the records... i have not yet written...
0
by: Bob Alston | last post by:
I am doing volunteer work with a human services referral agency. The want me to build a database of referral data - other agencies, sources of information, etc. Ideally it would be a structured...
13
by: Robertf987 | last post by:
Hi, Yet another thing I need help with I'm affraid. I'll first explain what I want, then I'll try to explain what I have. I'm using Microsoft Access 2000. What I want is to be able to do a...
10
by: DavidSeck.com | last post by:
Hi, I am working with the Facebook API right now, an I have kind of a problem, but I don't know what I am doing wrong. So I have a few arrays, f.ex.: User albums: array(2) {
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.