Method | Description | |
---|---|---|
AbortIndex ( ) : void | ||
Close ( ) : void |
Closes the searcher object
|
|
CreateIndex ( ) : void | ||
Indexer ( string path ) : System |
Initializes a new instance of the Indexer class.
|
|
LoadAndDecodeBlock ( long begin, long end ) : string |
Loads a block from the file, decompresses it and decodes to string
|
|
Search ( string queryString, IEnumerable |
Searches for the specified term in the index.
|
Method | Description | |
---|---|---|
OnProgressChanged ( |
Method | Description | |
---|---|---|
BzipBlockLocatorProgressMonitor ( ) : void |
watch the bzip2 block locator and report progress
|
|
CreateIndexAsync ( ) : void |
Creates the index for the bz2 file on a separate thread.
|
|
GuessAnalyzer ( string filePath, bool &isRTL ) : |
||
IndexString ( string currentText, long beginning, long end, int charCarryOver, bool lastBlock ) : int |
Indexes the provided string
|
|
LoadBlock ( long beginning, long end, byte &buf ) : long |
Loads the bzip2 block from the file
|
|
LocateBlocks ( ) : void |
Locates the bzip2 blocks in the file
|
|
ReportProgress ( int percentage, |
||
Search ( object state ) : void |
The searches are always executed on the thread pools
|
|
TokenizeAndAdd ( object state ) : void |
Tokenizes and adds the specified PageInfo object to Lucene index
|
public Indexer ( string path ) : System | ||
path | string | The path to the .xml.bz2 dump of wikipedia |
return | System |
public LoadAndDecodeBlock ( long begin, long end ) : string | ||
begin | long | The list of block beginnings |
end | long | The list of block ends |
return | string |
protected OnProgressChanged ( |
||
e | ||
return | void |
public static Search ( string queryString, IEnumerable |
||
queryString | string | |
indexers | IEnumerable |
|
maxResults | int | |
return |