Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 380
  • Last Modified:

Simple search engine

I want to create as very simple search engine for some data ( journal names ) . What should I know? Where should I start?
0
ja7mad
Asked:
ja7mad
1 Solution
 
LeroyskiCommented:
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
 
ja7madAuthor Commented:
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
 
MrDeveloperCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now