March 2nd, 2009

Elastic times

nyt_elastic

Today was a good day, so I thought I would share its results imme­di­ately, instead of fine-tuning for­ever — who knows when I find the time anyways!

I built a lit­tle facet browser for the New York Times Arti­cle Search API - an impres­sively fast faceted search engine cov­er­ing over two mil­lion arti­cles. So, give it a spin!

Some caveats:

  • Don’t look for the page nav­i­ga­tion — there is none. Pure lazi­ness, will update it soon.
  • The ini­tial counts are based on a search for “the” (which I fig­ured would appear in all arti­cles). Unfor­tu­nately, only the top 15 or so val­ues per facet are returned, so you can­not click, e.g. the year 2008 in the begin­ning. Will fix.
  • The API has a request limit of 5000 queries per day. So if your requests don’t work — come back tomor­row morning :)
  • Unfor­tu­nately, the API seems to sup­port only one value per facet. So, all facets are single-select.(fixed, see comments).

The code is based on my totally revamped elas­tic lists pro­to­type. I used this project as a lit­tle sand­box exper­i­ment of how easy cus­tomiza­tion is pos­si­ble, and espe­cially how to make a switch from a fully client-based to a server–based fil­ter­ing model.

11 Responses to 'Elastic times'

Subscribe to comments with RSS or TrackBack to 'Elastic times'.

  1. Paul
    March 3rd, 2009 at 12:13 am

    Hi Moritz, Not sure whether you saw my Tweet. I blogged about your elas­tic lists: http://salesenablement.wordpress.com/2009/03/02/content-landscape/

    Respect! Kind regards Paul

  2. Moritz Stefaner
    March 3rd, 2009 at 12:19 am

    Yep, saw it, but for­got to reply — thanks!

  3. Daniele Galiffa
    March 3rd, 2009 at 8:03 am

    As usual, a great job!

    Thans for shar­ing, d.

  4. Moritz Stefaner
    March 3rd, 2009 at 8:26 am

    Just learned that it is indeed pos­si­ble to con­nect mul­ti­ple val­ues from one facet in a query:

    query=bush perfacet:[BUSH, GEORGE W] perfacet:[CLINTON, BILL]

  5. Moritz Stefaner
    March 5th, 2009 at 11:57 am

    Lit­tle update: Added browser his­tory sup­port and book­mark­able fil­ter set­tings via SWFad­dress.

    Exam­ple: Exam­ple query: Pope AND Fidel Castro

  6. Eloge du New-York Times (2) | Vedocci
    March 20th, 2009 at 7:36 pm

    […] Rechercher par facettes dans les arti­cles du NYT : plus séduisant que NYT Explorer, Elas­tic List per­met de rechercher dans 2,6 mil­lions d’articles du péri­odique. Pour chaque recherche, l’outil conçu par Moritz Ste­faner per­met de fil­trer les résul­tats par organ­i­sa­tion, per­sonne, local­i­sa­tion, année et descrip­tion. Le mieux, c’est de tester ! (via Infor­ma­tion Aes­thet­ics, via Moritz Stefaner) […]

  7. Christian Blab
    March 26th, 2009 at 3:14 am

    Very cool projects, i am a bit speechless!

  8. Paul
    March 28th, 2009 at 1:48 pm

    Super! Very nice.

  9. Moritz Stefaner
    March 28th, 2009 at 11:26 pm

    Thanks!

  10. PB
    May 27th, 2009 at 8:13 am

    Yep, saw it, but for­got to reply — thanks!

  11. David
    June 12th, 2009 at 2:40 am

    This is so ele­gant! I love the work that you are doing with elas­tic interfaces.

Leave a Reply