- Issue created by @Akhil Babu
- ๐ฉ๐ชGermany mkalkbrenner ๐ฉ๐ช
I agree that the result isn't expected. But I don't consider it to be a bug, but an edge case.
You could implement an event subscriber and add a condition on the term name based on the query. That will add a filter query "fq" which eliminates the false positives.
Or index the content twice in another Search API Index to only contain the term names. That will automatically lead to a different filter query.
In general, a lot of boosts, spellcheck, suggestions, term queries and statistics are per core or collection in Solr. So if you're not limited, it it always advisable to create multiple cores or collections for your different use-cases.
So I would only use tag based boosting if you search rendered content instead of a specific field.
- Status changed to Closed: works as designed
7 months ago 1:06pm 19 September 2024