You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varoptions=newIndexingOptions{// Location (choose one)DriveLetters=['C','D'],// Windows: drive lettersSpecificDirectories=[@"C:\Projects",@"D:\Documents"],// Windows: specific dirsMountPoints=["/home","/opt"],// Linux/macOS: mount points// FilteringExcludedPaths=["node_modules",".git","bin","obj"],ExcludedExtensions=[".tmp",".cache",".log"],IncludeHidden=false,// Linux/macOS: dotfiles, Windows: Hidden attributeIncludeSystem=false,// Windows only (no effect on Linux/macOS)// PerformanceCollectFileSize=false,// false = max indexing speedMaxFileSize=100*1024*1024,ParallelThreads=Environment.ProcessorCount,BatchSize=1000};
// Recent large filesvarresults=awaitengine.SearchAsync(newSearchQuery{BasePath=@"D:\Downloads",MinSize=100*1024*1024,// > 100MBMinModifiedDate=DateTime.Now.AddDays(-7),IncludeSubdirectories=true});
Streaming vs Batch Collection
// Streaming (memory efficient)awaitforeach(varfileinresults.Files){awaitProcessFileAsync(file);}// Batch (when you need all results)varallFiles=newList<FastFileItem>();awaitforeach(varfileinresults.Files){allFiles.Add(file);}
Linux/macOS-Specific
// Find nginx config filesvarresults=awaitengine.SearchAsync(newSearchQuery{BasePath="/etc",SearchText="nginx",ExtensionFilter=".conf",IncludeSubdirectories=true});// Find large log filesvarresults=awaitengine.SearchAsync(newSearchQuery{BasePath="/var/log",MinSize=100*1024*1024,ExtensionFilter=".log",IncludeSubdirectories=true});