"john cleese" search term does not return @JohnCleese channel #45

Closed
opened 2017-12-22 00:32:41 +01:00 by tzarebczan · 3 comments
tzarebczan commented 2017-12-22 00:32:41 +01:00 (Migrated from github.com)

Looks like search has issues with multi term queries

Looks like search has issues with multi term queries
tiger5226 commented 2018-03-06 05:24:32 +01:00 (Migrated from github.com)

Hi Tom,

I was looking into the search behavior for ChainQuery and saw this and since I did the research I wanted to answer this one.

This is actually expected behavior. When a phrase is searched like "John Cleese" this gets interpreted as a query for "(John) or (Cleese)". This means it is looking for the whole word "John" or the whole word "Cleese". If you want to search for words starting with "John" then you should enter "John*" as the search. This performs a search for terms prefixed with "John". Since the channel name is "JohnCleese" the whole word doesn't match either.

Now you could get more fancy and search for "John* AND *Cleese", this would look for terms prefixed with "John" and suffixed with "Cleese"

The bigger problem here is that lighthouse is not able to search titles or descriptions. It appears that it is only looking at the name field of a claim when searching ( which is what I was looking into ).

Hi Tom, I was looking into the search behavior for ChainQuery and saw this and since I did the research I wanted to answer this one. This is actually expected behavior. When a phrase is searched like "John Cleese" this gets interpreted as a query for "(John) or (Cleese)". This means it is looking for the whole word "John" or the whole word "Cleese". If you want to search for words starting with "John" then you should enter "John*" as the search. This performs a search for terms prefixed with "John". Since the channel name is "JohnCleese" the whole word doesn't match either. Now you could get more fancy and search for "John* AND *Cleese", this would look for terms prefixed with "John" and suffixed with "Cleese" The bigger problem here is that lighthouse is not able to search titles or descriptions. It appears that it is only looking at the name field of a claim when searching ( which is what I was looking into ).
tiger5226 commented 2018-03-10 03:04:08 +01:00 (Migrated from github.com)

@tzarebczan This should be resolved now with the recent deployment to production of lighthouse. "john cleese" now returns nothing but john cleese videos. Can this be closed now?

@tzarebczan This should be resolved now with the recent deployment to production of lighthouse. "john cleese" now returns nothing but john cleese videos. Can this be closed now?
filipnyquist commented 2018-03-10 07:00:38 +01:00 (Migrated from github.com)

Yes, i recall this bug is fixed by the latest update!

Yes, i recall this bug is fixed by the latest update!
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#45
No description provided.