Interface IIndexWriter
- Namespace
- Dynamicweb.Indexing
- Assembly
- Dynamicweb.Core.dll
Defines IndexWriter behaviour and data
public interface IIndexWriter
Methods
AddDocument(IndexDocument)
Defines Add document method contract
void AddDocument(IndexDocument document)
Parameters
documentIndexDocumentIndex document instance
AddOrUpdateDocument(IndexDocument, string, string)
Defines Add or update document method contract
void AddOrUpdateDocument(IndexDocument document, string keyFieldName, string keyFieldValue)
Parameters
documentIndexDocumentIndex document instance
keyFieldNamestringKey field name
keyFieldValuestringKey field value
Close()
Defines close method contract
void Close()
Open(bool)
Defines open method contract
void Open(bool openForAppend)
Parameters
openForAppendbool