What does Pligg Search look for?

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-26-2006, 11:06 AM
Casual Pligger
 
Join Date: Mar 2006
Posts: 72
on hugg, this search:

http://www.hugg.com/?search=car

Gets no result, even though a lot of posts talk about cars. Is the search function onlylooking for tags?
Reply With Quote
  #2 (permalink)  
Old 05-26-2006, 01:55 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
2 issues with this...
  1. Due to some MySQL restrictions you can't search for items with 3 characters or less.
  2. Pligg is very specific about searching, so if you try to search for something like "game" it won't display results that have the word "games". The characters have to match exactly in order to turn up in search results. This is something that we will eventually tweak down the road.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #3 (permalink)  
Old 05-26-2006, 02:14 PM
3dKiller's Avatar
Constant Pligger
 
Join Date: Mar 2006
Location: Newport Beach
Posts: 370
In response to "2 Issues":

1. Clearly digg uses something other than MySQL as you can search successfully for words less than 3 characters in length.

2. Exact search must be fixed pronto. This should be a high priority. Anyone here have the knowhow to get this done?

~3d
Reply With Quote
  #4 (permalink)  
Old 05-26-2006, 02:36 PM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
I had a fix but it broke other things so I'm still working on it
Reply With Quote
  #5 (permalink)  
Old 05-26-2006, 02:51 PM
3dKiller's Avatar
Constant Pligger
 
Join Date: Mar 2006
Location: Newport Beach
Posts: 370
Quote:
Originally Posted by AshDigg
I had a fix but it broke other things so I'm still working on it

AshDigg,

I'm so glad to hear you are working on this! It's so important.

Here is what I want (as if that matters, LOL):

Search should search ALL content. I know I've said this before, but there ya go, I said it again, because as I said, it's really important.

Another flavor, please work on our codebase in Trac, so we can spin out a good revision w/MB soon.

Thanks alot!

~3d
Reply With Quote
  #6 (permalink)  
Old 05-26-2006, 11:32 PM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
I rewrote some of the search functions and put it on my test site here. Please give it a test if you have some time, and let me know if anything breaks. Also, it's supposed to show the MySQL code at the moment.

thanks!

Last edited by AshDigg; 05-26-2006 at 11:59 PM.
Reply With Quote
  #7 (permalink)  
Old 05-27-2006, 10:35 AM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 197
got it working on my site for some time now. Was this an issue?

http://www.keepaddit.com/?search=tv

I will put it in Mollio Beat 1.3 and/or 2.0

It's only a few lines in index.php above this line:
$main_smarty = do_sidebar($main_smarty);

Code:
//Steef: quick hack to get 2 character search working in tagcloud
  if(!empty($_REQUEST['tag'])){
    if(!empty($_REQUEST['search'])){
      $mysearch = $_REQUEST['search'];
      $from_where = "FROM links, tags WHERE tag_words='$mysearch' AND link_id=tag_link_id ORDER BY `link_votes` DESC ";
    }
  }

//Steef: quick hack to get 2 character search working in normal search
    if(!empty($_REQUEST['search'])){
      $mysearch = $_REQUEST['search'];
      $from_where = "FROM links, tags WHERE tag_words='$mysearch' AND link_id=tag_link_id ORDER BY `link_votes` DESC ";
    }
// -----------------------------------------------------------------------
Reply With Quote
  #8 (permalink)  
Old 06-30-2006, 09:53 PM
Casual Pligger
 
Join Date: Jun 2006
Posts: 79
Hey, I'm running a recent version of both Pligg and the Mollio theme... but it would seem that my search is still just searching tags. This is a bit lame, any way to fix this? A quick hack or something?

And am I right in thinking that all the search code is in the shakeit_center.tpl file?
Reply With Quote
  #9 (permalink)  
Old 05-30-2009, 06:09 AM
New Pligger
 
Join Date: Jan 2008
Posts: 18
yes i would love to see a better search algorithim since site using pligg needs to be able to search. I am not looking for the google agorithim but something that gives better returns would really help this cms
Reply With Quote
  #10 (permalink)  
Old 05-30-2009, 12:00 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
Quote:
Originally Posted by kaoru5thchild View Post
yes i would love to see a better search algorithim since site using pligg needs to be able to search. I am not looking for the google agorithim but something that gives better returns would really help this cms
You just brought up a 3 year old thread. Pligg now has more advanced search options. Check out the advanced search page.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search Engine Optimization Tip for Pligg Sites TrailofDead Questions and Comments 18 12-14-2011 11:29 AM
SEO (Search Engine Optimization) GrinGEO Wiki Articles 28 06-21-2011 11:37 PM
Pligg Donation Drive 2009 chuckroast Questions and Comments 0 03-23-2009 05:42 PM
Pligg 9.0 Problem with search and categories mag Questions and Comments 5 01-14-2007 04:14 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development