TransWikia.com

Uncheck "Use this field’s values as search keywords?" by default?

Craft CMS Asked by Tony DeStefano on September 4, 2021

Is there a way to have the “Use this field’s values as search keywords?” option unchecked by default when creating a new field? Our searchindex table is getting bloated by data that doesn’t need to be in there. I’m clearing it out now, but it would be really cool to have that checkbox be unchecked unless someone specifically wants it to be a keyword for search.

Thanks.

2 Answers

As of Craft 3.5, that setting will be disabled by default when creating new fields (see craftcms/cms#6390).

Correct answer by Brandon Kelly on September 4, 2021

Not natively, but you couple probably hack something together using some JS and the CPJS plugin.

Answered by Brad Bell on September 4, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP