If match is found on document title, boost result.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T7827: Boost Elasticsearch results if match is found on title instead of body.
- Commits
- Restricted Diffusion Commit
rP3a17220ce3da: T7827: Boost Elasticsearch results on title match.
- Setup phabricator with elasticsearch.
- Index documents with bin/search index --all
- Use search and expect query matching titles appear on the top of results list.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- T7827_elastic_title_boost
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5333 Build 5351: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
Comment Actions
@WikiChad, do you have thoughts on this? It seems reasonable to me, but I'm not familiar enough with ElasticSearch to be able to catch any gotchas.
Comment Actions
This should work fine. boolean "should" queries do basically exactly what you'd expect.