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

https://github.com/01110011011101010110010001101111/tigerwikisearch

A Full-Stack Go Search Application Using TigerGraph, Bleve Search, Gin, and Bootstrap
https://github.com/01110011011101010110010001101111/tigerwikisearch

blevesearch gin-gonic golang-application golang-examples search tigergraph

Last synced: about 2 months ago
JSON representation

A Full-Stack Go Search Application Using TigerGraph, Bleve Search, Gin, and Bootstrap

Awesome Lists containing this project

README

        

# TigerWikiSearch

A Go search tool using TigerGo, Bleve, and Gin.

## Quickstart

```
go run .
```

Open the `index.html` from this repository in a web brower and search with the search bar!

![Sample App Running](readme_images/sample_app.png)

## Workflow

This application integrates TigerGraph with Blevesearch to improve search results. The general workflow is outlined below.

![Workflow](readme_images/workflow.png)

The graph database is TigerGraph is modelled as shown below.

![Graph Schema](readme_images/schema.png)

A modified Pagerank is run and the resulting vertices, scores, and text content are uploaded to a Bleve index—in this repo, [`wiki_graph.bleve`](wiki_graph.bleve). The document mapping and uploading the Pagerank results in this repo is [graph_to_bleve.go](graph_to_bleve.go). A search can then be run with Blevesearch and both the Pagerank and TF-IDF scores are considered in the final ranking and results.

The final product uses a Gin Gonic server ([main.go](main.go)) and an HTML page designed with Bootstrap ([index.html](index.html)) to communicate the search results with the frontend.