Solved

Simple search engine

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
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…

762 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

18 Experts available now in Live!

Get 1:1 Help Now