• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:30
CEST 09:30
KST 16:30
  • 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
Code S RO12 Preview: Maru, Trigger, Rogue, NightMare12Code S RO12 Preview: Cure, sOs, Reynor, Solar15[ASL19] Ro8 Preview: Unyielding3Official Ladder Map Pool Update (April 28, 2025)17[ASL19] Ro8 Preview: Rejuvenation8
Community News
Code S Season 1 - RO12 Group A Results (2025)4$1,250 WardiTV May [May 6th-May 18th]4Clem wins PiG Sty Festival #66Weekly Cups (April 28-May 4): ByuN & Astrea break through1Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game29
StarCraft 2
General
How does the number of casters affect your enjoyment of esports? Code S Season 1 - RO12 Group A Results (2025) Code S RO12 Preview: Maru, Trigger, Rogue, NightMare Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game Code S RO12 Preview: Cure, sOs, Reynor, Solar
Tourneys
[GSL 2025] Code S:Season 1 - RO12 - Group A INu's Battles#12 < ByuN vs herO > [GSL 2025] Code S:Season 1 - RO12 - Group B GSL 2025 details announced - 2 seasons pre-EWC 2025 GSL Season 2 (Qualifiers)
Strategy
[G] PvT Cheese: 13 Gate Proxy Robo Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 472 Dead Heat Mutation # 471 Delivery Guaranteed Mutation # 470 Certain Demise Mutation # 469 Frostbite
Brood War
General
Recent recommended BW games Preserving Battlereports.com OGN to release AI-upscaled StarLeague from Feb 24 Battlenet Game Lobby Simulator [G] GenAI subtitles for Korean BW content
Tourneys
[ASL19] Ro8 Day 4 [BSL20] RO32 Group F - Saturday 20:00 CET [BSL20] RO32 Group E - Sunday 20:00 CET [CSLPRO] $1000 Spring is Here!
Strategy
[G] How to get started on ladder as a new Z player Creating a full chart of Zerg builds [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread What do you want from future RTS games? Nintendo Switch Thread Grand Theft Auto VI Battle Aces/David Kim RTS Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine US Politics Mega-thread Ask and answer stupid questions here! Elon Musk's lies, propaganda, etc.
Fan Clubs
Serral Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Books] Wool by Hugh Howey Surprisingly good films/Hidden Gems
Sports
2024 - 2025 Football Thread NHL Playoffs 2024 NBA General Discussion Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard?
TL Community
BLinD-RawR 50K Post Watch Party The Automated Ban List TL.net Ten Commandments
Blogs
Why 5v5 Games Keep Us Hooked…
TrAiDoS
Info SLEgma_12
SLEgma_12
SECOND COMMING
XenOsky
WombaT’s Old BW Terran Theme …
WombaT
Heero Yuy & the Tax…
KrillinFromwales
BW PvZ Balance hypothetic…
Vasoline73
Test Entry for subject
xumakis
Customize Sidebar...

Website Feedback

Closed Threads



Active: 13477 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
Netherlands10340 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
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 States11549 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 States3016 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
Netherlands10340 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
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
Australia6100 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
Netherlands10340 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
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
Australia6100 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
Netherlands10340 Posts
December 23 2009 07:37 GMT
#16
Works fine for me, looks like you didn't read the OP.
AdministratorTwitter: @R1CH_TL
decafchicken
Profile Blog Joined January 2005
United States20005 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
Online Event
04:00
May Mayhem: Group Stage D2
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Leta 763
Larva 560
PianO 506
actioN 223
soO 67
Aegong 5
NaDa 5
Nal_rA 5
League of Legends
JimRising 629
Counter-Strike
Stewie2K731
Super Smash Bros
hungrybox689
Heroes of the Storm
Khaldor200
Other Games
WinterStarcraft546
C9.Mang0438
Happy217
PartinGtheBigBoy78
Organizations
Counter-Strike
PGL12359
Other Games
gamesdonequick1092
StarCraft 2
ESL.tv147
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• practicex 90
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2130
League of Legends
• Stunt980
Other Games
• WagamamaTV215
Upcoming Events
SOOP
1h 30m
DongRaeGu vs sOs
CranKy Ducklings
2h 30m
WardiTV Invitational
3h 30m
AllThingsProtoss
3h 30m
SC Evo League
4h 30m
WardiTV Invitational
6h 30m
Chat StarLeague
8h 30m
PassionCraft
9h 30m
Circuito Brasileiro de…
10h 30m
Online Event
20h 30m
MaxPax vs herO
SHIN vs Cure
Clem vs MaxPax
ShoWTimE vs herO
ShoWTimE vs Clem
[ Show More ]
Sparkling Tuna Cup
1d 2h
WardiTV Invitational
1d 3h
AllThingsProtoss
1d 3h
uThermal 2v2 Circuit
1d 6h
Chat StarLeague
1d 8h
Circuito Brasileiro de…
1d 10h
Afreeca Starleague
2 days
BeSt vs Light
Wardi Open
2 days
PiGosaur Monday
2 days
Afreeca Starleague
3 days
Snow vs Soulkey
WardiTV Invitational
3 days
Replay Cast
3 days
GSL Code S
4 days
ByuN vs Rogue
herO vs Cure
Replay Cast
4 days
GSL Code S
5 days
Classic vs Reynor
GuMiho vs Maru
The PondCast
5 days
RSL Revival
5 days
GSL Code S
6 days
Korean StarCraft League
6 days
Liquipedia Results

Completed

BSL Nation Wars Season 2
PiG Sty Festival 6.0
Calamity Stars S2

Ongoing

JPL Season 2
ASL Season 19
YSL S1
BSL 2v2 Season 3
BSL Season 20
China & Korea Top Challenge
KCM Race Survival 2025 Season 2
CSLPRO Spring 2025
2025 GSL S1
Heroes 10 EU
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025
ESL Pro League S21

Upcoming

NPSL S3
CSLPRO Last Chance 2025
CSLAN 2025
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
2025 GSL S2
DreamHack Dallas 2025
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
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 © 2025 TLnet. All Rights Reserved.