Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-26-2007, 05:33 PM   #1 (permalink)
Contributing Member
 
Join Date: 07-01-06
Posts: 122
iTrader: 0 / 0%
Latest Blog:
None

marc_gfx is liked by many
Question Search Code for a Forum

I programmed my own forum a while ago, quite similar to this one in a way (hierarchical, new threads on each level as well as posts). most people will probably ask why I did this... well, I simply wanted to. however there are still some things missing to make it perfect. I currently have no forum-search and am now wondering how to go about this sensibly. Thought I'd get some feedback on my ideas...

My website is for numerous different teams with their own forums that should therefore not interfere with each other.
I plan to index every unique word from every post, that is larger than 2(or 3?) letters.
the structure would be something like this:
{
teamID
word
list of all postIDs separated by a special character
}
e.g.:{
20,
"hello",
11*22*23*44*55*75*78
}
meaning that "hello" is found in 7 different posts. therefore searching for "hello" would give me the list of all relevant posts fairly quickly. searching for "hello" and "bye" would be done by searching for both words separately and then looking for overlapping posts or joining results depending on what search commands were used.

seems to be a sensible way to me, but I have absolutely no experience in search-engine methods. maybe someone can give me a kick in a better direction before I end up producing garbage.
__________________
Test your geography knowledge on MapBattle.com! You can also make your own map challenges ;)

Get your real-life teams organized! Onlito.com, Online Team Organisation (Free & Beta)
marc_gfx is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Code Search - Code Search Engine from the Big G Avinash Coding Forum 2 10-05-2006 11:10 PM
Search within distance of zip code functionality theChronic Coding Forum 3 07-24-2006 08:56 PM
Code to prevent search engines from seeing theChronic SEO Forum 4 07-18-2006 05:35 AM
New Search Engine - Search for Programming Code ! ! Coding Forum 0 05-17-2005 01:33 PM
Forum Code Help.... Eggs & Hammy Part Deu Coding Forum 6 06-29-2004 03:48 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 10:57 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.