C# Класс Lucene.Net.LukeNet.Plugins.LukePlugin

LukePlugin is a superclass of any plugin that wants to be loaded automatically, and to work with the current index. abial
Наследование: System.Windows.Forms.UserControl
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
dir Lucene.Net.Store.Directory
ir Lucene.Net.Index.IndexReader
myUi System.Windows.Forms.Control

Открытые методы

Метод Описание
GetDirectory ( ) : Lucene.Net.Store.Directory
GetIndexReader ( ) : IndexReader

Returns a reference to the IndexReader currently open in the application.

GetPluginHome ( ) : String

Return URL to plugin home page or author's e-mail. NOTE: this MUST be a fully qualified URL, i.e. including the protocol part.

GetPluginInfo ( ) : String

Return short one-line info about the plugin.

GetPluginName ( ) : String

Returns a plugin name. NOTE: this should be a short (preferably one word) String, because it's length affects the amount of available screen space.

Init ( ) : bool

Initialize this component. Parent view, this view, directory and index reader should already be initialized. This method will be called repeatedly, whenever new index is loaded into Luke.

SetDirectory ( Lucene.Net.Store.Directory dir ) : void
SetIndexReader ( IndexReader ir ) : void

Set a reference to the IndexReader currently open in the application.

Описание методов

GetDirectory() публичный Метод

public GetDirectory ( ) : Lucene.Net.Store.Directory
Результат Lucene.Net.Store.Directory

GetIndexReader() публичный Метод

Returns a reference to the IndexReader currently open in the application.
public GetIndexReader ( ) : IndexReader
Результат Lucene.Net.Index.IndexReader

GetPluginHome() публичный Метод

Return URL to plugin home page or author's e-mail. NOTE: this MUST be a fully qualified URL, i.e. including the protocol part.
public GetPluginHome ( ) : String
Результат String

GetPluginInfo() публичный Метод

Return short one-line info about the plugin.
public GetPluginInfo ( ) : String
Результат String

GetPluginName() публичный Метод

Returns a plugin name. NOTE: this should be a short (preferably one word) String, because it's length affects the amount of available screen space.
public GetPluginName ( ) : String
Результат String

Init() публичный Метод

Initialize this component. Parent view, this view, directory and index reader should already be initialized. This method will be called repeatedly, whenever new index is loaded into Luke.
public Init ( ) : bool
Результат bool

SetDirectory() публичный Метод

public SetDirectory ( Lucene.Net.Store.Directory dir ) : void
dir Lucene.Net.Store.Directory
Результат void

SetIndexReader() публичный Метод

Set a reference to the IndexReader currently open in the application.
public SetIndexReader ( IndexReader ir ) : void
ir Lucene.Net.Index.IndexReader IndexReader for the current index
Результат void

Описание свойств

dir защищенное свойство

protected Directory,Lucene.Net.Store dir
Результат Lucene.Net.Store.Directory

ir защищенное свойство

protected IndexReader,Lucene.Net.Index ir
Результат Lucene.Net.Index.IndexReader

myUi защищенное свойство

protected Control,System.Windows.Forms myUi
Результат System.Windows.Forms.Control