public class SearchMatcher.SearchResultImpl extends java.lang.Object implements SearchResult
| Constructor and Description | 
|---|
| SearchResultImpl(java.lang.String name,
                int score)Create a new SearchResult with a given name and a score. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String[] | getContexts()Returns an empty array, since BasicSearchProvider does not support
  context matching. | 
| WikiPage | getPage()Returns Wikipage for this result. | 
| int | getScore()Returns a score for this match. | 
public SearchResultImpl(java.lang.String name,
                        int score)
name - Page Namescore - A score from 0+public WikiPage getPage()
getPage in interface SearchResultpublic int getScore()
getScore in interface SearchResultpublic java.lang.String[] getContexts()
getContexts in interface SearchResultstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.