com.ecyrd.jspwiki
Interface SearchResult

All Known Implementing Classes:
SearchMatcher.SearchResultImpl

public interface SearchResult


Method Summary
 String[] getContexts()
          Collection of XHTML fragments representing some contexts in which the match was made (a.k.a., "snippets").
 WikiPage getPage()
          Return the page.
 int getScore()
          Returns the score.
 

Method Detail

getPage

WikiPage getPage()
Return the page.


getScore

int getScore()
Returns the score.


getContexts

String[] getContexts()
Collection of XHTML fragments representing some contexts in which the match was made (a.k.a., "snippets").

Returns:
the search results
Since:
2.4