-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-word exact matches at the start of a title aren't always first in the list of search results #466
Comments
the current query seems to be giving high scores to matches in the |
The 'correct' result for this query can be retrieved in first position by adding a span_first query: {
"query": {
"bool": {
"should": [
{
"span_first": {
"match": {
"span_term": {
"data.title.shingles": "information law"
}
},
"end":1,
"boost":1000
}
},
{
"multi_match": {
... |
I'd like to investigate the effect of
that requires:
|
Issue first reported on Slack at https://wellcome.slack.com/archives/C8X9YKM5X/p1653293886888919 |
The text was updated successfully, but these errors were encountered: