CodesAway / CodesAway/CASTLESearching

Match preference should be given to whole word over individual parts

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

For example, if searching for DiffBlock, preference should be given to the word DiffBlock versus words that contain only Diff or Block.

This should work both when search terms use the operator "and" as well as "or"

Currently, it seems that since the search is breaking these up, the individual parts are checked, versus checking the whole.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Java search-term parsing and matching entry points, especially where terms are split into parts. Reproduce the DiffBlock case with both the "and" and "or" operators; done means whole-word matches receive preference over matches containing only Diff or Block.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.