• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 19:26
CET 01:26
KST 09:26
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns6[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1822Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises3Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3
StarCraft 2
General
Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns SC2 All-Star Invitational: Jan 17-18 Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises Chinese SC2 server to reopen; live all-star event in Hangzhou Starcraft 2 Zerg Coach
Tourneys
WardiTV Winter Cup WardiTV Mondays SC2 AI Tournament 2026 OSC Season 13 World Championship uThermal 2v2 Circuit
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes Mutation # 504 Retribution
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ I would like to say something about StarCraft BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest Data analysis on 70 million replays
Tourneys
[Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10 SLON Grand Finals – Season 2
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Awesome Games Done Quick 2026! Should offensive tower rushing be viable in RTS games?
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Trading/Investing Thread The Big Programming Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced
Blogs
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Psychological Factors That D…
TrAiDoS
James Bond movies ranking - pa…
Topin
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1090 users

New Search Engine - Now Live

Forum Index > General Forum
152 CommentsPost a Reply
1 2 3 4 5 6 7 8 Next All
R1CH
Profile Blog Joined May 2007
Netherlands10341 Posts
December 24 2009 00:51 GMT
#1
http://www.teamliquid.net/forum/search.php

As many of you may have noticed, there are times when pages on TL sit there and take upwards of 20, 30 seconds to load. This is due to the crappy MySQL search we currently use, where for the duration of a search, reads from the DB block after a write. Obviously this problem would only get worse as the amount of content increased, so I rewrote the search feature.

Our new search engine is based on Sphinx and completely eliminates any dependency on the database (after indexing), making searches have minimal impact on site performance. It's also a hell of a lot better than MySQL fulltext.

New Features:
  • Much faster searching, no extra load on the TL DB.

  • No restrictions on search terms - common words, short words, etc all allowed.

  • Full unicode support - searching in Hangul or Chinese should find any relevant posts.

  • Word forms - multiple words that map to the same term, eg searching for "muta" will also find "mutalisk", "fbh" will include "firebathero", etc. The TL staff have built a small list, we may take suggestions for additional wordforms.

  • Special characters [ and ] are now part of words to help search for names with clan tags as well as all the TL topic tags such as [MSL] or [G].

  • A few exceptions to special characters have been added to allow you to search for some common words with special characters, eg D+, C- (all iccup ranks) and a few other random things used on the forums.


Known Issues / Disadvantages:
  • Updates are no longer real-time. Search is primarily used to help locate older posts; Sphinx does not support index updates so updates to the search index will happen on an hourly (depending on server load) basis. We are discussing alternatives for those of you who are search-happy with your own username.

  • Once a post is indexed, it's indexed. If a post is edited after the search engine has indexed it, any changes in the edit will not be searchable. Get your post right first time!

  • A maximum of 1000 results are returned for any search.


Please post any bugs or feedback in this thread, if you complain about something in the Known Issues section something bad might happen!
Facebook Twitter Reddit
AdministratorTwitter: @R1CH_TL
TL+ Member
mahnini
Profile Blog Joined October 2005
United States6862 Posts
December 23 2009 07:09 GMT
#2
nice
the world's a playground. you know that when you're a kid, but somewhere along the way everyone forgets it.
FragKrag
Profile Blog Joined September 2007
United States11554 Posts
December 23 2009 07:10 GMT
#3
ouch at the edit part

still a huge update with great features

tyty TL.net
*TL CJ Entusman #40* "like scissors does anything to paper except MAKE IT MORE NUMEROUS" -paper
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
December 23 2009 07:11 GMT
#4
!!!!

<3
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
Spartan
Profile Blog Joined July 2005
United States2030 Posts
December 23 2009 07:11 GMT
#5
Niice!
# http://nkspartan.com (web engineer)
# TL member since July 2005; CEO of Vile Gaming; President of Team Vile
darktreb
Profile Joined May 2007
United States3017 Posts
December 23 2009 07:19 GMT
#6
Ya too bad on the edits part, I have a few questions mainly out of curiosity (I also know nothing about Sphinx).

How long did the initial indexing take? Too long to do an occasional complete reindex to catch edits (this is a pretty inelegant solution either way so I don't blame you if you don't want to do it)?

Also how are posts stored internally? I'm guessing there's no "last_modified" column or something that would allow you to reindex edited posts more conveniently (and even then an unindexed last_modified would still require table scans which you might want to avoid).

But if posts have IDs, maybe you could have a separate new log of the IDs of posts as they are edited and then rollup the log for reindexing on occasion?
Badjas
Profile Blog Joined October 2008
Netherlands2038 Posts
December 23 2009 07:21 GMT
#7
w00t! The limitations of the old search have time and again stumped me. Thanks heaps!

TL skates again :D
I <3 the internet, I <3 you
Mastermind
Profile Blog Joined April 2008
Canada7096 Posts
December 23 2009 07:22 GMT
#8
Good job R1CH. This sounds like a big improvement.
R1CH
Profile Blog Joined May 2007
Netherlands10341 Posts
December 23 2009 07:23 GMT
#9
The full reindex takes about 30 minutes at present, something we'd rather avoid since it essentially kills TL during the process since it needs so much data from the DB. There is a last modified column, however the problem is the data format used by Sphinx for indexes cannot be changed - to change one post in the index would require a full index rebuild. Additionally, Sphinx requires unique document IDs - if a edited post were marked to be indexed by the update index, Bad Things™ would happen.

I really don't think it's as big an issue as you think, most edits are made within a few minutes of a post being posted and there's a low chance it would get indexed in that timeframe.
AdministratorTwitter: @R1CH_TL
TL+ Member
BloodDrunK
Profile Blog Joined August 2009
Bangladesh2767 Posts
December 23 2009 07:23 GMT
#10
nice!!!
You have the power to create your own destiny.
Highways
Profile Joined July 2005
Australia6105 Posts
December 23 2009 07:33 GMT
#11
Nice.

Btw it still doesnt search common words.
#1 Terran hater
QuickStriker
Profile Blog Joined January 2009
United States3694 Posts
December 23 2009 07:34 GMT
#12
Oh wow, nice!!! Good job!!
www.twitch.tv/KoreanUsher
R1CH
Profile Blog Joined May 2007
Netherlands10341 Posts
December 23 2009 07:36 GMT
#13
On December 23 2009 16:33 Highways wrote:
Nice.

Btw it still doesnt search common words.


Such as?
AdministratorTwitter: @R1CH_TL
TL+ Member
Badjas
Profile Blog Joined October 2008
Netherlands2038 Posts
December 23 2009 07:36 GMT
#14
R1CH, alternatively you could implement a data layer inbetween where you stuff all new and changed posts in a separate database or as plain files, and let full reindexing loose on the offline data. That way the TL database only gets hit where necessary and Sphinx can do its thing. There's still the issue of processor time if that's a concern, though.
I <3 the internet, I <3 you
Highways
Profile Joined July 2005
Australia6105 Posts
Last Edited: 2009-12-23 07:39:01
December 23 2009 07:36 GMT
#15
On December 23 2009 16:36 R1CH wrote:
Show nested quote +
On December 23 2009 16:33 Highways wrote:
Nice.

Btw it still doesnt search common words.

Such as?



Lol my bad
#1 Terran hater
R1CH
Profile Blog Joined May 2007
Netherlands10341 Posts
December 23 2009 07:37 GMT
#16
Works fine for me, looks like you didn't read the OP.
AdministratorTwitter: @R1CH_TL
TL+ Member
decafchicken
Profile Blog Joined January 2005
United States20092 Posts
December 23 2009 07:39 GMT
#17
Fucking awesome. Thanks r1ch!
how reasonable is it to eat off wood instead of your tummy?
Hurricane
Profile Blog Joined October 2006
United States3939 Posts
December 23 2009 07:49 GMT
#18
Awesome work R1CH <3

The edit part is kind of sad, but this is still an awesome update.
RIP CHARLIEMURPHY 11/25/10 NEVER FORGET | Hurricane#1183 @ B.net
Mystlord *
Profile Blog Joined July 2008
United States10264 Posts
December 23 2009 07:49 GMT
#19
The indexing part is what scares me of this new search feature. If it's on an hourly basis and indexing takes ~30 minutes, that's a lot of time used to index everything. When you were indexing everything today, the slowdown was immense. TL took ages to respond.

I'm ambivalent about this. If there's a way to reduce the indexing time, then I'd be all for it.
It is impossible to be a citizen if you don't make an effort to understand the most basic activities of your government. It is very difficult to thrive in an increasingly competitive world if you're a nation of doods.
Badjas
Profile Blog Joined October 2008
Netherlands2038 Posts
December 23 2009 07:52 GMT
#20
Mystlord, only a full index run takes half an hour. An update with new items should take considerably less time.

R1CH, the matching algorithm is very hard. There is no room for spelling errors and there is no partial matching (partial matching could be seen as a spelling mistake, a lighter form). Any options for Sphinx to enable that? Or do you think that feature is not worthwhile?
I <3 the internet, I <3 you
1 2 3 4 5 6 7 8 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 1d 3h
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft414
JuggernautJason170
Nathanias 111
StarCraft: Brood War
Artosis 585
Larva 123
Shuttle 107
Sexy 40
NaDa 20
Dota 2
syndereN528
League of Legends
JimRising 866
C9.Mang0223
Counter-Strike
Foxcn117
minikerr59
Super Smash Bros
PPMD60
Other Games
summit1g7099
tarik_tv6508
Liquid`RaSZi2330
B2W.Neo191
Maynarde135
ViBE126
Fuzer 60
rubinoeu14
Organizations
Other Games
gamesdonequick38175
BasetradeTV31
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• RyuSc2 44
• davetesta4
• Kozan
• sooper7s
• Migwel
• AfreecaTV YouTube
• LaughNgamezSOOP
• intothetv
• IndyKCrew
StarCraft: Brood War
• RayReign 32
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21779
League of Legends
• Doublelift5686
• Stunt263
Other Games
• imaqtpie1859
• WagamamaTV337
• Scarra326
• Shiphtur254
Upcoming Events
SOOP
1d 3h
SHIN vs GuMiho
Cure vs Creator
The PondCast
1d 9h
Wardi Open
1d 11h
Big Gabe XPERIONCRAFT
1d 12h
Sparkling Tuna Cup
2 days
WardiTV Invitational
2 days
IPSL
2 days
DragOn vs Sziky
Replay Cast
3 days
Wardi Open
3 days
Monday Night Weeklies
3 days
[ Show More ]
WardiTV Invitational
4 days
WardiTV Invitational
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2026-01-06
WardiTV 2025
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
Escore Tournament S1: W3
OSC Championship Season 13
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025

Upcoming

BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Thunderfire SC2 All-star 2025
Big Gabe Cup #3
Nations Cup 2026
Underdog Cup #3
NA Kuram Kup
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.