Exclude blocked content from search results #12
Labels
No labels
area: app c
area: app d
area: devops
area: discovery
area: docs
area: proposal
area: X-device Sync
Chainquery
consider soon
dependencies
Epic
Fix till next release
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
Parked
priority: blocker
priority: high
priority: low
priority: medium
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lighthouse.js#12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
List of blocked outpoints is at api.lbry.io/file/list_blocked
@lyoshenka , what is the output of endpoints?
Its a list of
outpoint
s. An outpoint uniquely identifies a file. Its a combination of txid and nout of the publish for the file. It has the formtxid:nout
. For example, the outpoint for the current winning claim onone
is8e5d6945d238e8508520364d5eae7885b0db15d77d6d5cffee3f860dc13f0b45:0
If possible, I would like lighthouse to return the quantity of blocked URLs (and possibly the list itself).
@filipnyquist / @tiger5226 this has become a high priority item as, do either of you have the bandwidth to work on it?
PR #59 adds this functionality to the sync process. To avoid quadratic logic while syncing, I just at the very end attempt to delete the blocked claims from elastic search which is async and should be very fast.
I won't post the test cases but you should be able to just search the claim name and see that it no longer shows up in the results.
Yup, this is tested and now live on production! Closing this issue!