use circleci instead of travis (#511)

Upgrade rust-toolchain
Upgrade Tantivy
Warning: tantivy now use a different file format, search index may need to be deleted and recreated to work as intended
try to run compile twice in a row because sometime oomk is evil
This commit is contained in:
fdb-hiroshima
2019-04-01 20:28:23 +02:00
committed by GitHub
parent 2d12524cd1
commit 26fc2cde5d
16 changed files with 295 additions and 139 deletions
+2 -2
View File
@@ -59,10 +59,10 @@ pub fn search(
user: Option<User>,
intl: I18n,
) -> Ructe {
let query = query.map(|f| f.into_inner()).unwrap_or_default();
let query = query.map(Form::into_inner).unwrap_or_default();
let page = query.page.unwrap_or_default();
let mut parsed_query =
Query::from_str(&query.q.as_ref().map(|q| q.as_str()).unwrap_or_default())
Query::from_str(&query.q.as_ref().map(String::as_str).unwrap_or_default())
.unwrap_or_default();
param_to_query!(query, parsed_query; normal: title, subtitle, content, tag,