You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this really cool plugin! I have some questions or feature requests though:
I was looking into the after save events and recognized that there is no check against the index criteria. So in theory it would be possible that an unwanted entry could appear in a collection.
For example if I defined my index criteria to include a check if a Lightswitch Field 'includeInSearch' was true that wouldn't be checked in the after save event, wouldn't it? So eventually if I unchecked this field in an entry and saved it, that entry would still be sent to the index.
Also it seems to me that an entry which could match the criteria for more than one collection would only be updated in one collection automatically. For such cases it would actually be necessary to check against all collections and update the entry in all matching collections.
Besides that I think it would be nice to have another console command to check for expired events like the scheduled posts command. Right now expired entries don't get deleted automatically because Craft doesn't fire an event for that. So it's necessary to have the sync commands run as cron jobs to ensure that expired entries get deleted.
Also, I was having issues because I didn't stick to the naming schema for the 'section' attribute. I didn't recognize until today that it was more or less mandatory to name it like 'section.type'. It would be nice to have this mentioned in the Readme or docs.
The text was updated successfully, but these errors were encountered:
Thanks for this really cool plugin! I have some questions or feature requests though:
I was looking into the after save events and recognized that there is no check against the index criteria. So in theory it would be possible that an unwanted entry could appear in a collection.
For example if I defined my index criteria to include a check if a Lightswitch Field 'includeInSearch' was true that wouldn't be checked in the after save event, wouldn't it? So eventually if I unchecked this field in an entry and saved it, that entry would still be sent to the index.
Also it seems to me that an entry which could match the criteria for more than one collection would only be updated in one collection automatically. For such cases it would actually be necessary to check against all collections and update the entry in all matching collections.
Besides that I think it would be nice to have another console command to check for expired events like the scheduled posts command. Right now expired entries don't get deleted automatically because Craft doesn't fire an event for that. So it's necessary to have the sync commands run as cron jobs to ensure that expired entries get deleted.
Also, I was having issues because I didn't stick to the naming schema for the 'section' attribute. I didn't recognize until today that it was more or less mandatory to name it like 'section.type'. It would be nice to have this mentioned in the Readme or docs.
The text was updated successfully, but these errors were encountered: