• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 23:49
CET 05:49
KST 13:49
  • 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
TL.net Map Contest #21: Winners11Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation0Weekly Cups (Nov 3-9): Clem Conquers in Canada3SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
Craziest Micro Moments Of All Time? Mech is the composition that needs teleportation t Weekly Cups (Nov 3-9): Clem Conquers in Canada SC: Evo Complete - Ranked Ladder OPEN ALPHA RotterdaM "Serral is the GOAT, and it's not close"
Tourneys
Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
Terran 1:35 12 Gas Optimization FlaSh on: Biggest Problem With SnOw's Playstyle BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET [ASL20] Grand Finals [Megathread] Daily Proleagues
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Path of Exile Dawn of War IV
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread The Games Industry And ATVI
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
Formula 1 Discussion 2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1573 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 States11552 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
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 States20074 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
Replay Cast
23:00
PiGosaur Cup #55
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 185
ProTech128
Nina 106
Nathanias 106
StarCraft: Brood War
Britney 51874
Tasteless 271
Icarus 7
Dota 2
LuMiX1
League of Legends
Reynor20
Counter-Strike
fl0m582
Super Smash Bros
hungrybox2003
C9.Mang0323
ChuDatz7
Other Games
summit1g13171
WinterStarcraft291
ViBE128
CosmosSc2 16
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Hupsaiya 65
• Light_VIP 65
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1276
• Lourlo591
• Stunt267
Other Games
• Scarra1262
Upcoming Events
Replay Cast
4h 11m
OSC
6h 41m
Kung Fu Cup
7h 11m
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
18h 11m
The PondCast
1d 5h
RSL Revival
1d 5h
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
1d 7h
WardiTV Korean Royale
1d 7h
PiGosaur Monday
1d 20h
RSL Revival
2 days
Classic vs Creator
Cure vs TriGGeR
[ Show More ]
Kung Fu Cup
2 days
CranKy Ducklings
3 days
RSL Revival
3 days
herO vs Gerald
ByuN vs SHIN
Kung Fu Cup
3 days
IPSL
3 days
ZZZero vs rasowy
Napoleon vs KameZerg
BSL 21
3 days
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
4 days
RSL Revival
4 days
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
4 days
WardiTV Korean Royale
4 days
BSL 21
4 days
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
4 days
Dewalt vs WolFix
eOnzErG vs Bonyth
Wardi Open
5 days
Monday Night Weeklies
5 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

Proleague 2025-11-07
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 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.