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
- Host: GitHub
- URL: https://github.com/01110011011101010110010001101111/tigerwikisearch
- Owner: 01110011011101010110010001101111
- Created: 2022-06-09T02:01:22.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-10T13:15:43.000Z (almost 3 years ago)
- Last Synced: 2025-01-31T11:50:11.386Z (4 months ago)
- Topics: blevesearch, gin-gonic, golang-application, golang-examples, search, tigergraph
- Language: Go
- Homepage:
- Size: 2.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!

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

The graph database is TigerGraph is modelled as shown below.

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.