• Tumblelog search

      We’re rolling out search across Tumblr, starting with individual tumblelog search.

      You can check it out on our tumblelogs here:

      Search boxes aren’t in any stock themes yet, but they’ll be included soon.

      In the meantime, you can add a search box to your custom theme or Description with this code:

      <form action="/search" method="get">
          <input type="text" name="q" value="{SearchQuery}"/>
          <input type="submit" value="Search"/>
      </form>
      

      These variables have also been added:

      {SearchQuery}
      {URLSafeSearchQuery}
      
      {block:SearchPage}
          {SearchResultCount}
      {/block:SearchPage}
      
      {block:NoSearchResults}
      {/block:NoSearchResults}
      

      Feel free to try it out!

      There’s still more to do. We’re not segmenting, so text without spaces between words (such as German compound words or most Japanese text) isn’t properly indexed yet. Advanced search operators (and, or, not, phrase) also aren’t supported yet.

      And, of course, there’s much more we’re planning to do with this. Stay tuned.