• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:43
CEST 21:43
KST 04:43
  • 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 Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed18Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
Heaven's Balance Suggestions (roast me) Who will win EWC 2025? Esports World Cup 2025 - Brackets Revealed Crumbl Cookie Spoilers – August 2025 The Memories We Share - Facing the Final(?) GSL
Tourneys
Sea Duckling Open (Global, Bronze-Diamond) FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ Soulkey Muta Micro Map? BW General Discussion [ASL19] Finals Recap: Standing Tall
Tourneys
[Megathread] Daily Proleagues 2025 ACS Season 2 Qualifier CSL Xiamen International Invitational Cosmonarchy Pro Showmatches
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread CCLP - Command & Conquer League Project The PlayStation 5
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Korean Music Discussion Movie Discussion! [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 716 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 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
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
Australia6103 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
Australia6103 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 States20019 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
RotterdaM Event
17:00
$100 Stream Ruble
RotterdaM771
Liquipedia
CSO Contender
17:00
#43
Liquipedia
PSISTORM Gaming Misc
15:55
FSL Team League: PTB vs RR
Liquipedia
Epic.LAN
12:00
Epic.LAN 45 Playoffs Stage
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 771
BRAT_OK 105
JuggernautJason65
CosmosSc2 21
StarCraft: Brood War
Mini 1021
Larva 567
firebathero 200
ZZZero.O 168
TY 111
Aegong 59
GoRush 18
yabsab 15
Stormgate
TKL 121
Dota 2
qojqva4156
monkeys_forever369
League of Legends
Grubby4116
Counter-Strike
fl0m2550
Stewie2K1101
Heroes of the Storm
Liquid`Hasu332
Other Games
summit1g1639
Beastyqt712
Skadoodle210
ToD183
Trikslyr168
Hui .131
ArmadaUGS115
Sick44
Organizations
Other Games
gamesdonequick2076
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• printf 65
• tFFMrPink 22
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21573
League of Legends
• Nemesis6197
Other Games
• imaqtpie1636
• WagamamaTV181
Upcoming Events
Sparkling Tuna Cup
14h 17m
Online Event
20h 17m
Esports World Cup
2 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
3 days
Esports World Cup
4 days
Esports World Cup
5 days
CranKy Ducklings
6 days
BSL20 Non-Korean Champi…
6 days
BSL20 Non-Korean Champi…
6 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Liquipedia Results

Completed

CSL Xiamen Invitational: ShowMatche
RSL Revival: Season 1
Murky Cup #2

Ongoing

BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
CSL Xiamen Invitational
2025 ACS Season 2
Championship of Russia 2025
Underdog Cup #2
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 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.