autocompeter

Infrastructure

autocomplete service

SHOW HN2015

autocompeter

Fast autocomplete service written in Go and JavaScript

autocompeter.com

#autocomplete#redis#typeahead#rest api#golang

76points
47comments
#353of 2,565 in 2015
Top 14%of 2015 by points

How HN took it

MixedNo clear lean

2 positive, 6 neutral or asking, 1 mixed, 5 critical, out of 14 comments about the project. Thread score -0.24.

Execution: 0 for, 2 againstDesign: 0 for, 2 againstIdea: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

Objections

  • Redis-based speed credited more than Go implementation

    From 2 comments
    • It is fast because Redis, which provides the storage, is considerably fast at the tasks necessary to implement such a service. Go has last little to do with it.
      doomspork on HN
    • Meh, it's a decent and properly commented implementation, but the interesting stuff is done by Redis, not in Go. I wrote a similar service (JS+Go) 2 years or so ago using only…
      lazyjones on HN
  • No spelling-mistake suggestions

    From 1 comment
    • It would have been nice to give suggestions even if you make spelling mistakes.
      bad_user on HN
  • Autocomplete flickered while typing

    From 1 comment
    • Comments: 1. The focus should be on the search box when the page is loaded. 2. While typing the word "javascript", sometimes the amount of results shrinks and immediately…
      amelius on HN

Requests

  • Fuzzy matching for misspellings

    From 2 comments
    • It would have been nice to give suggestions even if you make spelling mistakes.
      bad_user on HN
    • Yeah I agree. A Levenshtein distance shouldn't perhaps be too hard.
      peterbe on HN
  • Support for Rust

    From 1 comment
  • Focus search box on page load

    From 1 comment
    • Comments: 1. The focus should be on the search box when the page is loaded. 2. While typing the word "javascript", sometimes the amount of results shrinks and immediately…
      amelius on HN

Questions

  • How is it fast, given there is no database server-side

    From 1 comment
    • Ok, what `fast` means here? There is no database for the server-side project.
      afshinmeh on HN
  • How can it be offered for free

    From 1 comment
  • Does it support unicode

    From 1 comment

Alternatives named

  • Apache Solr with Varnish

    From 1 comment
    • I've found Apache Solr the best approach to building a flexible, fast auto-complete service. Solr can spit results back in json so it's dead easy to write a simple API wrapper in…
      corford on HN
  • soulmate (Redis + Ruby gem)

    From 1 comment
    • Yeah, where I work we use another redis + ruby gem that the seatgeek guys wrote called soulmate. https://github.com/seatgeek/soulmate
      mosburger on HN
  • autocomplete-me (Ruby and Redis)

    From 1 comment
    • I put together an autocomplete service using Ruby and Redis but rather than dealing with the network latency of a remote service I decided to package it up so it could be mounted…
      doomspork on HN
  • Elasticsearch

    From 1 comment
    • Heh, I always feel a bit bad when people mention this since we're not using it ourselves anymore. Though it's a nice and easy way to get going quickly if you're already running…
      ericwaller on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/9316722)