From 661d4a0beb076493c69eab3ee02bcec4e0400837 Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Mon, 15 Aug 2016 00:55:20 +0900 Subject: [PATCH] Added license field --- Cargo.toml | 3 ++- README.md | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 35a195b..dbbf9f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ repository = "https://github.com/fulmicoton/tantivy" readme = "README.md" keywords = ["search", "information", "retrieval"] +license = "MIT" [dependencies] #tantivy = { path = "../tantivy" } @@ -18,7 +19,7 @@ time = "0.1.34" iron = "0.4" staticfile = "0.3.0" rustc-serialize = "0.3.16" -persistent="*" +persistent="0.2.0" clap = "2" ansi_term = "0.8.0" urlencoded = "0.4" diff --git a/README.md b/README.md index 4d3a1f2..0a188d5 100644 --- a/README.md +++ b/README.md @@ -199,4 +199,9 @@ You can run it with the following command. By default, the server is serving on the port `3000`. +You can search for the top 20 most relevant documents for the query `Barack Obama` by accessing +the following [url](http://localhost:3000/api/?q=barack+obama&explain=true&nhits=20) in your browser + + http://localhost:3000/api/?q=barack+obama&explain=true&nhits=20 +