SearchConfiguration.SearchOnePhase Property

Top  Previous  Next

Flag indicating if the search should be carried out in a single phase rather than the default two phase approach.

 

[Visual Basic]

 

Public Property SearchOnePhase As Boolean

 

 

Property Value

 

True if the search should be carried out in a single phase rather than the default two phase approach, otherwise False indicates that the default two phase approach is used.

 

Remarks

 

By default the search engine works in a two phase process. The first phase grabs a list of files that match the file name criteria. The second phase searches the contents of the files found in the first phase. If many files are found in the first phase the search engine may use a significant amount of memory resources maintaining the list of files. Therefore a one phase approach may be useful to search the contents of the file as soon as the file name is matched, avoiding the maintenance of an internal file list. The only drawback to searching in one phase is that the progress returned in OnProgress contains running totals of the total file size rather than an accurate number.

 

 


Copyright © 2003-2013 Mythicsoft Ltd. All rights reserved.
SDK help file version: 7.0.2