IFulltextSessionSave(Object) Method

Save the given document when FlushChanges is called.

Definition

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
void Save(
	Object document
)

Parameters

document  Object
The document to save.

Exceptions

ArgumentNullExceptionOccurs when document is null.
InvalidOperationExceptionOccurs in case the document does not have a valid id and no DocumentIdGenerator is configured.
ObjectDisposedExceptionOccurs when the session has already been disposed.

See Also