Class FileForSearching
- Namespace
- SunamoTextIndexing.Data
- Assembly
- SunamoTextIndexing.dll
Represents a file loaded for text searching with lowercase indexing support.
public class FileForSearching
- Inheritance
-
FileForSearching
- Inherited Members
- Extension Methods
Constructors
FileForSearching(string)
Represents a file loaded for text searching with lowercase indexing support.
public FileForSearching(string path)
Parameters
pathstringFull path to the file to be loaded for searching.
Properties
FoundLines
Line numbers where search matches were found.
public List<int> FoundLines { get; set; }
Property Value
IsSurelyNo
Indicates whether this file is certainly not a match for the current search.
public bool IsSurelyNo { get; set; }
Property Value
Lines
All original lines from the file.
public List<string> Lines { get; set; }
Property Value
LowercaseLines
All lines from the file converted to lowercase for case-insensitive searching.
public List<string> LowercaseLines { get; set; }
Property Value
Methods
Init()
Reads the file from disk and initializes both original and lowercase line collections.
public Task Init()