Compare commits
No commits in common. "master" and "chainquery-db-connection" have entirely different histories.
master
...
chainquery
3 changed files with 4 additions and 13 deletions
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017-2020 LBRY Inc
|
||||
Copyright (c) 2017-2019 LBRY Inc
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
|
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -5336,9 +5336,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"handlebars": {
|
||||
"version": "4.5.3",
|
||||
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz",
|
||||
"integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==",
|
||||
"version": "4.1.2",
|
||||
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.1.2.tgz",
|
||||
"integrity": "sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw==",
|
||||
"requires": {
|
||||
"neo-async": "^2.6.0",
|
||||
"optimist": "^0.6.1",
|
||||
|
|
|
@ -98,14 +98,6 @@ function getResults (input) {
|
|||
},
|
||||
},
|
||||
};
|
||||
// Try prefix query without an @ if it exists
|
||||
const channelIdentifier = {
|
||||
'prefix': {
|
||||
'name': {
|
||||
'value': escapedQuery.replace(/^@/gi, ''), 'boost': 50,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const splitName = () => {
|
||||
let queries = [];
|
||||
|
@ -279,7 +271,6 @@ function getResults (input) {
|
|||
conBoost,
|
||||
funcScoreClaimWeight,
|
||||
funcScoreChannelWeight,
|
||||
channelIdentifier,
|
||||
],
|
||||
'must': [
|
||||
...dynamicFilters(),
|
||||
|
|
Loading…
Reference in a new issue