textpattern / textpattern-plugins-website

Textpattern CMS Plugins website.
https://plugins.textpattern.com
GNU General Public License v2.0
7 stars 1 forks source link

Search doesn't seem to be taking excerpts into account #15

Closed philwareham closed 4 years ago

philwareham commented 4 years ago

It looks like search results don't take content of excerpts into account when providing results - @bloke is this something obvious I've overlooked? Always though searches looked at excerpt and body content as a default?

bloatware commented 4 years ago

@philwareham it depends on searchable_article_fields pref that defaults to Title, Body.

philwareham commented 4 years ago

Thanks. Is that a hidden pref? How do I change it?

bloatware commented 4 years ago

Changing it does not suffice, you have to rebuild a fulltext db index. I guess that's why the pref is hidden. IIRC, Robert has a plugin for this (wet_haystack).

philwareham commented 4 years ago

Great! Thanks Oleg. I've run that plugin on the site and then removed it - excerpts are now treated as part of the searchable content.