From d97561638ac015cdd44d3a58ecbd93f36c4383e3 Mon Sep 17 00:00:00 2001 From: Pragya Tripathi Date: Sun, 14 Apr 2019 23:53:11 -0700 Subject: [PATCH] Add query boosting to give more weight to title, author then text Issue: #66 --- parijat-frontend/src/routes/search/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parijat-frontend/src/routes/search/index.js b/parijat-frontend/src/routes/search/index.js index cf718fe1..54ece090 100644 --- a/parijat-frontend/src/routes/search/index.js +++ b/parijat-frontend/src/routes/search/index.js @@ -78,9 +78,9 @@ export default class Search extends Component { autofocus searchOnChange queryFields={[ - 'title', - 'author', - 'text', + 'title^3', + 'author^2', + 'text^1', 'text.latin', 'title.latin', 'author.latin'