Business Search - adjust matching on multi-word queries
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
Currently, when more than one word is entered into the search, we only show matches that contain both words.
It is desirable to show results that only match one of the words in the query as well.
Assuming the following businesses are in out index:
1. ORCHARD CITY MALL INC.
2. CITY MALL INC.
3. ORCHARD LAND INC.
GIVEN I am conducting a search
WHEN I enter ORCHARD MALL
THEN I get the following results: 1, 2, 3
GIVEN I am conducting a search
WHEN I enter CITY LIVING
THEN I get the following results: 1, 2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Business Search entry point and the current multi-word matching logic. Use the three businesses and the ORCHARD MALL and CITY LIVING examples as acceptance cases; done means each query returns the listed matching results, including businesses matching only one word.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend-api-design, search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100