Table of Contents

Interface IIndexWriter

Namespace
Dynamicweb.Indexing
Assembly
Dynamicweb.Indexing.dll
Defines IndexWriter behaviour and data
public interface IIndexWriter

Methods

AddDocument(IndexDocument)

Defines Add document method contract
void AddDocument(IndexDocument document)

Parameters

document IndexDocument
Index document instance

AddOrUpdateDocument(IndexDocument, string, string)

Defines Add or update document method contract
void AddOrUpdateDocument(IndexDocument document, string keyFieldName, string keyFieldValue)

Parameters

document IndexDocument
Index document instance
keyFieldName string
Key field name
keyFieldValue string
Key field value

Close()

Defines close method contract
void Close()

Open(bool)

Defines open method contract
void Open(bool openForAppend)

Parameters

openForAppend bool
To top