Skip to content

feature/7786-improve-search-precision - #287

Merged
utas-raymondng merged 2 commits into
mainfrom
feature/7786-improve-search-precision
Jun 23, 2026
Merged

utas-raymondng merged 2 commits into
mainfrom
feature/7786-improve-search-precision

Conversation

@shaunahu

@shaunahu shaunahu commented Jun 23, 2026 •

Copy link
Copy Markdown
Contributor

Change links.title and summaries.credits free-text clauses from match to match_phrase.

These fields previously used match, which defaults to OR operator. For long search text such as:
imos - satellite remote sensing - sst - l3s - multi sensor - 1 month - night time - australia

a record could score if links.title or summaries.credits contained any individual term. This produced many irrelevant results, including more than 5000 matches in the example above.
image

With match_phrase, these fields now only contribute when the terms appear as the same phrase, in order. This makes long-title searches more precise while leaving the other search fields unchanged.
image

@shaunahu
shaunahu marked this pull request as ready for review June 23, 2026 06:03
@shaunahu
shaunahu requested a review from utas-raymondng June 23, 2026 06:03

@utas-raymondng utas-raymondng left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@utas-raymondng
utas-raymondng merged commit 189eda7 into main Jun 23, 2026
4 checks passed
@utas-raymondng
utas-raymondng deleted the feature/7786-improve-search-precision branch June 23, 2026 06:11

This branch was previously deployed

1 inactive deployment
test — 0751936f Deployed Jun 23, 2026 by shaunahu via build_test #695
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants