LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-03-2003, 02:51 PM   #1
cludwin
Member
 
Registered: Feb 2002
Distribution: Slack
Posts: 50

Rep: Reputation: 16
Practical Search Engine design


I was wondering if anyone had any links pointing to information on search engine design. I am not talking about the ranking algorithms ( e.g. google - page rank ) I am more concerned with the mechanics.

A good example is the search engine that powers this site. It handles the search form, stores meta information about your search ( e.g.: "Ten Most Recent Searches at LinuxQuestions.org" ), puts up a page saying that your search is in progress and then uses a "<meta>" redirect to forward you to your results. I think that the results are stateful, so I can view the first 25 records and then hit next page and see the next 25 results w.o having to redo the search. So I am looking for information on how to impliment these kinds of fetures.

I have been googleing non-stop for like an hour w/ mixed results, any Ideas?

Thanks cludwin
 
Old 09-03-2003, 02:55 PM   #2
cludwin
Member
 
Registered: Feb 2002
Distribution: Slack
Posts: 50

Original Poster
Rep: Reputation: 16
I guess my next step is looking through some code in some Open Source Bulletin Boards and Search Engines...
 
Old 09-03-2003, 04:15 PM   #3
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Well, as most of these boards are DB-powered (usually some form of SQL-based database), you simply use the DB queries to do the searching for you in most cases. Then you just parse the results.

But don't confuse forum searches with search engines, because forum searches are basically just DB query frontends.
 
Old 09-03-2003, 05:32 PM   #4
cludwin
Member
 
Registered: Feb 2002
Distribution: Slack
Posts: 50

Original Poster
Rep: Reputation: 16
No confusion here,
I am looking for more than just a form handling script to execute a SQL statement, I think I am going to look into text-file cahing because It would be competely in efficient to search a 10,000 record database every time you wanted to grab the next 25 matches.
 
Old 09-04-2003, 12:59 AM   #5
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Well, any database worth anything has its own caching routines. If you're using a database, you shouldn't really try to build on top of it what ought to be built INTO it. If you're doing very specific things (whatever that "next 25 matches" thing you are referring to sounds like a candidate), then that's all well and good, but you'll need to pass along more details for help on those
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
new search engine? markhod General 3 04-08-2005 04:44 PM
local search engine ?? koodoo Linux - Newbie 2 03-23-2005 02:12 PM
search engine jean-michel LQ Suggestions & Feedback 2 04-09-2004 12:40 PM
LQ search engine Tinkster LQ Suggestions & Feedback 6 03-16-2003 01:57 PM
Search Engine? phek Linux - General 1 09-20-2001 07:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration