I have a website I am working on that has a TON of content. The client has noticed that when searching for titles in the site search, it seems to prioritize the body content over the title.
So I changed the search index for titles to be fulltext with a boost of 13. With the rendered output set to a boost of 1. Then I reindexed and that didn’t fix it. I did a full rebuild of tracking information. Same problem.
I found this article: https://medium.com/@easternstandard/how-to-configure-drupal-8-text-search-to-return-better-more-intuitive-search-results-fe0a78136ad7
And followed the instructions there (pretty much what I had already done) and reindexed. Same issue.
An example of this is that we have an article about the response to covid where the phrase “response to covid” is part of the title. When I search for that phrase I do not see it in any of the first-page search results. It is set to show 20 items. In fact, the article in question doesn’t come up until result number 39. None of the prior articles seem to have covid in the title at all. Even searching with quotations makes no difference.
This is currently using the database search/index. I am tempted to implement Solr. But that is a whole-nother ball of wax and I am on a deadline right now.
We are running Drupal 8.9.9 and the Search API 8.x-1.18.
What can I do differently to make it value the title over the rendered content?