Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Simple search engine

Posted on 2004-04-08
5
Medium Priority
?
376 Views
Last Modified: 2012-05-04
I want to create as very simple search engine for some data ( journal names ) . What should I know? Where should I start?
0
Comment
Question by:ja7mad
5 Comments
 
LVL 1

Expert Comment

by:Leroyski
ID: 10783283
Well, it'd help if you'd say what database you are using. :P

Search engines are pretty much SELECT - LIKE queries. Example:

SELECT * FROM table WHERE fieldcontent LIKE '%input%'

input is the variable or whatever thing you want to look for.
0
 

Author Comment

by:ja7mad
ID: 10794729
My database is just a simple set of item names with properties and I want to make a search program it run thru it. I'm using C# to develop the software and I assume I sould learn Microsoft SQL server 2000 to complete the task. Could u help me with some guidlines or steps to follow?
0
 

Accepted Solution

by:
MrDeveloper earned 200 total points
ID: 10805818
I used sql server full-text for a web site search that I built.  It was pretty easy to set up...  I think that you need to be on enterprise version of sql2K (supported on win2K and 2003, but not on xp pro for some reason).  the sql server help on full-text indexing and searches is pretty good.  I used the CONTAINS keyword for my stored procedure, to which I passed the user input.  I did have some trouble with ignored words - you see, sql server ignores things like a, an, at - the users were entering stuff like this and I had to trap an error the popped up if they only put in ignored words.  You can also create an agent job to rebuilt your f/t indexes at whatever frequency is appropriate

Let me know if you need more detail
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

971 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