C# 클래스 ScrewTurn.Wiki.SearchTools

Implements tools for searching through the wiki.
파일 보기 프로젝트 열기: mono/ScrewTurnWiki 1 사용 예제들

공개 메소드들

메소드 설명
Search ( string query, bool fullText, bool searchFilesAndAttachments, SearchOptions options ) : SearchResultCollection

Performs a search in the wiki.

SearchSimilarPages ( string name, string nspace ) : System.PageInfo[]

Searches for pages with name or title similar to a specified value.

비공개 메소드들

메소드 설명
CombineCollections ( List collections ) : SearchResultCollection

Combines a set of T:SearchResultCollections into a single object.

DetectFileOrAttachment ( DumpedDocument doc ) : IDocument

Detects the document in a dumped instance for files and attachments.

TraverseDirectories ( InMemoryIndexBase index, IFilesStorageProviderV30 provider, string currentDir ) : void

Traverses a directory tree, indexing all files.

메소드 상세

Search() 공개 정적인 메소드

Performs a search in the wiki.
public static Search ( string query, bool fullText, bool searchFilesAndAttachments, SearchOptions options ) : SearchResultCollection
query string The search query.
fullText bool A value indicating whether to perform a full-text search.
searchFilesAndAttachments bool A value indicating whether to search through files and attachments.
options SearchOptions The search options.
리턴 SearchResultCollection

SearchSimilarPages() 공개 정적인 메소드

Searches for pages with name or title similar to a specified value.
public static SearchSimilarPages ( string name, string nspace ) : System.PageInfo[]
name string The name to look for (null for the root).
nspace string The namespace to search into.
리턴 System.PageInfo[]