Strategy 1: The full scan approach
The easiest strategy is to define a single function, which every time it is called, triggers a full scan on the data source, and pushes all documents found in the data source to the index.
Strategy 1: The full scan approachThe easiest strategy is to define a single function, which every time it is called, triggers a full scan on the data source, and pushes all documents found in the data source to the index. Strategy 2: The differential approachAn improvement to the first strategy is to only push the differences between the contents of the data source and the index. These differences can be described using four categories, as shown in the schema below. |