---
title: Search — Luke Oliff
description: Search every post, the CV and the uses page.
canonical: https://lukeocodes.dev/blog/search
type: website
locale: en_GB
robots: noindex, follow
feed: https://lukeocodes.dev/rss.xml
search: https://lukeocodes.dev/search.json?q={query}
schema:
  - "@context": https://schema.org
    "@graph":
      - "@type": Organization
        "@id": https://ably.com/#organization
        name: Ably
        url: https://ably.com
      - "@type": WebSite
        "@id": https://lukeocodes.dev/#website
        url: https://lukeocodes.dev
        name: Luke Oliff
        alternateName: lukeocodes
        inLanguage: en
        publisher:
          "@id": https://lukeocodes.dev/authors/luke#person
        description: Personal blog and writing by Luke Oliff — developer relations, voice AI, developer experience.
        potentialAction:
          - "@type": SearchAction
            target:
              "@type": EntryPoint
              urlTemplate: https://lukeocodes.dev/blog/search?q={search_term_string}
            query-input: required name=search_term_string
      - "@type": Person
        "@id": https://lukeocodes.dev/authors/luke#person
        name: Luke Oliff
        url: https://lukeocodes.dev/authors/luke
        description: Staff engineer and Staff Tech Lead for Developer Experience at Ably. Writing about developer relations, AI, and the voice industry, from the UK.
        mainEntityOfPage: https://lukeocodes.dev/authors/luke
        givenName: Luke
        familyName: Oliff
        image: https://lukeocodes.dev/authors/luke.jpg
        jobTitle: Staff Tech Lead, Developer Experience
        worksFor:
          "@id": https://ably.com/#organization
        sameAs:
          - https://www.linkedin.com/in/lukeocodes
          - https://github.com/lukeocodes
          - https://bsky.app/profile/lukeocodes.dev
          - https://x.com/lukeocodes
          - https://hashnode.com/@lukeocodes
          - https://dev.to/lukeocodes
        knowsAbout:
          - Developer Relations
          - Developer Experience
          - Voice AI
          - Text-to-Speech
          - Answer Engine Optimisation
          - Search Engine Optimisation
          - Open Source
          - Developer Tooling
          - API Design
          - Speech-to-Text
          - Voice Agents
          - Community Building
        knowsLanguage:
          - English
        nationality: British
        alumniOf:
          - "@type": Organization
            name: The Open University
---

[Luke Oliff.](/)

- [Blog](/blog) (current page)
- [CV](/cv)
- [Uses](/uses)
- [User manual](/user-manual)
- [Living with ADHD](/living-and-working-with-adhd)
- [RSS](/rss.xml)

[Luke Oliff · Blog](/blog)

# Search.

The search box on this page runs in the browser. Clients that do not run scripts can use the JSON endpoint below. It searches the same posts and ranks them the same way.

## Request

`GET https://lukeocodes.dev/search.json?q=<words>&limit=<n>`

- `q`: the words to search for. Required. Matches the start of words and allows small typos.
- `limit`: how many results to return, 10 by default, 50 at most.

## Response

```sh
curl "https://lukeocodes.dev/search.json?q=git+pickaxe&limit=1"
```

```json
{
  "query": "git pickaxe",
  "mode": "all",
  "total": 1,
  "limit": 1,
  "results": [
    {
      "title": "TIL: The git log Pickaxe Finds the Commit That Deleted a Line",
      "url": "https://lukeocodes.dev/til-git-log-pickaxe",
      "markdown": "https://lukeocodes.dev/til-git-log-pickaxe.md",
      "description": "The git log pickaxe, git log -S, lists only the commits that added or removed a piece of text. Use it to find when a line of code went missing.",
      "date": "2026-10-27",
      "categories": [
        "TIL",
        "Git"
      ],
      "matched": [
        "git",
        "pickaxe"
      ],
      "excerpt": "git log -S finds the commit that added or deleted a piece of text. Git calls it the pickaxe, and the git log pickaxe is the quickest way I know to answer \"which commit took this function out?\" Git…",
      "score": 181.36
    }
  ]
}
```

Results are ordered best match first. A title match counts most, then the description and categories, then the post body.

- `mode`: `all` when every result has all your words. When no post has them all, the search falls back to any of the words and `mode` is `any`.
- `total`: how many posts matched. `results` holds the best `limit` of them.
- `matched`: the words in the post that matched. A word matches the start of longer words, so `git` matches `github`.
- `excerpt`: about 200 characters of the post around the first match.
- `markdown`: fetch it to read the whole post as markdown.

Common words like `the`, `to` and `and` are ignored. Small typos are allowed in words of five letters or more.

A request with no `q` gets a 400 and a JSON message showing how to use it.

The whole index, every post with its text, is also at [/search-index.json](/search-index.json). Every post is listed at [/blog](/blog).

## Search this site

`GET https://lukeocodes.dev/search.json?q=<words>` returns matching posts as JSON, each with its page URL and its markdown URL. Add `&limit=<1-50>` for more than 10. How it works: [/blog/search](https://lukeocodes.dev/blog/search.md).

```sh
curl "https://lukeocodes.dev/search.json?q=developer+relations"
```

---

© 2026 Luke Oliff. Posts live at the root of this site.

- [GitHub](https://github.com/lukeocodes)
- [LinkedIn](https://www.linkedin.com/in/lukeocodes)
- [X](https://x.com/lukeocodes)
- [Bluesky](https://bsky.app/profile/lukeocodes.dev)
- [Email](mailto:luke@lukeoliff.com)
- [RSS](/rss.xml)

## Cookies

This site sets one analytics cookie, from Google Analytics, and only in a browser that accepts the cookie banner. A client that does not run scripts sets no cookies, so there is nothing to accept or decline here.

[Cookie policy](/cookies)
