inveniosoftware / invenio-records-rest

Invenio records REST API module.
https://invenio-records-rest.readthedocs.io
MIT License
4 stars 62 forks source link

Add an index flush parameter #303

Open jma opened 4 years ago

jma commented 4 years ago

I would be nice to have a parameter to have the record indexed after a POST, PUT and DELETE (elasticsearch flush index). This is very useful for a single app application.

ntarocco commented 3 years ago

This is indeed very useful for SPA. Right now the only way is to add delays in the JavaScript app. To be considered for invenio-records-resources.