org.sakaiproject.search.component.service.impl
Class SearchResultResponseImpl
java.lang.Object
org.sakaiproject.search.component.service.impl.SearchResultResponseImpl
- All Implemented Interfaces:
- SearchResult
public class SearchResultResponseImpl
- extends Object
- implements SearchResult
- Author:
- ieb
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchResultResponseImpl
public SearchResultResponseImpl(Map<String,String> attributes,
org.apache.lucene.search.Query query,
org.apache.lucene.analysis.Analyzer analyzer,
SearchIndexBuilder searchIndexBuilder,
SearchService searchService)
throws IOException
- Throws:
IOException
SearchResultResponseImpl
public SearchResultResponseImpl(Attributes atts,
org.apache.lucene.search.Query query,
org.apache.lucene.analysis.Analyzer analyzer,
SearchIndexBuilder searchIndexBuilder,
SearchService searchService)
throws IOException
- Throws:
IOException
getScore
public float getScore()
- Specified by:
getScore in interface SearchResult
getId
public String getId()
- Specified by:
getId in interface SearchResult
getFieldNames
public String[] getFieldNames()
- Specified by:
getFieldNames in interface SearchResult
getValues
public String[] getValues(String fieldName)
- Specified by:
getValues in interface SearchResult
getValueMap
public Map<String,String[]> getValueMap()
-
- Specified by:
getValueMap in interface SearchResult
getUrl
public String getUrl()
- Specified by:
getUrl in interface SearchResult
getTitle
public String getTitle()
- Specified by:
getTitle in interface SearchResult
getTool
public String getTool()
- Specified by:
getTool in interface SearchResult
getIndex
public int getIndex()
- Specified by:
getIndex in interface SearchResult
getSearchResult
public String getSearchResult()
- Specified by:
getSearchResult in interface SearchResult
getReference
public String getReference()
- Specified by:
getReference in interface SearchResult
getTerms
public TermFrequency getTerms()
throws IOException
- Specified by:
getTerms in interface SearchResult
- Throws:
IOException
toXMLString
public void toXMLString(StringBuilder sb)
- Specified by:
toXMLString in interface SearchResult
getSiteId
public String getSiteId()
- Specified by:
getSiteId in interface SearchResult
isCensored
public boolean isCensored()
- Specified by:
isCensored in interface SearchResult
setUrl
public void setUrl(String newUrl)
- Specified by:
setUrl in interface SearchResult
hasPortalUrl
public boolean hasPortalUrl()
- Specified by:
hasPortalUrl in interface SearchResult
Copyright © 2003-2012 Sakai Project. All Rights Reserved.