DN gets search

9 years ago from , Software Engineer @ HODINKEE; LayerVault Alum

Probably one of the most requested features for DN that we've heard since launch is the addition of a search feature. As a part of the recent DN 2.0 updates, we've done just that.

Take a gander to the link in the sidebar and give search a try. It searches through both post content and URLs. It does not search users or comments at this time.

For the technically inclined, our search is backed by the wonderful elasticsearch (http://elasticsearch.org).


  • Allan GrinshteinAllan Grinshtein, 9 years ago

    Nice work.

    5 points
  • Matt SistoMatt Sisto, 9 years ago

    autofocus pls! :)

    1 point
  • Moiz K. MalikMoiz K. Malik, 9 years ago

    The past week of updates on DN has been awesome.

    This isn't important, but if you enter in a query that doesn't have any results, there's no feedback to tell you there were no results.

    1 point
  • Mike DeLeonMike DeLeon, 9 years ago

    Awesome addition!

    The only snag is that 20 result limit.

    0 points
  • Nick Dominguez, 9 years ago

    Thank you. This is something I've been wanting for a long time.

    0 points
  • Viktor TViktor T, 9 years ago


    0 points
  • Tom WoodTom Wood, 9 years ago

    Fantastic addition. Very quick too!

    Regarding placement, it feels a little "off" being a part of the "top" and "recent" stories section. In the same way "new story" has a divider I wonder if perhaps search would benefit from a similar isolation.

    0 points
  • Surjith S MSurjith S M, 9 years ago

    I don't think the search is indexing URL's.

    I tried searching by Resposnive, Danielmall's link appeared first. Then I searched by danielmall, Oops No result :-( OK. its woking when adding .com to it.

    Its better if its working without the extension.

    Anyway, Great update.

    0 points
  • Jim SilvermanJim Silverman, 9 years ago

    searching "ask dn" gives me a 404. what's the deal?

    0 points
  • Lu MLu M, 9 years ago

    Looks like upvote isn't working on search results, but very nice feature !

    0 points
  • Daniel GoldenDaniel Golden, 9 years ago

    Include the MOTD?

    0 points
    • Ryan LeFevre, 9 years ago

      It does not. Not sure if the MOTD content is valuable enough to consider indexing.

      1 point
      • Daniel GoldenDaniel Golden, 9 years ago (edited 9 years ago )

        I disagree. I'd like to be able to search through them, or go back through the history.

        Edit: Current MOTD is a good example of one of the reasons I'd like to be able to search:

        “Rename *.docx to *.zip and unzip it to get all images from the doc in a folder!”

        0 points