Skip to content

Automatically update a collection's search index when an entry is saved

Notifications You must be signed in to change notification settings

LionsMouthDigital/Statamic-Collection_Search_Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Statamic-Collection_Search_Updater

Automatically update a collection's search index when an entry is saved

NOTE:

  • Must select the collection(s) in addon settings
  • v1.1 now accepts more than one collection!
  • and you must make sure the collection is set up for indexing per the Statamic Docs
  • This only matters if you're using the collection parameter on the search results tag
    {{ search:results collection="foo" }}
        ...
    {{ /search:results }}

Otherwise, collections are part of the default index and is updated automatically if Search auto-index is enabled in your settings.

About

Automatically update a collection's search index when an entry is saved

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages