Go Back  DVD Talk Forum > Feedback > Forum Feedback and Support
Reload this Page >

Why can't we search for 3+ letter words, instead of 4+?

Forum Feedback and Support Post forum feedback and related problems, here.

Why can't we search for 3+ letter words, instead of 4+?

Old 10-18-02, 03:17 PM
  #1  
DVD Talk Ultimate Edition
Thread Starter
 
Join Date: Jul 2000
Location: In my secret underground lair, plotting to TAKE OVER THE WORLD!!! Bwuaaahahahaha!!
Posts: 4,590
Why can't we search for 3+ letter words, instead of 4+?

This change has made it difficult to find some older posts, I have tried searching for CGI, as well as BMW (to find out about the free dvd,) and several other three-letter words (I usually search in the title only.)
littlefuzzy is offline  
Old 10-19-02, 12:03 AM
  #2  
DVD Talk Legend
 
Join Date: Feb 2001
Posts: 14,812
I never understood the changes...what search terms are allowed now? Only three-letter words??? Are wildcards still allowed?
criptik28 is offline  
Old 10-19-02, 04:29 PM
  #3  
Retired
 
Join Date: May 1999
Posts: 27,449
Before you could search for anything with three or more letters, now it's 4 or more, if I'm reading the post correctly.

If so that stinks, as there were even a couple occasions I wanted to search for a two letter word. The movie "Pi" was one instance.

But I'm guessing it's to do with bandwith, so whatever it takes to keep the site up and running smoothly without hurting Geoff's pocketbook is fine with me.
Josh H is offline  
Old 10-19-02, 04:48 PM
  #4  
DVD Talk Limited Edition
 
Join Date: Mar 2001
Location: wishing I was in Vegas
Posts: 6,646
Originally posted by criptik28
Are wildcards still allowed?
Evidently not. They don't work. Try a search for geof* and you won't get a thing.

It's broke.
Wizdar is offline  
Old 10-19-02, 04:58 PM
  #5  
DVD Talk Limited Edition
 
Join Date: Oct 1999
Location: A suburbČ of Miami
Posts: 5,943
USB
PS2
Del
YYZ

I'll pay you $10 for access to a better search database.
Aghama is offline  
Old 10-19-02, 05:06 PM
  #6  
DVD Talk Limited Edition
 
Join Date: Mar 2001
Location: wishing I was in Vegas
Posts: 6,646
And I thought I had an excellent grasp of the English language.

Guess not.

It's broke. Gimme my 10 bucks.
Wizdar is offline  
Old 10-21-02, 12:28 AM
  #7  
DVD Talk Gold Edition
 
Join Date: Jul 1999
Location: Chicago, only a stone's throw from Chicago (even if you throw like a girl)
Posts: 2,457
DVD
SPY
bothanspy is offline  
Old 10-21-02, 07:39 AM
  #8  
DVD Talk Reviewer/ Admin
 
Adam Tyner's Avatar
 
Join Date: Sep 1999
Location: Greenville, South Cackalack
Posts: 21,702
Originally posted by Josh Hinkle
But I'm guessing it's to do with bandwith, so whatever it takes to keep the site up and running smoothly without hurting Geoff's pocketbook is fine with me.
Allowing 3 character words would increase the size of the database by a considerable margin, and it would also slow down searches for other words.

vBulletin doesn't have an "include these words in the search index" feature, but it does have a way to exclude terms. One workaround I helped to come up with for ToonZone.net was to allow 3 character words, but I wrote a script that came up with every possible combination of 3 letter words except a predefined list, and then that list was fed into the system. I don't know if Geoff would want to go that route, but I'd be more than happy to make it available to him.

Actually, I'll just post a slightly modified version here:

