Searching FreeKeene/freekeene/free keene does not return correct result #68
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#68
Loading…
Add table
Add a link
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?
I would expect lbry://@FreeKeene in the results
I checked the API
https://lighthouse.lbry.io/search?s=@freekeene
No dice! So I went to lbrycrd since this is where lighthouse gets claims from.
I checked lbrycrd with following query:
Below is the result of the query
The wierd thing is I do have it in chainquery
https://chainquery.lbry.io/api/SQL?query=SELECT%20*%20FROM%20chainquery.claim%20WHERE%20name%20=%20%22@freekeene%22
with the following result:
So now that I have the claimid I put this query into lbrycrd
I get a result...
So I think this might be an example of case sensitivity. Not sure why it is showing up yet in search.
It seems since 2018-05-04 01:33:24 nothing is syncing with elastic search. I can't find 1 channel after that time that appears in the search results. The sync loop of lighthouse had stopped. I restarted the service and all the queries are now successful.
https://lighthouse.lbry.io/search?s=free%20keene
After reviewing the logs in detail:
It appears that the sync hasn't run since the last deployment. After the issues with elasticsearch node, the sync loop failed because elastic search was not started yet. The Search API worked when tested though because between the service restarts lighthouse connected to the elastic search node. However, since the sync process is just a loop, if it is interrupted like it was it will never restart until the service is restarted.