opensafely-core / opensafely-core/opencodelists

multiple word search

Open
#623 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
60
Forks
16
Avg merge
4d 12h
Merged PRs (30d)
17

Description

When I search for concepts using multiple words I am getting fewer results when using a simpler search.
Example (using Read V3):
"fracture spine" returns 4 concepts
"fracture of spine" returns 292 concepts

I'm not sure if this is intentional (if it is this would fit issue #359 ), but normally I would expect the first search to turn up all the results of the second search.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the two searches in Read V3: "fracture spine" and "fracture of spine", and compare their result counts. First determine whether the difference is intentional or related to issue #359; done means the search behavior matches the agreed expectation for multi-word queries.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.