Commit graph

228 commits

Author SHA1 Message Date
Niko Storni
f4115b0edc adjust channel ID lookup
index channel claim id for claims
2019-10-31 17:43:07 +01:00
Niko Storni
f1ad94d29d fix es storage object 2019-10-30 17:57:40 +01:00
Niko Storni
e7cf20eda4 address review comments 2019-10-15 00:04:47 +02:00
Niko Storni
9934258046 remove unused promises 2019-10-14 16:40:19 +02:00
Niko Storni
7bdf527ec9 feedback on drained queue 2019-10-14 16:40:19 +02:00
Niko Storni
42f2a6386c possibly improve memory management 2019-10-14 16:40:19 +02:00
Niko Storni
79b9eda568 don't spam slack 2019-10-14 16:40:19 +02:00
Niko Storni
c485b89972 construct object from mysql 2019-10-14 16:40:19 +02:00
Niko Storni
02f322059d parse json 2019-10-14 16:40:19 +02:00
Niko Storni
469ac7329a add debugging 2019-10-14 16:40:19 +02:00
Niko Storni
ba258cae03 replace API with db connector 2019-10-14 16:40:19 +02:00
Niko Storni
cc653ec5b6 reduce weight on channel tips 2019-10-14 16:39:50 +02:00
Mark
6f5c828442
Merge pull request #172 from StrikerRUS/patch-1
bump year in license
2019-10-08 21:23:14 -04:00
Nikita Titov
60fd5d4f6e
bump year in license 2019-10-08 23:28:49 +03:00
Mark Beamer Jr
715ecc3d92
Adding channel_id search back in. Reworked to avoid null queries being passed in.
Signed-off-by: Mark Beamer Jr <markbeamerjr@gmail.com>
2019-09-22 21:52:15 -04:00
Mark Beamer Jr
e9598d6b76
Comment channelIDSearch while I investigate to prevent an error.
Signed-off-by: Mark Beamer Jr <markbeamerjr@gmail.com>
2019-09-22 20:12:20 -04:00
Mark
02a0e45f65
Merge pull request #169 from lbryio/filter_by_channel_id
Add channel_id parameter to search api
2019-09-22 12:09:02 -04:00
Mark Beamer Jr
383626525d
Add channel_id parameter to search to restrict results to claims published to a specific channel's claim_id. This helps refine search for channels that have many bidding with the same name. 2019-09-21 20:27:05 -04:00
Mark Beamer Jr
4b88db1f55
Cleanup the sync
Add syncstate to status call
Remove old sync logic

Signed-off-by: Mark Beamer Jr <markbeamerjr@gmail.com>
2019-09-21 18:47:23 -04:00
Mark Beamer Jr
42bec75ef9
Set last sync time to start of sync when doing a long running sync.
Signed-off-by: Mark Beamer Jr <markbeamerjr@gmail.com>
2019-09-21 18:09:11 -04:00
Mark Beamer Jr
162107239b
Add capability to restart sync where it left off by storing state of the sync. Set to update
Signed-off-by: Mark Beamer Jr <markbeamerjr@gmail.com>
2019-09-21 17:25:18 -04:00
Mark Beamer Jr
c67f298ee6
Add channel id to claim if exists for more precise filtering 2019-09-19 22:15:52 -04:00
Thomas Zarebczan
84ab5eae36
Merge pull request #164 from lbryio/dependabot/npm_and_yarn/eslint-4.18.2
Bump eslint from 3.19.0 to 4.18.2
2019-09-18 12:57:53 -04:00
Thomas Zarebczan
c002a09d7e fix: eslint problems 2019-09-18 12:47:21 -04:00
dependabot[bot]
62e5ff070f
Bump eslint from 3.19.0 to 4.18.2
Bumps [eslint](https://github.com/eslint/eslint) from 3.19.0 to 4.18.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v3.19.0...v4.18.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-20 15:52:36 +00:00
Mark Beamer Jr
32ebc7ac9f
Only consider the 1st 3 terms in a search query for subqueries as they are likely to be related content searches and do not need to be so precise. 2019-07-16 20:30:15 -04:00
Mark Beamer Jr
7e99d9eace
Added more 1..n term based breakdown of query and concatenation to assist with partial matching. Added a massive weight so these likely scenario's or "intended" scenarios pass. 2019-07-13 01:49:12 -04:00
Mark Beamer Jr
127155ef16
Removed permanent wash to avoid exact match queries from failing. 2019-07-12 20:22:52 -04:00
Niko Storni
7ac9900158 update package lock 2019-07-08 20:22:37 +02:00
Niko Storni
f953c4365b switch dependency so that I can edit it 2019-07-08 20:12:29 +02:00
Niko Storni
b873d93bf6 .io to .com 2019-07-08 20:00:10 +02:00
Niko Storni
7cbcf9a1a6 update packages
switch from yarn to npm
2019-07-08 12:55:49 +02:00
Mark Beamer Jr
db39a6c47f
skip bad claim when processing to ensure all future claims make it into elastic search. 2019-06-22 16:37:39 -04:00
Mark Beamer Jr
11d000119b
check for null value to notify lbry team. 2019-06-22 16:17:40 -04:00
Mark Beamer Jr
ea2fcb56ab
log error when step in sync process fails. 2019-06-21 00:11:16 -04:00
Mark Beamer Jr
4f5206d18e
Check for Claim field 2019-06-20 23:26:36 -04:00
Mark Beamer Jr
3a061df1a4
check for null and undefined 2019-05-31 22:02:00 -04:00
Mark Beamer Jr
4056fb86cf
use escaped query for query_string
removed comments
2019-02-28 21:45:56 -05:00
Mark Beamer Jr
a716124800
Added split function for multi word queries. This way it makes a contains query for each word in the query. 2019-02-28 21:34:40 -05:00
Mark Beamer Jr
5a9ce272b9
Added reverted changes back in 2019-02-26 08:50:26 -05:00
Mark
525da56606
Merge pull request #147 from lbryio/revert-141-add_channel_weight
Revert "added channel effective amount to the claim weight."
2019-02-24 22:05:58 -05:00
Mark
79a2470504
Revert "added channel effective amount to the claim weight." 2019-02-24 22:05:39 -05:00
Mark
a11eb86338
Merge pull request #141 from lbryio/add_channel_weight
added channel effective amount to the claim weight.
2019-02-24 21:52:37 -05:00
Mark Beamer Jr
31f47fea76
Converted script scores to field_value_factor scores. This allows for a missing parameter to avoid the errors. 2019-02-24 21:41:22 -05:00
Mark Beamer Jr
101e55d924
added channel effective amount to the claim weight. 2019-02-24 17:03:50 -05:00
Mark Beamer Jr
81986315cb
Batched the chainquery calls for lighthouse in case it needs to grab all 700K in a redo. 2019-02-24 16:57:56 -05:00
Mark
b04f2df1e1
Merge pull request #144 from lbryio/content_filters
Content filters
2019-02-09 17:32:29 -05:00
marcdeb1
ed948fda2e
Generated docs 2019-02-09 16:54:39 -05:00
marcdeb1
70415626c5
Added content type filter
Added claim type filter
Improved filtering and return no results when wrong input
List of types as input for mediaType and contentType
2019-02-09 16:54:29 -05:00
Mark
8e2c50d232
Merge pull request #143 from filipnyquist/fix-readme
Added examples and removed deprec. information from README
2019-02-05 10:48:26 -05:00