IFulltext SessionSave(Object) Method
Save the given document when FlushChanges is called.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
void Save(
Object document
)VB
Sub Save (
document As Object
)Parameters
- document Object
- The document to save.
Exceptions
| ArgumentNullException | Occurs when document is null. |
| InvalidOperationException | Occurs in case the document does not have a valid id and no DocumentIdGenerator is configured. |
| ObjectDisposedException | Occurs when the session has already been disposed. |