Changing, deleting and adding records / delta updates

This interface allows individual or multiple records in the search database to be updated, deleted or added. It should be noted, however, that changes may be lost when a data import is performed via this interface. The product data export provided by your shop system is always used as the basis of the import. Therefore only use this interface temporarily to make a quick correction to a record.

All changes are immediately available in the search. By saving the database the changes made will be written to the hard drive, so that the changes will also be available after a restart. The saving process requires processing power, however, so it should not be carried out for every change call.

REST-Interface

The search application contains the technical documentation for the REST-Interface and can be accessed via https:/[your-ng-server-here]/fact-finder/swagger-ui.html or via this URL:via this URL:

Methods are documented under records. In addition to viewing the parameter documentation, you can also test a query and view the results. The documentation was created with Swagger, so you can use Swagger Codegen to generate a client to use in your code.


important

  • Only send data changes to NG. Do not send updates to values where no change has occurred.

  • Queue updates and send multiple updates in one request. Bulk updates are preferred to multiple smaller updates.

  • Use delta updates (that is: change, delete and add records) to make incremental changes to data held by NG. It is advised that a daily csv import is also provided.



Page Contents