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
document
IndexDocumentIndex document instance
AddOrUpdateDocument(IndexDocument, string, string)
Defines Add or update document method contract
void AddOrUpdateDocument(IndexDocument document, string keyFieldName, string keyFieldValue)
Parameters
document
IndexDocumentIndex document instance
keyFieldName
stringKey field name
keyFieldValue
stringKey field value
Close()
Defines close method contract
void Close()
Open(bool)
Defines open method contract
void Open(bool openForAppend)
Parameters
openForAppend
bool