Commit graph

231 commits

Author SHA1 Message Date
filipnyquist
4349d7894e
Merge pull request #94 from lbryio/add-channel-param
This PR adds channels into the index, this combined with the added ch…
2018-07-24 11:05:39 +02:00
filipnyquist
4423fc2cfc This PR adds channels into the index, this combined with the added channel filtering parameter allows us to search specific channels for content.
While adding the code for filtering I split the search query into individual parts so it easier can be edited and read.
2018-07-23 12:06:47 +02:00
filipnyquist
cf3cac7b79
Merge pull request #91 from lbryio/gendb-fix
Fixed the gendb script for compability with new curl versions.
2018-07-09 14:55:26 +02:00
filipnyquist
581f3de838 Fixed the gendb script for compability with new curl versions. 2018-07-09 14:50:21 +02:00
Mark
7dcb8808a0
Merge pull request #88 from lbryio/remove_effective_amount
removed effective amount function score from query.
2018-07-04 00:00:50 -04:00
Mark Beamer Jr
d9a4af9636 removed effective amount function score from query. 2018-07-04 00:00:18 -04:00
Mark
dcbf39193c
Merge pull request #87 from lbryio/logging
removed logging reference.
2018-07-03 23:52:20 -04:00
Mark Beamer Jr
49a7c42e73 removed logging reference. 2018-07-03 23:51:39 -04:00
filipnyquist
b87a2420a2 Fixed .idea folder coming in with the pulls. 2018-06-30 14:45:26 +02:00
filipnyquist
36943d5905
Merge pull request #85 from lbryio/logging-fix
Added better winston logging, this saves logs up to 14days, then rota…
2018-06-28 14:27:25 +02:00
filipnyquist
22bf2b8a5d Added better winston logging, this saves logs up to 14days, then rotates them. This allows for easier debugging over time. 2018-06-28 14:24:00 +02:00
filipnyquist
cb7151fa99
Merge pull request #84 from lbryio/small-fixes-0627
Added a ENV variable for the elasticsearch url for easier debugging.
2018-06-27 15:06:27 +02:00
filipnyquist
d418179feb Added a ENV variable for the elasticsearch url for easier debugging. 2018-06-27 15:04:41 +02:00
filipnyquist
d33c820eef
Merge pull request #83 from lbryio/revert-82-revert-81-controlling_weight
Revert "Revert "Updated search query""
2018-06-23 18:23:24 +02:00
filipnyquist
0557855fab
Revert "Revert "Updated search query"" 2018-06-23 18:23:15 +02:00
filipnyquist
e7d46c8082
Merge pull request #82 from lbryio/revert-81-controlling_weight
Revert "Updated search query"
2018-06-21 18:25:45 +02:00
filipnyquist
13a465fce3
Revert "Updated search query" 2018-06-21 18:24:57 +02:00
filipnyquist
e9d7d75da6
Merge pull request #81 from lbryio/controlling_weight
Updated search query
2018-06-21 17:07:43 +02:00
Mark Beamer Jr
1b041f8e87 Updated search query to include controlling and effective amount weights. Also made sure the results are sorted properly so highest score is at the top. 2018-06-20 22:33:58 -04:00
Mark
3656706156
Merge pull request #80 from lbryio/server_error
check against value not just _source
2018-06-20 22:18:41 -04:00
Mark Beamer Jr
dfcc5e3ef4 check against value not just _source 2018-06-20 22:17:59 -04:00
Mark
0472ba7705
Merge pull request #79 from lbryio/server_error
Fixed bug caused by blank claims ( deleted ).
2018-06-20 22:01:06 -04:00
Mark Beamer Jr
20eedbc660 Fixed bug caused by blank claims ( deleted ) which resulted in internal server error. 2018-06-20 19:18:09 -04:00
Mark
8c674b2e1f
Merge pull request #77 from lbryio/spent_claims
Spent claims
2018-05-27 09:50:52 -04:00
Mark Beamer Jr
cd0f980904 -Refactored handling of blocked claims.
-Changed deletes to be queued and refactored.
-Added logging.
-Removed commented debug code.
-Added Spent and Expired bid_state handling.
2018-05-26 22:56:09 -04:00
Mark Beamer Jr
78e26b2e6e -Parameterized elastic search logging to a const. 2018-05-26 22:49:29 -04:00
Mark Beamer Jr
bb8525f69e -Fixed bug that causes completionmapper parse error in elastic search. This causes an entire batch to fail. Batches are up to 500 so if 1 fails they all fail. The impact is that many claims were not indexed in elastic search. 2018-05-26 22:47:26 -04:00
Mark Beamer Jr
e9ee65be33 -Added content type to gendb to support elastic search 6.+ comms. 2018-05-26 01:26:17 -04:00
tiger5226
16ee96a883
Merge pull request #74 from lbryio/modules-upgrade
upgrade modules
2018-05-16 11:25:30 -04:00
Niko Storni
78c64ba2f3
upgrade modules 2018-05-16 09:44:38 -04:00
filipnyquist
dac954455b
Merge pull request #73 from lbryio/chainquery
Chainquery
2018-05-15 16:17:03 +02:00
Mark Beamer Jr
4e1808c585 -fixed util import for chainquery sync
-added https for blocked files api
-added comma to commented section so query is intact if uncommented.
2018-05-15 00:03:07 -04:00
Mark Beamer Jr
c6893991c3 -removed comma on last column of query.
-removed useless console log.
-added more understandable logging for which claims are pushed to elastic search.
2018-05-14 21:28:14 -04:00
filipnyquist
98095cdb64
Merge pull request #72 from lbryio/chainquery
Chainquery Integration
2018-05-14 19:41:02 +02:00
Mark Beamer Jr
b1c7f8b8ca -chainquery integration. Instead of using lbrycrd directly, use the chainquery app as the intermediary. 2018-05-12 19:35:56 -04:00
Mark Beamer Jr
04956a9e2c -export getvalue to be used for chainquery integration 2018-05-12 19:21:40 -04:00
filipnyquist
c3800d585a
Merge pull request #70 from lbryio/synconfailure
-Added call to sync if sync fails.
2018-05-10 16:02:40 +02:00
Mark Beamer Jr
59af51ccec -Added call to sync if sync fails. 2018-05-09 21:41:14 -04:00
Mark Beamer Jr
b7e0cb327a -added check to make sure size + from stays under 10,000 2018-04-29 22:09:28 -04:00
filipnyquist
ec89049049
Merge pull request #65 from lbryio/pagination
Added size for number of results to get and from for pagination.
2018-04-27 07:48:22 +02:00
Mark Beamer Jr
69d770b032 Added size for number of results to get and from for pagination. 2018-04-26 20:11:18 -04:00
filipnyquist
e43a91d1f5
Update README.md 2018-04-19 22:53:10 +02:00
filipnyquist
524af1c458
Updated the readme to follow the new changes 2018-04-19 22:52:05 +02:00
filipnyquist
f89796e3b5
Merge pull request #62 from lbryio/update_doc
Updated apidocs to use HTTPS for github pages.
2018-04-08 09:41:18 +02:00
filipnyquist
9fef59cfd0 Updated apidocs to use HTTPS for github pages. 2018-04-08 09:39:40 +02:00
filipnyquist
b76b7b7a58
Merge pull request #61 from lbryio/autocomplete_fix
The internal server error was because we were checking for a null val…
2018-04-08 09:17:02 +02:00
filipnyquist
9e6fb6c00c
Merge pull request #60 from lbryio/apidocs_fix
Apidocs fix
2018-04-08 09:16:36 +02:00
filipnyquist
deed9db749
Merge pull request #59 from lbryio/blockclaims
Added functionality to delete any potentially blocked claims
2018-04-08 09:16:12 +02:00
Mark Beamer Jr
482efbdb5f The internal server error was because we were checking for a null value for a claim. This is already checked and should never be null. The intention is to make sure we can get the right information out which is only available in a stream. However, there is no stream for channel claims, only certificates. So the fix is to check for null on the stream not the value. 2018-04-08 02:36:57 -04:00
Mark Beamer Jr
47890ad56e Updated API docs to fix documentation errors on github pages which is the target of the documentation. The main culprit was not having cors enabled to handle the same origin policy of the browsers. With the koa-cors package now enabled this will work perfectly. 2018-04-08 02:13:27 -04:00