Keyoti SearchUnit API Docs
UseFileSizeToIdentifyChange Property
API DocumentationKeyoti.SearchEngineConfigurationUseFileSizeToIdentifyChange
Keyoti SearchUnit v6
Whether to use the file size of a document to identify if it has been changed or not since it was last indexed (also see IgnoreLastModifiedDate).
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public bool UseFileSizeToIdentifyChange { get; set; }
public bool UseFileSizeToIdentifyChange { get; set; }
Public Property UseFileSizeToIdentifyChange As Boolean
	Get
	Set
Public Property UseFileSizeToIdentifyChange As Boolean
	Get
	Set
public:
property bool UseFileSizeToIdentifyChange {
	bool get ();
	void set (bool value);
}
public:
property bool UseFileSizeToIdentifyChange {
	bool get ();
	void set (bool value);
}
member UseFileSizeToIdentifyChange : bool with get, set
member UseFileSizeToIdentifyChange : bool with get, set
Property Value
Remarks
Ideally the last-modified date of a document would always be used to identify if it has changed (see IgnoreLastModifiedDate property), however web-servers do not always return this information. Further, dynamic pages do not have 'last-modified' dates, since they are dynamic.

The byte size of a document can however be used to identify change with reasonable accuracy. If a document has a different file size, then it has definitely changed. Of course, it is also possible for a document to change, but have the same size (exactly the same number of letters are deleted as added, for example), so this is not 100% accurate.

Despite not having 100% accuracy, it may be desirable to forgo accuracy for performance, by setting this to true.

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120