Weight search results by effective_amount #32
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#32
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?
Prompted by the fact that if I search "disaster", "It's A Disaster" is currently the third result.
This is a nice improvement. We currently don't have access to
effective_amount
in the elastic document. However, as part of ChainQuery we can ensure this information is sent from there so it can be included in the elastic document to be used as a weight on the search score.Once #71 is closed out we can modify the elastic search query to give weight to the effective amount since it will now be coming from chainquery.
solved with https://github.com/lbryio/lighthouse/pull/81#event-1692597622
Closed, see comment above
reopening because while this is fixed in the leading branch it has not been deployed yet.
A quick update on this one. It was merged in but had to be rolled back. The function which used the effective amount as a factor of the score threw exceptions for certain documents which did not contain a number in the effective amount field. This should not have been the case. I could not reproduce this locally either. So maybe we need to plan a rebuild of the elastic search db in production. see docs here https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html
@tiger5226 Is this still an outstanding issue? Will Sean's recent changes to search impact this?
yeah, it is but we need to come up with an alternative solution or fix the production elastic search instance.
@kauffj how important is this? Do we want to rebuild the production db? It takes about an hour to do it. So search would be down for an hour.
@nikooo777 Could we do this on another machine and replace it as lighthouse.lbry.io once complete so search does not go down?
absolutely
Get a server and I can set it up!
Den 21 aug. 2018 11:36 skrev "Niko" notifications@github.com:
@nikooo777 https://github.com/nikooo777 Could we do this on another
machine and replace it as lighthouse.lbry.io once complete so search does
not go down?
absolutely
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lighthouse/issues/32#issuecomment-414614244,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKO8QuQ-eg3KTg7VDkKvbOLbv7JI1KpIks5uS9SvgaJpZM4P1fNJ
.
It looks like you guys already figured out the approach on how to do this that I would have recommended.
It's unclear how much value this will have, but I think it's a smart change. It did make me realize we should figure out ways to ascertain how search is performing and I will file a ticket related to that.
This change has been deployed to the main lighthouse instance.