Commit graph

193 commits

Author SHA1 Message Date
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
Mark Beamer Jr 7d55981ad8 Added functionality to delete any potentially blocked claims (sourced from internal-apis) from showing up in search results. 2018-04-07 21:53:15 -04:00
filipnyquist 429fa8b3c2
Merge pull request #54 from lbryio/search_updates
I modified the query to be more complex so that relevancy is considered.
2018-03-17 01:02:21 +01:00
Mark Beamer Jr c32f8e9367 I modified the query to be more complex so that relevancy is considered.
Features of the query are below in order of importance(weight):

1) Phrase Match on Name
2) Term Match on Name
3) Contains Term on Name
4) Phrase Match on Author,Title,Description
5) Term Match on Author,Title,Description
6) Contains Term on Author,Title,Description
2018-03-14 23:18:15 -04:00
filipnyquist 14bfde88b9
Merge pull request #53 from lbryio/search_updates
using ^n on a field is only valid syntax for lycene. This caused the …
2018-03-14 16:56:31 +01:00
Mark Beamer Jr 90e2d3f64b changed weight to 5 from 100. I made the weight 5 based on tests around "super" which is a query that returns 1800 hits. The intention is to make sure that channels show up first in the results. 2018-03-13 21:43:08 -04:00
Mark Beamer Jr 00a41e9e19 using ^n on a field is only valid syntax for lycene. This caused the name field to never be search which resulted in channels not being searchable. I added the boost parameter which is what is supposed to be used. I made the weight 5 based tests around "super" which is a query that returns 1800 hits. The intention is to make sure that channels show up first in the results. 2018-03-13 21:37:57 -04:00
filipnyquist 04ef25cbc0
Merge pull request #48 from lbryio/search_updates
updated search query for elasticsearch. value is stored as a nested o…
2018-03-09 16:47:27 +01:00
Mark Beamer Jr 674dddca8a updated search query for elasticsearch. value is stored as a nested object in the elastic document. Therefore to query fields at that level or lower, a nested query is required. 2018-03-08 22:09:48 -05:00
Alex Grin 08e196910f
Merge pull request #46 from lbrydocs/patch-1
create LICENSE file
2018-02-28 09:40:25 -05:00
LBRY Docs 7f21483486
create LICENSE file 2018-02-05 13:04:58 -08:00
filipnyquist edbd0bc46c
Merge pull request #44 from vfioox/master
typos, pointing to wrong url
2017-12-28 20:36:19 +01:00
ineyy 52eaf989b7 typos, pointing to wrong url 2017-12-19 22:41:11 +01:00
filipnyquist bdfeee4a9d
Merge pull request #42 from BelfordZ/feature/auto-complete
fix(search) Update getAutoComplete
2017-10-31 12:00:08 +01:00
BelfordZ d285e4e485 fix(search) Update getAutoComplete 2017-10-19 20:33:07 -07:00
filipnyquist f5a28d0c16 Merge pull request #41 from lbryio/filipnyquist-patch-2
Update package.json
2017-10-16 22:49:15 +02:00
filipnyquist 987c4d9f81 Update package.json 2017-10-16 22:48:51 +02:00
filipnyquist 92398ffaf1 Merge pull request #40 from lbryio/readme-patch-1
Updated documentation with more information!
2017-10-16 22:28:34 +02:00
filipnyquist 7b53c3a068 Updated documentation with more information!
Updated README.md with instructions on how to run and some license fixes!
2017-10-16 22:26:13 +02:00
filipnyquist 3351b76775 Merge pull request #39 from BelfordZ/feature/eslint-fix
feat(eslint) Add fix option to npm run commands
2017-10-13 07:04:38 +02:00
BelfordZ eb5c3acf7c fix(eslint) Run lint-fix 2017-10-12 20:56:21 -07:00
BelfordZ ea000dcfc8 feat(eslint) Add fix option to npm run commands 2017-10-12 20:54:07 -07:00
filipnyquist 7096c95371 Merge pull request #37 from lbryio/filipnyquist-patch-2
Update README.md
2017-10-12 19:50:54 +02:00
filipnyquist 8e602fabdc Update README.md 2017-10-12 19:50:15 +02:00
Jeremy Kauffman cee32ba449 Update README.md 2017-10-10 08:42:42 -04:00
filipnyquist 424aa0f401 Merge pull request #28 from lbryio/filipnyquist-redir
Changed so root path will redir to github.
2017-10-03 22:42:36 +02:00
filipnyquist 9c7cf63d13 Changed so root path will redir to github.
Changed so root path will redir to github project.
2017-10-03 22:41:53 +02:00
Fillerino c756b900e1 Final documentation change for today. 2017-09-28 22:36:36 +02:00
Fillerino 55037a2cd6 Updated example. 2017-09-28 22:34:04 +02:00
Fillerino 537589e0f6 Updated documentation.
Updated the documentation.
2017-09-28 22:32:18 +02:00
Alex Grintsvayg 8967dc213f removed ansible config. its now in main ansible repo 2017-09-28 14:53:18 -04:00
filipnyquist 829930ea1e Merge pull request #25 from filipnyquist/master
This closes #21, closes #22, closes #23 and moves the api to the base path.
Created the first status API which gives some useful information and does also set the standard port to 5005 unless specified.
2017-09-26 20:35:12 +02:00
Fillerino 27749a76d0 Updated port
Lets not roll with 80....
2017-09-26 20:30:29 +02:00
Fillerino d2bc8f2220 Bugfixes...
Fixed status bug and lbrycrdd rpc client not working properly which forced syncing to stop.
2017-09-26 20:27:44 +02:00
Fillerino 4b05a76e28 Added basic status API.
Added a basic status API, will be upgraded later on.
2017-09-26 19:39:03 +02:00
Fillerino b55d9b5619 Forgot to add os as import. 2017-09-26 19:09:23 +02:00
Fillerino 58ca2ebc23 Added so lighthouse gets the connection details from ~ config.
Added so lighthouse get the configuration for lbrycrdd from the ~/.lbrycrd/lbrycrd.conf file.
2017-09-26 19:08:42 +02:00
Fillerino c026893c32 Lets stick to base-path for API.
Removed /api/lighthouse from path, updated API doc.
2017-09-26 18:40:33 +02:00
Fillerino fd7f751523 Fixed creation of claimTrieCache.json.
Fixes #22
2017-09-26 18:11:40 +02:00