Skip to main content

Module fts

Module fts 

Source
Expand description

FTS index/delete sync messages (client → server / server → client).

FtsIndexMsg carries one document’s text content from a Lite client to Origin for full-text indexing. FtsDeleteMsg removes a document from Origin’s inverted index.

Wire opcodes:

  • 0xA6FtsIndex (Lite → Origin)
  • 0xA7FtsIndexAck (Origin → Lite)
  • 0xA8FtsDelete (Lite → Origin)
  • 0xA9FtsDeleteAck (Origin → Lite)

Structs§

FtsDeleteAckMsg
FTS delete acknowledgment (Origin → Lite, 0xA9).
FtsDeleteMsg
FTS delete request (Lite → Origin, 0xA8).
FtsIndexAckMsg
FTS index acknowledgment (Origin → Lite, 0xA7).
FtsIndexMsg
FTS index request (Lite → Origin, 0xA6).