.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Salvo! - Save $6.00
winSPMBT: Main Battle Tank - Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Shrapnel General

Reply
 
Thread Tools Display Modes
  #1  
Old December 9th, 2008, 11:09 PM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default Question: Forum Searching

Sorry, I can't figure out on how to search for a string containing spaces, such as "The Ark".

If I try to enter that search string it gets converted into "The*Ark", and the results in that case are empty. Is there some way of searching for a literal string containing spaces? Is there some documentation on the search string format somewhere?
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
Reply With Quote
  #2  
Old December 10th, 2008, 12:19 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Question: Forum Searching

Im afraid not.
But I also find it lacking at times. This wont be completely caught up if you are looking for a post done yesterday, but you can use the extended search ability of other search engines to get what you want. Such as...
Google:
"the ark" site:forum.shrapnelgames.com
Reply With Quote
The Following User Says Thank You to Gandalf Parker For This Useful Post:
  #3  
Old December 11th, 2008, 06:14 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Question: Forum Searching

Quote:
Originally Posted by vfb View Post
Sorry, I can't figure out on how to search for a string containing spaces, such as "The Ark".

If I try to enter that search string it gets converted into "The*Ark", and the results in that case are empty.
That is because the MySQL server is configured to only have a search index length of 4 characters and up (the default) instead of 3 characters for "the" and "arc". "the" is a stopword and would be ignored in any case. "ark" is too short. There is no way to find those with a forum search. The combined string "the ark" is not a valid search phrase because the database doesn't support full-text searches.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief

Last edited by lch; December 11th, 2008 at 06:18 AM..
Reply With Quote
The Following User Says Thank You to lch For This Useful Post:
  #4  
Old December 23rd, 2008, 06:40 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Question: Forum Searching

Personally I dont see the advantage of in-house indexing anyway. Just have the sarch link go to a homemade google page that locks in the "site:" part of the search. Maybe even toss in some google-ads on the page and get some pennies from click-thrus.
Reply With Quote
Reply

Bookmarks

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:50 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2018, Shrapnel Games, Inc. - All Rights Reserved.