Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
Add query boosting to give more weight to title, author then text
Browse files Browse the repository at this point in the history
Issue: #66
  • Loading branch information
Pragya Tripathi authored and Pragya Tripathi committed Jun 30, 2019
1 parent e0140fe commit d975616
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parijat-frontend/src/routes/search/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d975616

Please sign in to comment.