Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deluan/gomate

GoLang autocomplete on multiple words with Ledis (and possibly Redis)
https://github.com/deluan/gomate

Last synced: about 2 months ago
JSON representation

GoLang autocomplete on multiple words with Ledis (and possibly Redis)

Awesome Lists containing this project

README

        

GoMate
======

[![Build Status](https://travis-ci.org/deluan/gomate.svg?branch=master)](https://travis-ci.org/deluan/gomate) [![Go Report Card](https://goreportcard.com/badge/github.com/deluan/gomate)](https://goreportcard.com/report/github.com/deluan/gomate) [![Coverage](http://gocover.io/_badge/github.com/deluan/gomate)](http://gocover.io/github.com/deluan/gomate)

Implementation of [Soulmate](https://github.com/seatgeek/soulmate)'s full-text search algorithm in Go,
using [LedisDB](http://ledisdb.com) backend. It can be adapted to use [Redis](http://redis.io)
(or any Redis-like system), by implementing the [DB](db.go) interface.

For an introduction to the algorithm, read [this](http://patshaughnessy.net/2011/11/29/two-ways-of-using-redis-to-build-a-nosql-autocomplete-search-index).

I wrote this package as a quick search implementation for [GoSonic](https://github.com/deluan/gosonic),
but I decided to publish it as an independent, reusable library.

Watch this space for documentation and examples.