• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 03:15
CEST 09:15
KST 16:15
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29LiuLi Cup - September 2025 Tournaments3
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris SC4ALL $6,000 Open LAN in Philadelphia Sparkling Tuna Cup - Weekly Open Tournament WardiTV TL Team Map Contest #5 Tournaments RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
[ASL20] Ro16 Preview Pt2: Turbulence BW General Discussion ASL20 General Discussion Diplomacy, Cosmonarchy Edition BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Borderlands 3
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread Russo-Ukrainian War Thread The Big Programming Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1563 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
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
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
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
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
Netherlands10341 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 States20026 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 3h 46m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech67
StarCraft: Brood War
firebathero 1417
actioN 388
Leta 205
soO 92
PianO 53
Noble 52
Sharp 27
Sacsri 20
Dewaltoss 14
NaDa 14
Dota 2
NeuroSwarm148
Counter-Strike
Stewie2K572
semphis_30
allub14
Super Smash Bros
Mew2King44
Other Games
C9.Mang0320
XaKoH 160
SortOf86
Trikslyr28
Organizations
Other Games
gamesdonequick488
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• OhrlRock 42
• LUISG 6
• IndyKCrew
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• Migwel
• LaughNgamezSOOP
StarCraft: Brood War
• iopq 1
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Rush1565
• Lourlo918
• Stunt386
• HappyZerGling128
Upcoming Events
LiuLi Cup
3h 46m
OSC
11h 46m
RSL Revival
1d 2h
Maru vs Reynor
Cure vs TriGGeR
The PondCast
1d 5h
RSL Revival
2 days
Zoun vs Classic
Korean StarCraft League
2 days
BSL Open LAN 2025 - War…
3 days
RSL Revival
3 days
BSL Open LAN 2025 - War…
4 days
RSL Revival
4 days
[ Show More ]
Online Event
4 days
Wardi Open
5 days
Monday Night Weeklies
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
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
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 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.