I thank you for your attempt.
I will give more detail.
I have a database with the following columns:
ID Title Description URL Category Priority
ID - This has the obvious primary key (auto_increment)
Title - The title of the web site submitted to the search engine
Description - A description of the web site submitted to the search engine
URL - The URL of the web site. This would be taken and directly put into a link tag.
Category - The Category the submitted web site belongs to.
Priority - If someone pays for top listings they will have a 1 in this column otherwise the value is 0. I just have the results ORDER BY Priority DESC. However for most relevent first... i dont know how to do this (I can scrap the whole pay for ranking if someone could tell me how to rank by most relevent)
The way I had the search engine (partially) working was to
$res=mysql_query("SELECT FROM dbsearch WHERE Title LIKE(%$q%) OR Description LIKE(%$q%) OR Category LIKE(%$q%)");
As you can imagin a search like that through the 300,000+ entries in my 55MB database takes a while. I have it display results:
while($row=mysql_fetch_array($res)) {
echo "<a href=$row[URL]>$row[Title]</a>";
echo "<br>$row[Description]<br>";
}
Hence I have a simply PHRASE search engine... but I want to make it search containing ANY and ALL options. I also want it to highlite in bold the keywords the user searched from in different parts of the title and description.
I only want to search this one DB and display results from this one DB.
As for the RDF I want to parse it for entries in my search engine (submitted sites) this way I would have a very large search engine.
If anyone can suggest software that ISNT $200 that will parse DMOZ RDF Dumps into MySQL (I can re-write the search engine to comply with whatever the program's format is -if it isnt customizable) I would by 4EVER greatful. However I would prefer a free method of doing so.
THX ALOT FOR ANY AND ALL HELP!