public interface SearchResult
| Modifier and Type | Method and Description |
|---|---|
String[] |
getFieldNames()
All field names in the search record
|
String |
getId()
The result ID (entity id)
|
int |
getIndex()
get the index of the search entry over the whole change set
|
String |
getReference()
get the Sakai Entity Reference String
|
float |
getScore()
the result score
|
String |
getSearchResult()
get the search result content for display
|
String |
getSiteId() |
TermFrequency |
getTerms()
gets the term frequencies for this Document
|
String |
getTitle()
The title of the resource, usually including the type (eg Wiki Page,
Resource)
|
String |
getTool()
get the tool name that this search cam from
|
String |
getUrl()
An absolute URL to the resource (no host, protocol or port)
|
Map<String,String[]> |
getValueMap()
Get a map of values in the result
|
String[] |
getValues(String string)
All values in a search field
|
boolean |
hasPortalUrl()
This result has a ULR that displays within the portal
|
boolean |
isCensored()
Has this item been censored by a filter?
|
void |
setUrl(String newUrl)
Set the Url - needed for tols that generate portal urls
|
void |
toXMLString(StringBuilder sb) |
float getScore()
String getId()
String[] getFieldNames()
String[] getValues(String string)
string - String getUrl()
String getTitle()
int getIndex()
String getSearchResult()
String getReference()
TermFrequency getTerms() throws IOException
IOExceptionString getTool()
boolean isCensored()
String getSiteId()
void toXMLString(StringBuilder sb)
void setUrl(String newUrl)
newUrl - boolean hasPortalUrl()
Copyright © 2003-2016 Sakai Project. All Rights Reserved.