Include sample data and images.

This commit is contained in:
Syfaro 2021-02-20 23:40:03 -05:00
parent ce3793f9a3
commit eded80fd78
13 changed files with 80 additions and 4 deletions

2
Cargo.lock generated
View File

@ -764,7 +764,7 @@ dependencies = [
[[package]]
name = "fuzzysearch"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"async-stream",
"bk-tree",

View File

@ -1,6 +1,6 @@
[package]
name = "fuzzysearch"
version = "0.1.0"
version = "0.2.0"
authors = ["Syfaro <syfaro@huefox.com>"]
edition = "2018"

View File

@ -95,7 +95,12 @@ fn configure_tracing() {
.with(fmt_layer);
let exporter = opentelemetry_jaeger::Exporter::builder()
.with_agent_endpoint(std::env::var("JAEGER_COLLECTOR").unwrap().parse().unwrap())
.with_agent_endpoint(
std::env::var("JAEGER_COLLECTOR")
.expect("Missing JAEGER_COLLECTOR")
.parse()
.unwrap(),
)
.with_process(opentelemetry_jaeger::Process {
service_name: "fuzzysearch".to_string(),
tags: vec![

View File

@ -4,7 +4,7 @@ CREATE TABLE artist (
);
CREATE TABLE submission (
id SERIAL PRIMARY KEY,
id INTEGER PRIMARY KEY,
artist_id INTEGER REFERENCES artist (id),
hash BYTEA,
hash_int BIGINT,

71
tests/sample.sql Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB