VansAirForceForums  
Home > VansAirForceForums

-POSTING RULES
-Advertise in here!
- Today's Posts | Insert Pics

Keep VAF Going
Donate methods

Point your
camera app here
to donate fast.


Go Back   VAF Forums > Education > Web Site Development
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-04-2006, 08:03 AM
JonathanCook's Avatar
JonathanCook JonathanCook is offline
 
Join Date: Jun 2006
Location: Celebration, FL
Posts: 131
Default searching: Can not search short words (1, 2, or 3 letters)

This message is to ask if the Vansairforce.net search can be changed so that we can search for short words (words with 1, 2, or 3 letters. An example of a short word is 'RV7'. The search functionality will not allow you to search for RV7. Therefore, if your search is for 'brakes RV7' then the search will remove the word 'RV7' from the search criteria. I find when searching for things like part numbers and other things you simply can not search for them easily.
__________________
Jonathan

Celebration, FL 34747 (just SW of Orlando)
RV7
Working on Fuselage
dues paid for 2012
Reply With Quote
  #2  
Old 10-04-2006, 08:12 AM
admin admin is offline
Administrator
 
Join Date: Dec 2004
Location: Dallas, Texas
Posts: 78
Default

Morning, Jonathan!

The current minimum search value is '4' characters, so you could search for 'RV-7' but not 'RV7'. I'm hesitant to change it to anything shorter as it increases everything (database size, etc.). Searching for a one character value would make for a muddy search return (ex: 'a' or '7' would return literally tens of thousands of results.

b,d


from the help file (and why I'd like to keep it the default value of 4):

"The smaller this number is, the larger your search index, and conversely your database is going to be."

Quote:
Originally Posted by JonathanCook
This message is to ask if the Vansairforce.net search can be changed so that we can search for short words (words with 1, 2, or 3 letters. An example of a short word is 'RV7'. The search functionality will not allow you to search for RV7. Therefore, if your search is for 'brakes RV7' then the search will remove the word 'RV7' from the search criteria. I find when searching for things like part numbers and other things you simply can not search for them easily.
__________________
Doug Reeves
Editor: www.VansAirForce.net
Owner: Delta Romeo, LLC.

Last edited by DeltaRomeo : 10-04-2006 at 08:14 AM. Reason: typo
Reply With Quote
  #3  
Old 10-04-2006, 10:04 AM
scard's Avatar
scard scard is offline
 
Join Date: Jun 2005
Location: Cedar Park, TX
Posts: 3,212
Default

It sure is too bad you can't plug a Google Mini (http://www.google.com/enterprise/mini/) into the database. Hmmm... That would be a fun little project.
__________________
Scott Card
CQ Headset by Card Machine Works
CMW E-Lift
RV-9A N4822C flying 2200+hrs. / Cedar Park, TX
RV8 Building - fuselage / showplanes canopy (Done!)
VAF Advertiser
Reply With Quote
  #4  
Old 10-04-2006, 10:15 AM
mburch's Avatar
mburch mburch is offline
 
Join Date: Feb 2005
Location: Oregon
Posts: 1,257
Default

Quote:
Originally Posted by admin
The current minimum search value is '4' characters, so you could search for 'RV-7' but not 'RV7'. I'm hesitant to change it to anything shorter as it increases everything (database size, etc.).
Doug,

I understand about resources, but it sure would be nice if the limit could be dropped from 4 characters to 3. Aviation is chock full of three-letter acronyms that are currently hard to search for. For example, I just tried to find "ELT" before I remembered that the site won't let me.

mcb
__________________
Matt Burch
RV-7 (last 90%)
http://www.rv7blog.com

Any opinions expressed in this message are my own and not those of my employer.
Reply With Quote
  #5  
Old 10-04-2006, 10:33 AM
Davepar's Avatar
Davepar Davepar is offline
 
Join Date: Jan 2005
Location: Seattle, WA
Posts: 1,166
Default

Agree. I've run into this issue a few times. I've seen other forum software that indexes 3-letter words, but drops the really common ones (and, the, for, etc.).
__________________
Dave Parsons, Seattle, WA, RV-7A, sold
www.dualrudder.com/rv7 - building blog
RunwayFinder.com - airport info, online charts, live METARs, TFRs, etc.
Reply With Quote
  #6  
Old 10-04-2006, 10:51 AM
JonathanCook's Avatar
JonathanCook JonathanCook is offline
 
Join Date: Jun 2006
Location: Celebration, FL
Posts: 131
Default Database getting large???

Hi Doug,

Who told you that the data base would get too large by storing words of 2 and three letters? That is just not true. 36^2 = 936 words and 36^3 = 46,656 words. 47,592 may sound like a big number, but for a database it is small. Also, this is only the total potential number of words. The actual number would be very much smaller. Additionally, only the word is stored and then the page index is stored. The total size on a hard drive for all word combinations of 2 and 3 letter words is 143K. ((36^3)*3) + ((36^2)*2). Lastly, you have to store the indexes of each post. You currently have 68,641 post. If each post has five three letter words the total size for the index storage is 1.4M. (68641*5*4(using 32bits is 4 bytes to store the index))

I am not sure if this changes you position, but you should question where you received your information.
__________________
Jonathan

Celebration, FL 34747 (just SW of Orlando)
RV7
Working on Fuselage
dues paid for 2012
Reply With Quote
  #7  
Old 10-04-2006, 10:54 AM
Brian130 Brian130 is offline
 
Join Date: Jan 2005
Posts: 335
Default

Fellas, there is a Google trick without having Doug modify his database.

Type in [XXX site:http://www.vansairforce.com/community/] to Google, with "XXX" being your search string. Remove the [] of course.


Quote:
I understand about resources, but it sure would be nice if the limit could be dropped from 4 characters to 3. Aviation is chock full of three-letter acronyms that are currently hard to search for. For example, I just tried to find "ELT" before I remembered that the site won't let me.
If you want ELT results from the forums, here it is:
http://www.google.com/search?hl=en&l...2F&btnG=Search
__________________
Brian
Reply With Quote
  #8  
Old 10-04-2006, 11:28 AM
admin admin is offline
Administrator
 
Join Date: Dec 2004
Location: Dallas, Texas
Posts: 78
Default Well, can't hurt to try. Search min. now '3' characters.

Just changed the minimum search to (3) characters. Let's see if it helps! Might take awhile to re-index.

b,
d

Quote:
Originally Posted by Davepar
Agree. I've run into this issue a few times. I've seen other forum software that indexes 3-letter words, but drops the really common ones (and, the, for, etc.).
__________________
Doug Reeves
Editor: www.VansAirForce.net
Owner: Delta Romeo, LLC.
Reply With Quote
  #9  
Old 10-04-2006, 11:31 AM
smithhb's Avatar
smithhb smithhb is offline
 
Join Date: Jan 2005
Location: Blue Ridge, Georgia
Posts: 247
Default Weird

I just tried a search for "PPG" and found no results....
__________________
Bret Smith
RV-9A Flying (N16BL)
Blue Ridge, GA
EAA Technical Counselor #5429
APRS Tracking
http://www.FlightInnovations.com
Reply With Quote
  #10  
Old 10-04-2006, 11:32 AM
DeltaRomeo DeltaRomeo is offline
unfluencer
 
Join Date: Jan 2005
Location: Highland Village, TX
Posts: 4,171
Default

I think the database needs to be re-indexed. I'll research...

Quote:
Originally Posted by smithhb
I just tried a search for "PPG" and found no results....
__________________
Doug Reeves (your host)
  • Full time: VansAirForce.net since '07 (started it in '96).
  • Typed in the EMB-505 (Phenom 300). Available for contract work. (flying resume).
  • Part time: Supporting Crew Member CAE EMB-505 Level D Sim @ KDFW.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:00 AM.


The VAFForums come to you courtesy Delta Romeo, LLC. By viewing and participating in them you agree to build your plane using standardized methods and practices and to fly it safely and in accordance with the laws governing the country you are located in.