wilr / silverstripe-algolia

Handles indexing Silverstripe Pages into Algolia and providing results
BSD 3-Clause "New" or "Revised" License
13 stars 16 forks source link

Don't create a draft state when assigning a UUID #42

Closed matt-in-a-hat closed 3 years ago

matt-in-a-hat commented 3 years ago

Otherwise when you first add this, or add a new versioned model to index, it sets all of those models in a modified state.

Also updated the AlgoliaReindex job to respect canIndexInAlgolia and still work if the item isn't yet indexed (instead of failing silently).