Code:
   $excludeWords = array("DVD", 
                         "cat"); 
   
   for ($i = 97; $i <= 122; $i++)
     $alphabet[] = chr($i); 
 
   if (is_array($excludeWords))
   {
      foreach ($excludeWords AS $key=>$value)
      {
         $excludeWords[$key] = strtolower($value);
      }
   }   
    
   foreach ($alphabet AS $firstLetter)
   {
      foreach ($alphabet AS $secondLetter)
      {
          foreach ($alphabet AS $thirdLetter)
          {
             $words .= ((is_array($excludeWords) &&
                         in_array($firstLetter . $secondLetter . $thirdLetter,
                                  $excludeWords)) ?
                          '' : (($words) ? ", " : "") .
                               $firstLetter . $secondLetter . $thirdLetter);
          }
      }
   }   
    
   print $words;
If you want a smaller version, I wrote a script that does the same thing, comparing against a dictionary.
Adam Tyner is online now  
Old 10-21-02, 08:01 AM
  #9  
DVD Talk Reviewer/ Admin
 
Adam Tyner's Avatar
 
Join Date: Sep 1999
Location: Greenville, South Cackalack
Posts: 21,702
Okay, here's the one that only prints 3 letter words found in the local dictionary. You'll likely have to modify the path to the dictionary file:

Code:
   $excludeWords = array("DVD",
                         "cat");

   $dictionary = '/usr/dict/words';

   if (is_array($excludeWords))
   {
      foreach ($excludeWords AS $key=>$value)
      {
         $excludeWords[$key] = strtolower($value);
      }
   }   
       
   $fp = fopen($dictionary, "r");
   
   while ($word = strtolower(trim(fgets($fp, 4096))))
   {
      if (strlen($word) == 3)
      {
         if (!(is_array($excludeWords) && in_array($word, $excludeWords)))
           $words .= (($words) ? ", " : "") . $word;
      }
   }   
  
  fclose($fp);
  
  print $words;
The result locally is:

abe, abo, abu, ace, act, ada, add, ado, ads, aft, age, ago, aid, ail, aim, air, ale, ali, all, amy, and, ann, ant, any, ape, apt, arc, are, ark, arm, art, ash, ask, asp, ass, ate, awe, awl, aye, bad, bag, bah, ban, bar, bat, bay, bed, bee, beg, ben, bet, bib, bid, big, bin, bit, boa, bob, bog, boo, bow, box, boy, bra, bud, bug, bum, bun, bus, but, buy, bye, cab, cam, can, cap, car, caw, cod, cog, con, coo, cop, cot, cow, cry, cub, cue, cup, cut, dad, dam, dan, dar, day, dec, dee, del, den, des, dew, did, die, dig, dim, din, dip, dis, doc, doe, dog, don, dot, dow, dry, dub, dud, due, dug, dye, ear, eat, ebb, eel, egg, ego, eke, elf, eli, elk, elm, ely, end, eng, era, ere, erg, err, eva, eve, ewe, eye, fag, fan, faq, far, fat, fed, fee, fen, few, fib, fig, fin, fir, fit, fix, flo, flu, fly, fob, foe, fog, for, fox, fro, fry, fun, fur, gab, gad, gag, gap, gas, gay, gel, gem, get, gig, gil, gin, gnu, goa, god, got, gum, gun, gus, gut, guy, had, hag, hal, ham, han, hap, has, hat, hay, hem, hen, her, hew, hex, hey, hid, him, hip, his, hit, hoe, hog, hom, hop, hot, how, hub, hue, hug, huh, hum, hun, hut, ian, ibn, ice, icy, ida, ike, ill, imp, ink, inn, ion, ira, ire, irk, ito, its, ivy, jab, jam, jar, jaw, jay, jed, jet, jew, jig, jim, job, joe, jog, jon, jot, joy, jug, jut, kay, ken, key, kid, kim, kin, kit, lab, lac, lad, lag, lao, lap, law, lax, lay, led, lee, leg, len, leo, let, lev, lew, lid, lie, lin, lip, lit, liz, los, lot, lou, low, loy, mac, mad, mae, man, mao, map, mat, max, may, meg, mel, men, met, mew, mid, mix, mob, moe, moo, mop, mow, mud, mug, nab, nag, nan, nap, nat, nay, ned, net, new, nil, nip, nod, non, nor, not, now, nun, nut, oaf, oak, oar, oat, odd, ode, off, oft, ohm, oil, old, one, opt, orb, ore, orr, ott, our, out, owe, owl, own, pad, pal, pam, pan, par, pat, paw, pay, paz, pea, peg, pen, pep, per, pet, pew, phi, pie, pig, pin, pip, pit, ply, pod, poe, pop, pot, pox, pro, pry, pub, pun, pup, pus, put, qua, quo, rae, rag, ram, ran, rap, rat, raw, ray, red, rex, rho, rib, rid, rig, rim, rio, rip, rob, rod, roe, ron, rot, row, roy, rub, rue, rug, rum, run, rut, rye, sad, sag, sal, sam, san, sao, sap, sat, saw, sax, say, sea, see, set, sew, sex, she, shu, shy, sip, sir, sit, six, ski, sky, sly, sob, sod, sol, son, sow, soy, spa, spy, sri, stu, sub, sue, sum, sun, sus, tab, tag, tan, tap, tar, tau, tax, tea, ted, ten, tex, tex, the, tie, tim, tin, tip, tit, toe, tom, ton, too, top, tow, toy, try, tub, tug, two, ugh, uri, urn, use, uzi, van, vat, vax, vex, via, vic, vie, vow, wag, wan, war, was, wax, way, web, wee, wei, wet, who, why, wig, win, wit, woe, won, woo, yea, yes, yet, yon, you, yuh, zan, zen, zoe, zoo
Adam Tyner is online now  
Old 10-21-02, 03:51 PM
  #10  
