Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Simple search engine

Posted on 2004-04-08
5
Medium Priority
?
370 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

722 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