Solved

Simple search engine

Posted on 2004-04-08
5
335 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 50 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now