Skip to content
Tool for Unstructured Querying
Go JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
datasources
docs
html
optimizer
parser
planner
.gitignore
.travis.yml
README.md
build.sh
history.go
http.go
interactive.go
main.go
main_test.go
output.go
stdin.go
util.go

README.md

tuq (Tool for Unstructured Querying)

A tool for querying unstructured datasources. Run queries like:

tuq> SELECT {"style":doc.style, "count":count(doc.style), "avg_abv": avg(doc.abv)} 
FROM beersample WHERE doc.style.analyzed == "lager" && doc.abv > 0 GROUP BY doc.style

Features

  • UNQL-like query language
  • Interactive query shell with readline-like support and command history
  • HTTP mode
  • DataSources
    • CSV file
    • ElasticSearch
    • Couchbase+ElasticSearch
    • MongoDB
  • Baseline support for all operations in memory (allows working with databases that have limited query capability)
  • Pluggable architecture (for easier experimentation)
    • Parser
    • Planner
    • Optimizer
    • Datasources

Getting Started

See the wiki for full details

Something went wrong with that request. Please try again.