메소드 | 설명 | |
---|---|---|
CreateDocument ( [ info ) : Lucene.Net.Documents.Document | ||
CreateIndexWriter ( ) : |
Получение класса для построения индекса, оптимизированного под обработку больших объёмов данных
|
|
ProcessResponseMessages ( IEnumerable |
Построение поискового индекса по полученным в результате синхронизации сообщениям
|
|
SearchMessagesByLucene ( IServiceProvider provider, int forumId, string searchText, bool searchInText, bool searchInSubject, bool searchAuthor, bool searchInMarked, bool searchInMyMessages, bool searchAnyWords, bool searchInQuestions, System.DateTime from, System.DateTime to ) : List |
Поиск и выборка данных с использованием Lucene
|
메소드 | 설명 | |
---|---|---|
CreateDocument ( string mid, string gid, string dte, string subject, string uid, string usernick, string message ) : Lucene.Net.Documents.Document |
Создание документа в формате Lucene для последующей индексации
|
|
FormatDate ( System.DateTime date ) : string |
Форматирование даты сообщения для использования при построении поискового индекса
|
|
GetIndexDir ( ) : Lucene.Net.Store.Directory | ||
Search ( int forumID, string searchText, bool searchInText, bool searchInSubject, bool searchAuthor, bool searchInMyMessages, bool searchAnyWords, System.DateTime from, System.DateTime to ) : ICollection |
Поиск на основе ранее построенного индекса
|
public static CreateDocument ( [ info ) : Lucene.Net.Documents.Document | ||
info | [ | |
리턴 | Lucene.Net.Documents.Document |
public static CreateIndexWriter ( ) : |
||
리턴 |
public static ProcessResponseMessages ( IEnumerable |
||
messages | IEnumerable |
|
리턴 | int |
public static SearchMessagesByLucene ( IServiceProvider provider, int forumId, string searchText, bool searchInText, bool searchInSubject, bool searchAuthor, bool searchInMarked, bool searchInMyMessages, bool searchAnyWords, bool searchInQuestions, System.DateTime from, System.DateTime to ) : List |
||
provider | IServiceProvider | |
forumId | int | |
searchText | string | |
searchInText | bool | |
searchInSubject | bool | |
searchAuthor | bool | |
searchInMarked | bool | |
searchInMyMessages | bool | |
searchAnyWords | bool | |
searchInQuestions | bool | |
from | System.DateTime | |
to | System.DateTime | |
리턴 | List |