Keyoti Search for ASP.NET API Docs
AddDocument Method (document, indexNow, markIndexValid)
API DocumentationKeyoti.SearchEngine.IndexDocumentIndexAddDocument(Document, Boolean, Boolean)
Keyoti Search for ASP.NET 2010
Adds a document to the index
Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("By default AddDocument(Document) is now the same as calling AddDocument(Document, true, true) - use that signature instead.", 
	true)]
public virtual void AddDocument(
	Document document,
	bool indexNow,
	bool markIndexValid
)
<ObsoleteAttribute("By default AddDocument(Document) is now the same as calling AddDocument(Document, true, true) - use that signature instead.",  _
	True)> _
Public Overridable Sub AddDocument ( _
	document As Document, _
	indexNow As Boolean, _
	markIndexValid As Boolean _
)
[ObsoleteAttribute(L"By default AddDocument(Document) is now the same as calling AddDocument(Document, true, true) - use that signature instead.", 
	true)]
public:
virtual void AddDocument(
	Document^ document, 
	bool indexNow, 
	bool markIndexValid
)
Parameters
document (Document)
The document to add
indexNow (Boolean)
Whether to index the document immediately so that it can be searched. Incurs performance penalty.
markIndexValid (Boolean)
Whether indexing the document should leave the index searchable or not.

Assembly: Keyoti2.SearchEngine.Core (Module: Keyoti2.SearchEngine.Core) Version: 2010.4.1.609