Topic #3342 (no title)

Image

(Click to enlarge)

#2419 - Catalogue entry results are doubled.

This is a spacer post for a website comment topic. The content this topic relates to: #2419 - Catalogue entry results are doubled.
I notice 'search-meta-only=0' in the url, but how is that enabled from the search page> There is an option to search titles only, but not meta only.
Unfortunately we can't fix this without enormous effort.

It is because of multiple criteria hitting a result (probably here a meta keyword hit combined with a textual hit). We can de-dupe the displayed results to some extent, but to de-dupe counted results would requiring loading up everything across all paginations (not just the tallies the DB gives us), and then doing a full scan.

I'm sure we could improve it, like give accuracy on smaller sets. But the search code is already incredibly complex, so it's something I'd avoid.

Honestly a better long-term solution is if we moved away from MySQL search, to a textual indexing system. There's a tracker issue for that somewhere. These systems pre-index content based on how it's displayed, rather than aggregating criteria in real-time, so don't have the same limitations.

Regarding "only_search_meta" (I fixed your spelling of it ;-) ), that's something our engine supports but I don't think is in the default UI.
0 guests and 0 members have recently viewed this.