HomeDiagramsDatabaseMapsForum About
     

Go Back   SkyscraperPage Forum > Regional Sections > Canada > Ontario > Hamilton > General Discussion


Reply

 
Thread Tools Display Modes
     
     
  #1  
Old Posted Oct 24, 2008, 3:18 AM
MsMe MsMe is offline
Closed account
 
Join Date: May 2008
Posts: 1,267
Searching Posts

What's up with not being able to search posts?
Reply With Quote
     
     
  #2  
Old Posted Oct 24, 2008, 5:04 PM
vid's Avatar
vid vid is offline
I am a typical
 
Join Date: Apr 2004
Location: Thunder Bay
Posts: 41,172
It uses a lot of server resources, so it was disabled to alleviate the recent overloading.
Reply With Quote
     
     
  #3  
Old Posted Oct 24, 2008, 5:33 PM
flar's Avatar
flar flar is online now
..........
 
Join Date: Jan 2006
Location: Southwestern Ontario
Posts: 15,677
you can use Google to search the site. You can restrict the search results to this site by adding "site:forum.skyscraperpage.com" to your query.
__________________
RECENT PHOTOS:
TORONTOSAN FRANCISCO ROCHESTER, NYHAMILTONGODERICH, ON WHEATLEY, ONCOBOURG, ONLAS VEGASLOS ANGELES
Reply With Quote
     
     
  #4  
Old Posted Oct 24, 2008, 6:06 PM
ryan_mcgreal's Avatar
ryan_mcgreal ryan_mcgreal is offline
Raising the Hammer
 
Join Date: Apr 2008
Location: Hamilton
Posts: 527
Quote:
Originally Posted by flar View Post
you can use Google to search the site.
Why not just cut the search button over so it sends a get request to a Google search?

At the same time, I find it bizarre that if I want to see a list of my own comments, the site would generate that via a search. Why not just a query along the lines of:

select * from comments where username = 'ryan_mcgreal' order by comment_id desc

With decent indexing and possibly pagination, that really shouldn't put much strain on the server.
Reply With Quote
     
     
  #5  
Old Posted Oct 24, 2008, 6:21 PM
flar's Avatar
flar flar is online now
..........
 
Join Date: Jan 2006
Location: Southwestern Ontario
Posts: 15,677
Quote:
Originally Posted by ryan_mcgreal View Post
Why not just cut the search button over so it sends a get request to a Google search?

At the same time, I find it bizarre that if I want to see a list of my own comments, the site would generate that via a search. Why not just a query along the lines of:

select * from comments where username = 'ryan_mcgreal' order by comment_id desc

With decent indexing and possibly pagination, that really shouldn't put much strain on the server.
It must be something peculiar to the vbulletin software they use for this site? I don't know, I'm not involved with the technical aspects of the site and I don't even know what their setup is other than they use vbulletin (I think Mike K. takes care of those things). But I have noticed a lot of sites use google for searching now.
__________________
RECENT PHOTOS:
TORONTOSAN FRANCISCO ROCHESTER, NYHAMILTONGODERICH, ON WHEATLEY, ONCOBOURG, ONLAS VEGASLOS ANGELES
Reply With Quote
     
     
  #6  
Old Posted Oct 24, 2008, 6:25 PM
ryan_mcgreal's Avatar
ryan_mcgreal ryan_mcgreal is offline
Raising the Hammer
 
Join Date: Apr 2008
Location: Hamilton
Posts: 527
Quote:
Originally Posted by flar View Post
I have noticed a lot of sites use google for searching now.
That's because if you roll your own search engine, it's all but guaranteed to be inferior to google's. If google can't index your pages, that's a serious red flag about the findability of your site design.
Reply With Quote
     
     
  #7  
Old Posted Oct 24, 2008, 6:48 PM
crhayes crhayes is offline
Registered User
 
Join Date: Oct 2008
Location: The Hammer, Ontario
Posts: 382
Quote:
Originally Posted by ryan_mcgreal View Post
Why not just cut the search button over so it sends a get request to a Google search?

At the same time, I find it bizarre that if I want to see a list of my own comments, the site would generate that via a search. Why not just a query along the lines of:

select * from comments where username = 'ryan_mcgreal' order by comment_id desc

With decent indexing and possibly pagination, that really shouldn't put much strain on the server.
It is likely that there is a function that uses a query similar to that, it's just that they located it on the search page. I would imagine it was some of the queries for searching through posts that were causing the strain on the server (for example if it was full text searching).

