multi-word searches do not find channel/claim names #148

Closed
opened 2019-02-26 22:43:21 +01:00 by tiger5226 · 2 comments
tiger5226 commented 2019-02-26 22:43:21 +01:00 (Migrated from github.com)

For example searching jordan peterson does not find his channel when doing a channel search. However, searching jordan or peterson does.

Another example is sword and scale. Both sword and scale work fine but together it does not.

For example searching `jordan peterson` does not find his channel when doing a channel search. However, searching `jordan` or `peterson` does. Another example is `sword and scale`. Both `sword` and `scale` work fine but together it does not.
tiger5226 commented 2019-02-26 22:43:40 +01:00 (Migrated from github.com)

@kauffj @tzarebczan both identified this problem.

@kauffj @tzarebczan both identified this problem.
tiger5226 commented 2019-03-01 03:58:29 +01:00 (Migrated from github.com)

I was able to solve this by parsing the query into individual terms and adding sub queries for each term with a contains. I added this for claim name, author, title, and description.

I was able to solve this by parsing the query into individual terms and adding sub queries for each term with a contains. I added this for claim name, author, title, and description.
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#148
No description provided.