| com.ecyrd.jspwiki.SearchResult
SearchResult | public interface SearchResult (Code) | | Defines a search result.
author: Janne Jalkanen |
Method Summary | |
public String[] | getContexts() Collection of XHTML fragments representing some contexts in which
the match was made (a.k.a., "snippets"). | public WikiPage | getPage() Return the page. | public int | getScore() Returns the score.
A positive score value. |
getContexts | public String[] getContexts()(Code) | | Collection of XHTML fragments representing some contexts in which
the match was made (a.k.a., "snippets").
the search results since: 2.4 |
getPage | public WikiPage getPage()(Code) | | Return the page.
the WikiPage object containing this result |
getScore | public int getScore()(Code) | | Returns the score.
A positive score value. Note that there is no upper limit for the score. |
|
|