We Upgraded Our Site’s Search Bar

At last week’s Winter Meetings, we redesigned our search bar functionality, and we are launching it today. The search bar location and the main function haven’t changed. The search bar is in the same place, and by default has the most-viewed players. It allows you to search players and blog articles. We did a pretty significant under-the-hood update that returns more relevant results, and while we were at it, we made some interface updates.

If you are interested in the details:

  • Players results are weighted by a combination of name match and the number of recent views.
  • Active players are in bold. The partial match of a search term is also underlined the player’s name.
  • Articles can be searched in a separate window. They are weighted by term matching, number of views, and recency.
  • For now, we’ve only included main page articles, not articles from all of our the blogs. The other blogs will be added in the future.
  • We included Team Pages in the results!
  • The search is also available as a full page: fangraphs.com/tools/search





I build things here.

37 Comments
Oldest
Newest Most Voted
Cave Dameron
7 years ago

Thank you Kanye, very cool!

Sammy Sooser
7 years ago

Nice upgrade! Will Smith, the minor league catcher in LA’s system, he actually pops up on a search!

zurzlesMember since 2018
7 years ago
Reply to  Sammy Sooser

Was there a problem with Wills? Because it was also weirdly difficult to search for Will Clark too.

weinventyou
7 years ago
Reply to  zurzles

Will Clark was the first one I checked. 🙂 Works now!

Alice Cooper
7 years ago
Reply to  zurzles

Will Craig (Pirates MiLB 1B) was impossible to search for at one time

rhswanzey
7 years ago
Reply to  Sammy Sooser

That’s fantastic news. He was so good in I Am Legend.

aweb
7 years ago

On my limited IE browser at work (v 11.1506) I don’t see the new search bar at all, and can’t seem to click on it either.

timmer
7 years ago
Reply to  aweb

This is a problem for me too. Looking at it right now it’s just black, there’s no box at all.

WARonEverything
7 years ago
Reply to  timmer

Don’t use IE 11, if you must use a Microsoft browser use Edge. IE 11 isn’t updated any more (expect with security patches) and you are bound to have issues on many sites.

aweb
7 years ago

Well, at work I don’t get to choose a whole lot of my internet viewing options. Edge at work is a buggy mess that won’t re-size properly and freezes constantly. IE 11 Seems to be working now though.

timmer
7 years ago
Reply to  Sean Dolinar

Thanks for being responsive Sean, your solution worked for me!

Jeff McNeil Truther
7 years ago

Awesome change. Especially the ability to search easily through articles. So much quality content from the past can now be much more easily plundered. This is a feature I had asked for/suggested in the past so I’m really happy to see it.

Mark Davidson
7 years ago

Meeting of the McNeil minds this Thursday at Dunkin donuts

ShauncoreMember since 2019
7 years ago

Whew, awesome.

Can’t tell you how frustrating it was to try and find old prospect lists from even 2016 in the search bar for a team. It was easier just to Google it.

Spencer Goldrich
7 years ago

Hi, how do I look up old episodes of Effectively Wild? I used to type in an episode number and the result would pop up. I’m sorry if I’m missing something obvious (which I probably am)!

E
7 years ago

Love being able to search articles.

Although rare, I would like to see a better way to differentiate between players with the same name. For example, there are currently two active Jose Ramirez.

rhswanzey
7 years ago
Reply to  E

Ha, every time I check in on my keeper league prospect, Pedro Gonzalez, I first have to click on the guy who’s two years younger than the Rangers’ one. I’m subconsciously forcing myself to keep hanging on.

Dooduh
7 years ago

Hah, I just figured out the player page color coding!

sadtromboneMember since 2020
7 years ago

Hey, something weird has happened that’s breaking the post comment function. When I hit “enter” in both Firefox and Chrome and I have a cursor in the box, it takes me to another page, it looks like a random one from the most-searched players. What’s going on? I thought it was just Firefox but now it’s happening in Chrome too.

d_iMember since 2016
7 years ago

No offense to Jose Ramirez – pitcher, but it wouldn’t bother me if he were to sign in Japan.

Monsignor Martinez
7 years ago

Jorge Posada’s bummed that his name won’t be at the top again

Garyth
7 years ago

Haha! First thing I checked also. I think as an easter egg to the fangraphs faithful Posada should always be weighted above the others if the search term matches his name.

WhatLeylandNoooo
7 years ago

When I look up J.D. Martinez it doesn’t send me to J.D. Martin. I… I don’t know what to do.

*30 seconds later*

Whoa. Turns out J.D. Martinez is really f’n good. Huh.

Victory Faust
7 years ago

I don’t play around with the search bar that often, but I find the results it’s spitting out to be kind of odd.

I type in “domin” and the top result is… Mike Minor?
“Neifi” gets me… Jeff McNeil?
Ichiro finds… Richie Ashburn?
Trout… Marcus Stroman and Troy Tulowitzki?

rhswanzey
7 years ago

Thanks! As a long term project, I think it would be awesome to add searchable draft history, especially if it could be used to parse specific minor league/MLB seasons out of a given draft, and not just a cumulative career stat line.

But even just starting with draft history and links to player pages would be a cool, more bite sized thinger.

WARonEverything
7 years ago

Interesting that Tulo does not look active. Probably doesn’t see 2018 results and assumes non-active. Maybe along with most recent season you could use team affiliation or contract end date as a secondary check for active?

John Autin
7 years ago

I’m sure this is a boon to many folks. But the only enhancement I hope for is to make the stats search engine half as robust as the B-R Play Index. Among the many issues: Viewing search results 50 lines at a time just doesn’t cut it for research, nor does the inability to swipe-copy *only* the results table. And exporting to a file is a poor workaround.

bac640Member since 2016
7 years ago

Good stuff! Definitely worth the bargain annual membership cost!

vivalajeter
7 years ago

Are there glitches with it right now? Or maybe it’s because I’m at work. I’ve tried Edge and Chrome.

I hover over the search bar, and see the most common names (Matt Harvey is first). I’m trying to search for Mike Moustakas. I type in Mike, and it underlines ‘Mike’ in ‘Mike Trout’, but all of the other names are unchanged.

Then I search for Moustakas, and nothing happens – it still shows Matt Harvey first, Daniel Descalso second, etc.

I click on ‘View All Results’ and it takes me to a bigger pop-up of the search bar. I type in Moustakas, and nothing happens. I hit Enter, and it takes me to the main page.

vivalajeter
7 years ago
Reply to  Sean Dolinar

There must be something going on with my work network. I tried when I got home yesterday, and it worked fine. This morning at work, it does the same thing. So it’s an issue on my end, not yours.

levijs
7 years ago

This is fantastic! Great work devs!

Enhancement idea: I’d love to be able to press ‘return’ / ‘enter’ to be navigated to the first result. This would streamline user experience now that the first result is ideally the most relevant.

rhswanzey
7 years ago

Just a heads up – in the search bar, for minor league players, there appears to be something wrong with using ‘1’ for the day in the player’s DOB. I saw an October 32nd earlier for a Nov. 1 DOB as an example. Casey Hudspeth will show you Sept 31 for an Oct 1 DOB. It still shows correctly on the player pages but not in the search bar.

felton
7 years ago

Is it possible to search team wins 2013-2018? Thanks