nomidi/silverstripe-searchhero

Simple search extension via DataObjects in Silverstripe

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

0.0.1 2022-10-12 12:11 UTC

This package is auto-updated.

Last update: 2024-04-05 10:35:15 UTC


README

Simple search extension via DataObjects in Silverstripe

Installation

Before dev/build: app/_config/searchhero.yml

!!!You need an Link function on your own DataObjects!!!

To reset the search index (task) list all classes kw\searchhero\CreateSearchIndex: Classes: - my\data\MyClass

extend your classes:

my\data\MyClass: extensions: - kw\searchhero\SearchHeroExtension searchHero: OutputTitle: My_Title_Issue_in_search Fields: - Searchable_field_1 - Searchable_field_2

Call task to re-index all data: dev/tasks/CreateSearchIndex