DVD Talk Legend
 
DeputyDave's Avatar
 
Join Date: Apr 2002
Location: San Diego, CA
Posts: 14,081
The funny thing is if you can't find it with search and it has been covered before you get totally jumped on. A guy just asked for info on Fox's Family Guy. The only replies were "Search is your friend" before it was shut down. Problem is you can only search for Family (Guy and FOX won't work). No one even gave the poor guy a link to the thread.
DeputyDave is offline  
Old 10-21-02, 09:00 PM
  #11  
DVD Talk Legend
 
Join Date: May 2000
Posts: 16,666
I liked wildcards.
LBPound is offline  
Old 10-21-02, 10:16 PM
  #12  
DVD Talk Limited Edition
 
Join Date: Mar 2001
Location: wishing I was in Vegas
Posts: 6,646
[Only LB can read] I don't think anybody's willing to admit they're broke. [/Only LB can read]
Wizdar is offline  
Old 10-24-02, 11:32 AM
  #13  
Moderator Emeritus
 
Join Date: Nov 1999
Posts: 8,205
Yeah, either being able to search for 3 letter words or using wildcards would be helpful to me right about now. If snipe* or *nipe* doesn't return any results, I think wildcards must be broken.
AndyCapps is offline  
Old 10-24-02, 11:46 AM
  #14  
DVD Talk Limited Edition
 
Join Date: Mar 2001
Location: wishing I was in Vegas
Posts: 6,646
Andy,
Originally posted by Wizdar
Try a search for geof* and you won't get a thing.

It's broke.
Actually, since that exact text string is now in this here thread, you will get something.

It be broke. Fix, please? [whine]
Wizdar is offline  
Old 10-24-02, 11:49 AM
  #15  
Moderator Emeritus
 
Join Date: Nov 1999
Posts: 8,205
Originally posted by Wizdar
It be broke. Fix, please? [whine]
I would if I could, but that's not my dingus.
AndyCapps is offline  
Old 10-24-02, 11:52 AM
  #16  
DVD Talk Limited Edition
 
Join Date: Mar 2001
Location: wishing I was in Vegas
Posts: 6,646
Well, I wouldn't know anything about your dingus.

But, you know some people, yes?
Wizdar is offline  
Old 10-24-02, 12:29 PM
  #17  
DVD Talk Hero
 
Join Date: Dec 1999
Location: Shackled
Posts: 35,372
Wild cards are definitely not working.
Bushdog is offline  
Old 10-24-02, 12:51 PM
  #18  
DVD Talk Reviewer/ Admin
 
Adam Tyner's Avatar
 
Join Date: Sep 1999
Location: Greenville, South Cackalack
Posts: 21,702
Originally posted by Wizdar
It be broke. Fix, please? [whine]
It's not broken. It's disabled. Turning off wildcards for searching reduces load on the server considerably.
Adam Tyner is online now  
Old 10-25-02, 01:14 PM
  #19  
DVD Talk Limited Edition
 
Join Date: Mar 2001
Location: wishing I was in Vegas
Posts: 6,646
Well, is this a done deal then? Wildcards are gone for good?

Think of how much bandwidth it takes to do a search over and over and over until you get the criteria just right. I always click back twice, so it's loading the search page again in the process, try again, search, results (or lack thereof), back, repeat until frustrated...

Certainly the bandwidth is used regardless of the criteria, or is that incorrect?

If the intent is to keep folks from using search, maybe just take the thing out altogether.
Wizdar is offline  
Old 10-25-02, 01:32 PM
  #20  
DVD Talk Reviewer/ Admin
 
Adam Tyner's Avatar
 
Join Date: Sep 1999
Location: Greenville, South Cackalack
Posts: 21,702
Originally posted by Wizdar
Certainly the bandwidth is used regardless of the criteria, or is that incorrect?
Geoff has disabled a lot of the more resource-intensive features of vBulletin, which is why DVD Talk runs so much snappier and has such significantly reduced downtime compared to some other popular forums with comparable usage. This is about system resources, not bandwidth.
Adam Tyner is online now  
Old 10-27-02, 09:04 PM
  #21  
DVD Talk Limited Edition
 
Join Date: Mar 2001
Location: wishing I was in Vegas
Posts: 6,646
One could say then that the search engine has jumped the shark.
Wizdar is offline  
Old 10-29-02, 05:48 PM
  #22  
DVD Talk Hall of Fame
 
Join Date: Jun 2000
Location: Denver freakin' Colorado
Posts: 8,543
It sure would help me, personally, if you could search with 3 letter words. If someone refers to me using TDD or 3DD, it makes it easy for me to find (especially helps in the smallball threads)
Three Day Delay is offline  
Old 10-30-02, 07:28 PM
  #23  
DVD Talk Legend
 
Join Date: May 2000
Posts: 16,666
Originally posted by Three Day Delay
It sure would help me, personally, if you could search with 3 letter words. If someone refers to me using TDD or 3DD, it makes it easy for me to find (especially helps in the smallball threads)
From now on I'll have to refer to you ONLY as the Tobinator since that's the only way you'll see it. No more abbreviating LB, or LBP, guys..
LBPound is offline  
Old 11-01-02, 11:43 AM
  #24  
DVD Talk Hall of Fame
 
Join Date: Jun 2000
Location: Denver freakin' Colorado
Posts: 8,543
Originally posted by LBPound
From now on I'll have to refer to you ONLY as the Tobinator since that's the only way you'll see it. No more abbreviating LB, or LBP, guys..
Three Day Delay is offline  
Old 11-02-02, 12:16 PM
  #25  
DVD Talk God
 
Deftones's Avatar
 
Join Date: Oct 1999
Location: Arizona
Posts: 74,846


Just tried searching for "Law and Order" in TV forum and it wouldn't let me b/c of "Law".
Deftones is offline  

Thread Tools
Search this Thread

Archive Advertising Cookie Policy Privacy Statement Terms of Service

Copyright © 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.