3.2.4.1.3 Sending a CPMUpdateDocumentsIn Request

Typically, the higher layer asks to send this message when it needs to either update documents in an existing path or add a new file path to the inverted index. Thus the higher layer is to provide the path and type of a scan, as specified in section 2.2.3.4, where an incremental or full update is meant for existing paths and new initialization is meant for new paths.

To serve the higher-layer request, the client MUST do the following:

  1. Send a CPMUpdateDocumentsIn message to the server.

  2. Wait to receive a CPMUpdateDocumentsIn message back from the server, silently discarding all other messages.

  3. Report back the value of the _status field of the response to the higher layer.