using ^n on a field is only valid syntax for lycene. This caused the … #53

Merged
tiger5226 merged 2 commits from search_updates into master 2018-03-14 16:56:32 +01:00
tiger5226 commented 2018-03-14 02:39:15 +01:00 (Migrated from github.com)

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.

I also ran lint to fix the file I was working on.

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. I also ran lint to fix the file I was working on.
BelfordZ (Migrated from github.com) reviewed 2018-03-14 02:39:15 +01:00
filipnyquist (Migrated from github.com) reviewed 2018-03-14 02:39:15 +01:00
filipnyquist commented 2018-03-14 16:56:03 +01:00 (Migrated from github.com)

Looks like a great bugfix, tried on dev instance without any problems. Merging and deploying this in half an hour from now!

Looks like a great bugfix, tried on dev instance without any problems. Merging and deploying this in half an hour from now!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lighthouse.js#53
No description provided.