The feature to disable searches in vBulletin might disable the entire "search.php" page, therefore rendering any of the other functions on the page useless. That's just a guess on my part though, I don't use vBulletin (open source is the way to go )

Either way, the site is MUCH quicker now that they have it disabled.
Reply With Quote
     
     
  #8  
Old Posted Oct 24, 2008, 7:54 PM
ryan_mcgreal's Avatar
ryan_mcgreal ryan_mcgreal is offline
Raising the Hammer
 
Join Date: Apr 2008
Location: Hamilton
Posts: 527
Quote:
Originally Posted by crhayes View Post
I don't use vBulletin (open source is the way to go )
How can it be written in PHP/MySQL and not be open source? O_o
Reply With Quote
     
     
  #9  
Old Posted Oct 24, 2008, 8:23 PM
flar's Avatar
flar flar is online now
..........
 
Join Date: Jan 2006
Location: Southwestern Ontario
Posts: 15,677
Quote:
Originally Posted by ryan_mcgreal View Post
How can it be written in PHP/MySQL and not be open source? O_o
Both PHP and MySQL have licenses that allow them to be used for commercial purposes without having to release the source. PHP has some weird apache like license and MySQL gives commercial vendors the option of buying out of the GPL.
__________________
RECENT PHOTOS:
TORONTOSAN FRANCISCO ROCHESTER, NYHAMILTONGODERICH, ON WHEATLEY, ONCOBOURG, ONLAS VEGASLOS ANGELES
Reply With Quote
     
     
  #10  
Old Posted Oct 24, 2008, 10:57 PM
Millstone Millstone is offline
Registered User
 
Join Date: Feb 2008
Location: Port Colborne, ON
Posts: 889
Quote:
Originally Posted by flar View Post
Both PHP and MySQL have licenses that allow them to be used for commercial purposes without having to release the source. PHP has some weird apache like license and MySQL gives commercial vendors the option of buying out of the GPL.
vBulletin's source is in php, you can just view the files and hack it any way you want.
Reply With Quote
     
     
  #11  
Old Posted Oct 24, 2008, 11:06 PM
flar's Avatar
flar flar is online now
..........
 
Join Date: Jan 2006
Location: Southwestern Ontario
Posts: 15,677
Quote:
Originally Posted by Millstone View Post
vBulletin's source is in php, you can just view the files and hack it any way you want.
True, you can get your hands on the code but it's not open source in the technical sense (ie: it's not free software).
__________________
RECENT PHOTOS:
TORONTOSAN FRANCISCO ROCHESTER, NYHAMILTONGODERICH, ON WHEATLEY, ONCOBOURG, ONLAS VEGASLOS ANGELES
Reply With Quote
     
     
  #12  
Old Posted Oct 24, 2008, 11:26 PM
raisethehammer raisethehammer is offline
Closed account
 
Join Date: May 2005
Posts: 6,054
welcome to the nerd forum.
Only geeks allowed.
Reply With Quote
     
     
  #13  
Old Posted Oct 24, 2008, 11:59 PM
crhayes crhayes is offline
Registered User
 
Join Date: Oct 2008
Location: The Hammer, Ontario
Posts: 382
Quote:
Originally Posted by ryan_mcgreal View Post
How can it be written in PHP/MySQL and not be open source? O_o
Because techinically in order to use it you have to purchase a license. Open source software is free.
Reply With Quote
     
     
  #14  
Old Posted Oct 27, 2008, 12:47 PM
ryan_mcgreal's Avatar
ryan_mcgreal ryan_mcgreal is offline
Raising the Hammer
 
Join Date: Apr 2008
Location: Hamilton
Posts: 527
Quote:
Originally Posted by crhayes View Post
techinically in order to use it you have to purchase a license. Open source software is free.
I guess when I think of open source, I think of being able to access the source code. Since PHP is an interpreted rather than a compiled language, the source code is right there for the admins to hack (assuming the licence doesn't forbid it).
Reply With Quote
     
     
End
 
 
Reply

Go Back   SkyscraperPage Forum > Regional Sections > Canada > Ontario > Hamilton > General Discussion
Forum Jump



Forum Jump


All times are GMT. The time now is 8:09 PM.

     
SkyscraperPage.com - Privacy Statement - Top

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.