Fork me on GitHub

Searchify Go client demo

{{ if .Homepage }}

What's this?

This is a small demo app demonstrating Searchify's Go language IndexTank client, called Gotank.

Just show me the source code!

The Go source code for this demo app is at github.com/searchify/gosearchify-demo. The IndexTank client Go source is at Gotank.

What data is this app searching?

This demo lets you search through the Enron email corpus which contains emails from 1999-2001 from the Enron case.

Where is this demo app running?

I'm glad you asked. It's running on Heroku, using Keith Rarick's excellent Go buildpack, and using Searchify to power the search.

What is Searchify?

Searchify provides hosted IndexTank search for websites and apps, with a simple API and features like autocomplete, geolocation search, faceted search, and custom ranking functions.

Does Searchify work with other languages?

Yep! There are client libraries in many languages, including Ruby, Python, Java, PHP, Javascript, and 3rd party clients in several other languages. And if you want to write your own client, it's pretty easy, using our REST API.

What now?

Try some searches! Here are a few ideas to get you started:
{{ else }} {{ if and false .DidYouMean }}
Did you mean: {{ .DidYouMean }} ?

{{ end }} {{ if .Matches }} Showing {{ .First }}-{{ .Last }} of {{ .Matches }} results ({{.SearchTime}} seconds)

{{range .Results}}

{{ if .subject}}{{ .subject | html }}{{ else }}(No subject){{ end }}
{{ if .senderName }} From {{ .senderName | html }} <{{ .sender | html }}> {{ else }} Empty sender field {{ end }} {{ fmttime .timestamp | html }}
{{ if .snippet_text }} {{ .snippet_text }} {{ else }} {{ maxlen .text 250 | html }} {{ end }}

{{end}} {{ else }}
No search results found for {{ .Query | html }}

Try one of these searches: ...

{{ end }} {{ end }}

Visit Searchify.com - Twitter: @getsearchify