简体   繁体   中英

Using algolia (php website) - Looking for the best update/delete method?

I have looked into how I could specify objectID when initially indexing objects, but this doesn't seem possible. As the system has no knowledge of Algolia auto-generated objectID's - what is the best way to deal with update/delete actions?

It is possible to specify your ObjectID .

Quoting from the docs :

Every object is uniquely identified by an objectID. If you don't provide one, Algolia will generate one automatically. However, it will be easier to remove or update records if you have stored a unique identifier in the objectID attribute.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM